Commit 98852c18 authored by Maiken's avatar Maiken

Explicitly pull the deploy images in order to get the newest version from docker hub

parent f5f34fb4
......@@ -256,6 +256,7 @@ deploy_staging_deb9:
- ls -lhrt /arc-logs
- gitlab_container=$(docker ps | awk 'FNR==2' | awk '{print $NF}')
- deploy_container=deb9_`date +%Y%m%dT%H%M`
- docker pull maikenp/arc-deploy-debian9
- docker run --name=$deploy_container --volumes-from $gitlab_container --privileged -v "/arc-testlogs:/arc-testlogs:rw" -v "/arc-logs:/arc-logs:rw" --publish 443 --publish 2811 --publish 9000-9002 --publish 9000-9002/udp --rm maikenp/arc-deploy-debian9
- echo "*************>> Done - back from inner container"
- ls -lhrt /arc-logs
......@@ -291,6 +292,7 @@ deploy_staging_el6:
- ls -lhrt /arc-logs
- gitlab_container=$(docker ps | awk 'FNR==2' | awk '{print $NF}')
- deploy_container=el6_`date +%Y%m%dT%H%M`
- docker pull maikenp/arc-deploy-centos6
- docker run --name=$deploy_container --volumes-from $gitlab_container --privileged -v "/rpmbuild:/rpmbuild:rw" -v "/arc-testlogs:/arc-testlogs:rw" -v "/arc-logs:/arc-logs:rw" --publish 443 --publish 2811 --publish 9000-9002 --publish 9000-9002/udp --rm maikenp/arc-deploy-centos6
- echo "*************>> Done - back from inner container"
- ls -lhrt /arc-logs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment