Commit 2cc4470c authored by hashworks's avatar hashworks

CI: Fix ansible stages

parent f5883a02
Pipeline #98 failed with stages
in 1 minute and 17 seconds
......@@ -49,7 +49,6 @@ buildAndTest:
- .go
.ansible: # Template
stage: deploy
image:
name: mullnerz/ansible-playbook:latest
entrypoint: [""]
......@@ -62,6 +61,7 @@ buildAndTest:
- tags
deploy:
stage: deploy
extends: .ansible
script:
- ansible-playbook --private-key=ansible.key -i deployment/inventories/staging deployment/deploy.yml
......@@ -87,6 +87,7 @@ selenium:
- acceptionTest.png
restore:
stage: restore
extends: .ansible
script:
- test -f acceptionTest.html || exit 0
......
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