0.1.0-DEV-20200321-001717

-------------------------
    * REMOVE:
      - removed manual cloning of ssl certs - ansible role is maanging ssl cert deployment

    * ADD:
      - added support for concurrent job running for check versions and lint play/role
This commit is contained in:
Chris Hammer 2020-03-21 00:18:13 -04:00
parent 3d8fab2d2c
commit f3ba2f526b

View File

@ -20,8 +20,7 @@ variables:
stages: stages:
- check_versions - check_and_lint
- lint_playbook
- test_deploy - test_deploy
@ -38,7 +37,7 @@ stages:
.check_version_template: &check_version_template .check_version_template: &check_version_template
<<: *tags_template <<: *tags_template
stage: check_versions stage: check_and_lint
script: script:
- /bin/hostname - /bin/hostname
- chmod 755 ${ANSIBLE_PLAY_PATH} - chmod 755 ${ANSIBLE_PLAY_PATH}
@ -49,7 +48,7 @@ stages:
.lint_playbook_template: &lint_playbook_template .lint_playbook_template: &lint_playbook_template
<<: *tags_template <<: *tags_template
stage: lint_playbook stage: check_and_lint
script: script:
- chmod 755 ${ANSIBLE_PLAY_PATH} - chmod 755 ${ANSIBLE_PLAY_PATH}
- ansible-lint -v ${ANSIBLE_PLAY_PATH}/*.yml - ansible-lint -v ${ANSIBLE_PLAY_PATH}/*.yml
@ -64,7 +63,6 @@ stages:
- ls -ltr - ls -ltr
- ansible-galaxy install -r roles/requirements.yml - ansible-galaxy install -r roles/requirements.yml
- ansible-playbook -v -i '127.0.0.1,' --connection=local ${ANSIBLE_EXTRA_VARS} ${ANSIBLE_PLAY} - ansible-playbook -v -i '127.0.0.1,' --connection=local ${ANSIBLE_EXTRA_VARS} ${ANSIBLE_PLAY}
- git clone git@gitlab.thezengarden.net:zen/le-ssl-certs.git /etc/nginx/ssl
- /bin/ls -l /etc/nginx/conf.d - /bin/ls -l /etc/nginx/conf.d
- /bin/ls -l /etc/nginx/ssl/* - /bin/ls -l /etc/nginx/ssl/*
- /usr/sbin/nginx -c /etc/nginx/nginx.conf -t - /usr/sbin/nginx -c /etc/nginx/nginx.conf -t