Bugfix: fix connect docker ce repo timeout.
This commit is contained in:
@@ -14,6 +14,7 @@ stages:
|
||||
.build_tsg-buildimage:
|
||||
script:
|
||||
- env | sort
|
||||
- sed -i 's+https://download.docker.com+https://mirrors.tuna.tsinghua.edu.cn/docker-ce+' /etc/yum.repos.d/docker-ce.repo
|
||||
- yum -y install pbzip2 ansible
|
||||
- make DALIY_BUILD_VERSION=$DALIY_BUILD_VERSION
|
||||
- chmod +x ./tools/upload.sh
|
||||
@@ -24,6 +25,7 @@ stages:
|
||||
.build_onie_bin_x86_64_COTS:
|
||||
script:
|
||||
- env | sort
|
||||
- sed -i 's+https://download.docker.com+https://mirrors.tuna.tsinghua.edu.cn/docker-ce+' /etc/yum.repos.d/docker-ce.repo
|
||||
- yum -y install pbzip2 python39
|
||||
- python3.9 -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple ansible
|
||||
- make DALIY_BUILD_VERSION=$DALIY_BUILD_VERSION
|
||||
@@ -35,6 +37,7 @@ stages:
|
||||
.build_container_images_x86_64_COTS:
|
||||
script:
|
||||
- env | sort
|
||||
- sed -i 's+https://download.docker.com+https://mirrors.tuna.tsinghua.edu.cn/docker-ce+' /etc/yum.repos.d/docker-ce.repo
|
||||
- yum -y remove docker-ce
|
||||
- yum -y install pbzip2 buildah podman python39
|
||||
- python3.9 -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple ansible
|
||||
@@ -61,6 +64,7 @@ stages:
|
||||
paths:
|
||||
- images/
|
||||
script:
|
||||
- sed -i 's+https://download.docker.com+https://mirrors.tuna.tsinghua.edu.cn/docker-ce+' /etc/yum.repos.d/docker-ce.repo
|
||||
- yum install -y qemu-img qemu-kvm telnet net-tools procps-ng httpd
|
||||
- find / -name images
|
||||
- ls -lh
|
||||
|
||||
Reference in New Issue
Block a user