Skip to content
Snippets Groups Projects
Commit 948ef612 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

test: run molecule destroy even if CI job fails

parent 73b08844
No related branches found
No related tags found
No related merge requests found
Pipeline #6664 canceled
...@@ -19,6 +19,10 @@ default: ...@@ -19,6 +19,10 @@ default:
- tree - tree
- rm -rf ../ansible_vaults/ - rm -rf ../ansible_vaults/
- git clone https://gitlab+deploy-token-25:${VAULT_ACCESS_TOKEN}@git.slub-dresden.de/slub-referat-2-3/ansible_vaults.git ../ansible_vaults/; - git clone https://gitlab+deploy-token-25:${VAULT_ACCESS_TOKEN}@git.slub-dresden.de/slub-referat-2-3/ansible_vaults.git ../ansible_vaults/;
after_script:
- source /opt/molecule/bin/activate
- molecule destroy --scenario-name ${SCENARIO}
variables: variables:
SCENARIO: "default" SCENARIO: "default"
# ANSIBLE_VAULT_PASSWORD_FILE: "molecule/lza_server_hardening.pass" # ANSIBLE_VAULT_PASSWORD_FILE: "molecule/lza_server_hardening.pass"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment