Skip to content
Snippets Groups Projects
Commit 286243df authored by Andreas Hamacher's avatar Andreas Hamacher
Browse files

the clean stage is now part of the extended pipeline

parent 3c5da4d6
No related branches found
No related tags found
3 merge requests!297Cicd merge back,!284Cicd,!282CICD
......@@ -7,14 +7,15 @@ stages:
# - integration_test_downstream # working but unwanted here
# - trigger_pipeline_in_B # working but unwanted here
- lint
- clean # only on master
- extended
- heat
- ansible_create_cluster_stage
- push_button_spawn_cluster
# - e2e
- tests
- extended
- clean # only on master
#trigger_pipeline_in_B:
# stage: integration_test_downstream
# tags:
......@@ -195,11 +196,12 @@ clean:
tags:
- heat
before_script:
- echo "cleanup master"
- echo "cleanup stack"
- sleep 30
- echo "$GC_KEY" > gc_key.pem
- chmod 400 gc_key.pem
- echo "$HPCCICD_openrc" > ./$NECTAR_ALLOCATION-openrc.sh
script:
- source ./$NECTAR_ALLOCATION-openrc.sh
- bash -x ./heat/heatcicdwrapper.sh delete_if_exists $STACKNAME
- bash -x ./CICD/heat/heatcicdwrapper.sh delete_if_exists $STACKNAME
only:
variables:
- $EXTENDED != null
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment