Skip to content
Snippets Groups Projects
Commit 29208b97 authored by MJB's avatar MJB
Browse files

on_failure to clean up

parent e2624704
No related branches found
No related tags found
No related merge requests found
stages:
- build
- test
- clean
build:tests:
stage: build
......@@ -24,14 +23,8 @@ test:all:
- vagrant --fixture=monitoring -- ssh test-runner -- -tt "pytest -s --pyargs clmctest.monitoring"
- vagrant --fixture=inputs -- up
- vagrant --fixture=inputs -- ssh test-runner -- -tt "pytest -s --pyargs clmctest.inputs"
when: on_success
clean:
stage: clean
dependencies:
- test:all
script:
after_script:
- vagrant --fixture=inputs -- destroy --force
- vagrant --fixture=monitoring -- destroy --force
- vagrant --fixture=scripts -- destroy --force
when: always
\ No newline at end of file
when: on_success
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment