Skip to content
Snippets Groups Projects
Commit da0ef77d authored by Ravi Tripathi's avatar Ravi Tripathi
Browse files

Merge branch 'fix-pipeline-job-status' into 'master'

Failed the pipeline job if it failed

See merge request !11
parents f5c2b124 4b27aa5c
No related branches found
No related tags found
1 merge request!11Failed the pipeline job if it failed
Pipeline #8486 failed with stages
in 2 minutes and 50 seconds
...@@ -57,7 +57,7 @@ tf-apply: ...@@ -57,7 +57,7 @@ tf-apply:
echo "image_ohpc defined as ${TF_VAR_image_ohpc}" echo "image_ohpc defined as ${TF_VAR_image_ohpc}"
fi fi
- export TF_VAR_keypair_name="os-gen-keypair-$BUILD_DATE" - export TF_VAR_keypair_name="os-gen-keypair-$BUILD_DATE"
- terraform apply -auto-approve || terraform destroy -auto-approve - terraform apply -auto-approve || terraform destroy -auto-approve && false
clean-up: clean-up:
stage: cleanup stage: cleanup
......
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