Skip to content
Snippets Groups Projects
Commit f13fd21d authored by thijsheijden's avatar thijsheijden
Browse files

Added pod deletion to CI/CD

parent ac74bcf9
No related branches found
No related tags found
No related merge requests found
......@@ -110,6 +110,8 @@ integration-tests:
- echo $output
# Count the number of occurences of the word FAIL in the output, if this is 1 then the test has failed
- count=$(echo $output | grep -c "FAIL")
# Delete pod
- ssh -p 1234 -i ~/.ssh/id_rsa root@localhost "kubectl delete -f /root/kubernetes/integration/integrating-pod/pod.yml"
- if [[ $count = 1 ]]; then exit 1; else exit 0; fi
dependencies:
- build
......
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