[why] for locally deploy compass-ci, if their host can't access internet, we provider service for them to download docker images cgz file, then they no need to build images by themselves.
usage: wget http://api.compass-ci.openeuler.org:$%7BSRV_HTTP_PORT%7D/initrd/dockerimage/...
Signed-off-by: Liu Yinsi liuyinsi@163.com --- container/srv-http/start | 1 + 1 file changed, 1 insertion(+)
diff --git a/container/srv-http/start b/container/srv-http/start index 945cde0..fa56fca 100755 --- a/container/srv-http/start +++ b/container/srv-http/start @@ -14,6 +14,7 @@ cmd=( -v /etc/localtime:/etc/localtime:ro -v /srv/result:/srv/result:ro -v /srv/initrd/qemu-image:/srv/initrd/qemu-image:ro + -v /srv/initrd/dockerimage:/srv/initrd/dockerimage:ro -v /srv/os:/srv/os:ro -v /srv/git/archlinux:/srv/git/archlinux:ro -v /srv/cci/libvirt-xml:/srv/cci/libvirt-xml:ro
Reviewed-by: Wang Chenglong 18509160991@163.com
On Mon, Feb 01, 2021 at 11:54:45AM +0800, Liu Yinsi wrote:
[why] for locally deploy compass-ci, if their host can't access internet, we provider service for them to download docker images cgz file, then they no need to build images by themselves.
usage: wget http://api.compass-ci.openeuler.org:$%7BSRV_HTTP_PORT%7D/initrd/dockerimage/...
Signed-off-by: Liu Yinsi liuyinsi@163.com
container/srv-http/start | 1 + 1 file changed, 1 insertion(+)
diff --git a/container/srv-http/start b/container/srv-http/start index 945cde0..fa56fca 100755 --- a/container/srv-http/start +++ b/container/srv-http/start @@ -14,6 +14,7 @@ cmd=( -v /etc/localtime:/etc/localtime:ro -v /srv/result:/srv/result:ro -v /srv/initrd/qemu-image:/srv/initrd/qemu-image:ro
- -v /srv/initrd/dockerimage:/srv/initrd/dockerimage:ro -v /srv/os:/srv/os:ro -v /srv/git/archlinux:/srv/git/archlinux:ro -v /srv/cci/libvirt-xml:/srv/cci/libvirt-xml:ro
-- 2.23.0