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

Merge branch 'pipelinecleanup' into 'master'

Pipelinecleanup

See merge request !391
parents 4c647139 e32ff45a
No related branches found
No related tags found
1 merge request!391Pipelinecleanup
...@@ -16,6 +16,7 @@ stages: ...@@ -16,6 +16,7 @@ stages:
- integration_test #https://docs.gitlab.com/ee/ci/triggers/ - integration_test #https://docs.gitlab.com/ee/ci/triggers/
- clean - clean
- testlustre - testlustre
- clean_testlustre
trigger_pipeline_in_Clusterbuild: trigger_pipeline_in_Clusterbuild:
...@@ -103,6 +104,18 @@ testlustre: ...@@ -103,6 +104,18 @@ testlustre:
after_script: after_script:
- sleep 60 # the cluster needs to delete first - sleep 60 # the cluster needs to delete first
clean_testlustre:
stage: clean_testlustre
tags:
- heat
before_script:
- echo "cleanup stack"
- sleep 30
- echo "$HPCCICD_openrc" > ./$NECTAR_ALLOCATION-openrc.sh
script:
- source ./$NECTAR_ALLOCATION-openrc.sh
- bash -x ./CICD/heat/heatcicdwrapper.sh delete_if_exists $STACKNAME
build_cluster_cicd: build_cluster_cicd:
stage: heat stage: heat
allow_failure: false allow_failure: false
...@@ -178,7 +191,7 @@ tests: ...@@ -178,7 +191,7 @@ tests:
- ansible -B 30 -i files/inventory.$STACKNAME --key-file ../gc_key.pem -a "systemctl is-active --quiet mariadb" SQLNodes - ansible -B 30 -i files/inventory.$STACKNAME --key-file ../gc_key.pem -a "systemctl is-active --quiet mariadb" SQLNodes
- ansible -B 30 -i files/inventory.$STACKNAME --key-file ../gc_key.pem -a "systemctl is-active --quiet slurmctld" ManagementNodes - ansible -B 30 -i files/inventory.$STACKNAME --key-file ../gc_key.pem -a "systemctl is-active --quiet slurmctld" ManagementNodes
- ansible -B 30 -i files/inventory.$STACKNAME --key-file ../gc_key.pem -a "systemctl is-active --quiet slurmdbd" ManagementNodes - ansible -B 30 -i files/inventory.$STACKNAME --key-file ../gc_key.pem -a "systemctl is-active --quiet slurmdbd" ManagementNodes
- bash -e ./tests/run_tests.sh all "files/inventory.$STACKNAME" "../gc_key.pem" - bash -e ./tests/run_tests.sh all "files/inventory.$STACKNAME" "../gc_key.pem"
- bash -e ./tests/run_tests.sh ComputeNodes "files/inventory.$STACKNAME" "../gc_key.pem" - bash -e ./tests/run_tests.sh ComputeNodes "files/inventory.$STACKNAME" "../gc_key.pem"
- bash -e ./tests/run_tests.sh LoginNodes "files/inventory.$STACKNAME" "../gc_key.pem" - bash -e ./tests/run_tests.sh LoginNodes "files/inventory.$STACKNAME" "../gc_key.pem"
......
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