Commit 01920799 authored by Maiken's avatar Maiken

Update .gitlab-ci.yml

parent b479a5d4
Pipeline #5330 passed with stage
in 16 seconds
......@@ -8,8 +8,8 @@ stages:
variables:
DOCKER_RUN_W_RPMBUILD: docker run -v "rpmbuild:/rpmbuild:rw" -v "/arc-testfiles:/arc-testfiles:rw" -v "/arc-testlogs:/arc-testlogs:rw" -v "/arc-logs:/arc-logs:rw" --publish 443:443 --publish 2811:2811 --publish 9000-9100:9000-9100 --publish 9000-9100:9000-9100/udp --rm maikenp/arc-deploy-centos7
DOCKER_RUN_WO_RPMBUILD: docker run -v "/arc-testfiles:/arc-testfiles:rw" -v "/arc-testlogs:/arc-testlogs:rw" -v "/arc-logs:/arc-logs:rw" --publish 443:443 --publish 2811:2811 --publish 9000-9100:9000-9100 --publish 9000-9100:9000-9100/udp --rm maikenp/arc-deploy-centos7
DOCKER_RUN_W_RPMBUILD: "docker run -v 'rpmbuild:/rpmbuild:rw' -v '/arc-testfiles:/arc-testfiles:rw' -v '/arc-testlogs:/arc-testlogs:rw' -v '/arc-logs:/arc-logs:rw' --publish 443:443 --publish 2811:2811 --publish 9000-9100:9000-9100 --publish 9000-9100:9000-9100/udp --rm maikenp/arc-deploy-centos7"
DOCKER_RUN_WO_RPMBUILD: "docker run -v '/arc-testfiles:/arc-testfiles:rw' -v '/arc-testlogs:/arc-testlogs:rw' -v '/arc-logs:/arc-logs:rw' --publish 443:443 --publish 2811:2811 --publish 9000-9100:9000-9100 --publish 9000-9100:9000-9100/udp --rm maikenp/arc-deploy-centos7"
deploy_staging_centos7:
......@@ -20,7 +20,7 @@ deploy_staging_centos7:
- ls -lhrt
- export DOCKER_API_VERSION=1.19
- docker pull maikenp/arc-deploy-centos7
- if [ -d "rpmbuild" ]; then exec "$DOCKER_RUN_W_RPMBUILD"; else exec "$DOCKER_RUN_WO_RPMBUILD"; fi;
- if [ -d "rpmbuild" ]; then exec $DOCKER_RUN_W_RPMBUILD; else exec $DOCKER_RUN_WO_RPMBUILD; fi;
- echo "*************>> Done - back from inner container"
- ls -lhrt /arc-logs
- cp -r /arc-logs $CI_PROJECT_DIR
......
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