diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 036667cfbca411729ff68e2ca7a49362db2ef76b..ffde9596ecf89432c09f0868db73ce38b74c5ec4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,6 +8,7 @@ stages: # List of stages for jobs, and their order of execution - test default: + interruptible: true before_script: - source /opt/molecule/bin/activate - ansible --version @@ -23,6 +24,10 @@ default: - source /opt/molecule/bin/activate - molecule destroy --scenario-name ${SCENARIO} +workflow: + auto_cancel: + on_new_commit: interruptible + variables: SCENARIO: "default" # ANSIBLE_VAULT_PASSWORD_FILE: "molecule/lza_server_hardening.pass"