Skip to content
Snippets Groups Projects
Commit 179ff349 authored by MJB's avatar MJB
Browse files

on_failure to clean up

parent 3f9370e0
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@ stages:
build:tests:
stage: build
script:
- echo $BUILD_REF
- echo "$BUILD_REF" > clmctest/git-commit-ref
- python setup.py sdist --dist-dir=build
artifacts:
......@@ -19,6 +20,8 @@ build:tests:
test:
stage: test
dependencies:
- build
script:
- vagrant --fixture=scripts -- up
- vagrant --fixture=scripts -- ssh test-runner -- -tt "pip3 install /vagrant/build/$TEST_PACKAGE_NAME"
......@@ -27,7 +30,7 @@ test:
- vagrant --fixture=monitoring -- ssh test-runner -- -tt "pytest -s --pyargs clmctest.monitoring"
- vagrant --fixture=inputs -- up
- vagrant --fixture=scripts -- ssh test-runner -- -tt "pytest -s --pyargs clmctest.inputs"
when: on_success
when: manual
clean:
stage: clean
......
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