To support more than one upstream repos warehouse
Signed-off-by: Li Yuanchao lyc163mail@163.com --- sbin/upstream-config | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 sbin/upstream-config
diff --git a/sbin/upstream-config b/sbin/upstream-config new file mode 100644 index 0000000..e3b167a --- /dev/null +++ b/sbin/upstream-config @@ -0,0 +1,10 @@ +--- +upstreams: +- url: https://gitee.com/wu_fengguang/upstream-repos.git + location: upstream +- url: https://gitee.com/wu_fengguang/ansible-repos.git + location: ansible +- url: https://gitee.com/wu_fengguang/dockerfile-repos.git + location: dockerfile +- url: https://gitee.com/wu_fengguang/pkgbuild-repos.git + location: pkgbuild
On Fri, Feb 26, 2021 at 05:33:41PM +0800, Li Yuanchao wrote:
To support more than one upstream repos warehouse
Signed-off-by: Li Yuanchao lyc163mail@163.com
sbin/upstream-config | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 sbin/upstream-config
diff --git a/sbin/upstream-config b/sbin/upstream-config new file mode 100644 index 0000000..e3b167a --- /dev/null +++ b/sbin/upstream-config
Better not put config file in sbin/
Actually it should not be in compass-ci. Different labs may want to config different upstreams. That's why we want to make it a config file.
Thanks, Fengguang
@@ -0,0 +1,10 @@ +--- +upstreams: +- url: https://gitee.com/wu_fengguang/upstream-repos.git
- location: upstream
+- url: https://gitee.com/wu_fengguang/ansible-repos.git
- location: ansible
+- url: https://gitee.com/wu_fengguang/dockerfile-repos.git
- location: dockerfile
+- url: https://gitee.com/wu_fengguang/pkgbuild-repos.git
- location: pkgbuild
-- 2.23.0
On Sat, Feb 27, 2021 at 05:10:55PM +0800, Wu Fengguang wrote:
On Fri, Feb 26, 2021 at 05:33:41PM +0800, Li Yuanchao wrote:
To support more than one upstream repos warehouse
Signed-off-by: Li Yuanchao lyc163mail@163.com
sbin/upstream-config | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 sbin/upstream-config
diff --git a/sbin/upstream-config b/sbin/upstream-config new file mode 100644 index 0000000..e3b167a --- /dev/null +++ b/sbin/upstream-config
Better not put config file in sbin/
Actually it should not be in compass-ci. Different labs may want to config different upstreams. That's why we want to make it a config file.
ok. Then put it in '/etc/compass-ci/defaults'?
Thanks, Yuanchao
On Mon, Mar 01, 2021 at 04:29:45PM +0800, Li Yuanchao wrote:
On Sat, Feb 27, 2021 at 05:10:55PM +0800, Wu Fengguang wrote:
On Fri, Feb 26, 2021 at 05:33:41PM +0800, Li Yuanchao wrote:
To support more than one upstream repos warehouse
Signed-off-by: Li Yuanchao lyc163mail@163.com
sbin/upstream-config | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 sbin/upstream-config
diff --git a/sbin/upstream-config b/sbin/upstream-config new file mode 100644 index 0000000..e3b167a --- /dev/null +++ b/sbin/upstream-config
Better not put config file in sbin/
Actually it should not be in compass-ci. Different labs may want to config different upstreams. That's why we want to make it a config file.
ok. Then put it in '/etc/compass-ci/defaults'?
defaults/* is for things including into jobs.
You may use another dir/file under /etc/compass-ci/
Thanks, Fengguang