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

changing stage order to only run testlustre after sucessfull pipeline

parent 1ba55d37
No related branches found
No related tags found
1 merge request!335Version pinning and enableing the upgrade role to run at all times
......@@ -7,7 +7,6 @@ variables:
stages:
- lint
- testlustre
- extended
#- heat_test
- heat
......@@ -16,6 +15,7 @@ stages:
- tests
- integration_test #https://docs.gitlab.com/ee/ci/triggers/
- clean
- testlustre
trigger_pipeline_in_Clusterbuild:
......@@ -146,7 +146,7 @@ ansible_create_cluster_stage:
- ansible-playbook -i files/inventory.$STACKNAME --key-file ../../gc_key.pem --skip-tags monitoring computenodes.yml | tee nochange.log
- echo [ `grep changed= ./nochange.log -c` = `grep changed=0 ./nochange.log -c` ] > bashtest.sh # a crude way to make sure all changed lines are equal to changed=0
- bash ./bashtest.sh
- ansible-playbook -i files/inventory.$STACKNAME --key-file ../../gc_key.pem --skip-tags monitoring --check computenodes.yml
- ansible-playbook -i files/inventory.$STACKNAME --key-file ../../gc_key.pem --skip-tags monitoring --check computenodes.yml
tests:
stage: tests
......@@ -173,7 +173,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 slurmctld" 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 ComputeNodes "files/inventory.$STACKNAME" "../gc_key.pem"
......@@ -184,7 +184,7 @@ tests:
- bash -e ./tests/run_tests.sh slurm "files/inventory.$STACKNAME" "../gc_key.pem"
- ansible -i files/inventory.$STACKNAME --key-file ../gc_key.pem -a 'sudo su - user1 -c whoami' LoginNodes,ComputeNodes # to test ldap
#- sshpass -p 'redhat' ssh -o StrictHostKeyChecking=no user1@server.example.com
extended:
stage: extended
tags:
......
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