Skip to content
Snippets Groups Projects
Commit 9a6742ee authored by Ana Aviles's avatar Ana Aviles
Browse files

Fix command

parent ff36687c
No related branches found
No related tags found
No related merge requests found
......@@ -105,5 +105,6 @@ terminate:
script:
# Remove droplet after successful tests
- cd test/
- python3 -c "import cosmos; cosmos.terminate_droplets_by_name(\"^ci-${CI_PIPELINE_ID}\$\", 3)"
- echo "$CI_COMMIT_MESSAGE" | grep '!ci_dont_terminate' && echo 'Termination of droplet disabled in commit message.' || python3 -u ./ci-bootstrap.py --use-existing-inventory --terminate
# Remove droplet older than 3 days
- python3 -c "import cosmos; cosmos.terminate_droplets_by_name(\"^ci-\", 3)"
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