0.1.10-DEV-20191107-142539
-------------------------- * CI: - verify_deployment stage has been merged with test_deploy stage; we must not forget that docker runs are *clean* :)
This commit is contained in:
parent
39e9a51b81
commit
ff5c73b343
@ -23,7 +23,6 @@ stages:
|
||||
- check_versions
|
||||
- lint_playbook
|
||||
- test_deploy
|
||||
- verify_deployment
|
||||
|
||||
|
||||
### BEGIN TEMPLATES ###
|
||||
@ -66,14 +65,6 @@ stages:
|
||||
script:
|
||||
- cp -av ${ANSIBLE_ROLE_PATH} /etc/ansible/roles/${ANSIBLE_ROLE}
|
||||
- ansible-playbook -v --connection=local ${ANSIBLE_EXTRA_VARS} tests/test.yml
|
||||
|
||||
|
||||
.verify_nginx_deployment: &verify_nginx_deployment
|
||||
<<: *tags_template
|
||||
stage: verify_deployment
|
||||
only:
|
||||
- development
|
||||
script:
|
||||
- /usr/bin/find /etc/nginx/conf.d
|
||||
- /usr/bin/find /etc/nginx/ssl | /bin/grep -vi git
|
||||
- /usr/sbin/nginx -c /etc/nginx/nginx.conf -t
|
||||
@ -94,9 +85,4 @@ Lint Playbook:
|
||||
Test Deploy:
|
||||
<<: *zen_ci_deb_template
|
||||
<<: *test_deploy_template
|
||||
|
||||
|
||||
Verify Deployment:
|
||||
<<: *zen_ci_deb_template
|
||||
<<: *verify_nginx_deployment
|
||||
### END JOBS ###
|
||||
|
Loading…
x
Reference in New Issue
Block a user