From 72915ee83c8162447c0c6aca8e6f682cd05468b2 Mon Sep 17 00:00:00 2001 From: MJB <mjb@it-innovation.soton.ac.uk> Date: Tue, 27 Mar 2018 09:45:13 +0100 Subject: [PATCH] on_failure to clean up --- .gitlab-ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 82a6137..6c137d4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,7 +9,6 @@ stages: build:tests: stage: build script: - - echo $BUILD_REF - echo "$CI_COMMIT_REF_NAME-$CI_COMMIT_SHA" > clmctest/git-commit-ref - python setup.py sdist --dist-dir=build artifacts: @@ -19,8 +18,6 @@ build:tests: test: stage: test - dependencies: - - build:tests script: - vagrant --fixture=scripts -- up - vagrant --fixture=scripts -- ssh test-runner -- -tt "pip3 install /vagrant/build/$TEST_PACKAGE_NAME" @@ -29,7 +26,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: manual + when: on_success clean: stage: clean -- GitLab