From 081c912fbb348b9c1c19e4db57e39b48dfa81362 Mon Sep 17 00:00:00 2001 From: MJB <mjb@it-innovation.soton.ac.uk> Date: Mon, 26 Mar 2018 22:45:59 +0100 Subject: [PATCH] commit ref name test --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cdda77a..f2c3e60 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,7 +20,7 @@ test: stage: test script: - vagrant --fixture=scripts -- up - - vagrant --fixture=scripts -- ssh test-runner -- -tt "pip3 install /vagrant/build/clmctest-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHA.tar.gz" + - vagrant --fixture=scripts -- ssh test-runner -- -tt "pip3 install /vagrant/build/$TEST_PACKAGE_NAME" - vagrant --fixture=scripts -- ssh test-runner -- -tt "pytest -s --pyargs clmctest.scripts" - vagrant --fixture=monitoring -- up - vagrant --fixture=scripts -- ssh test-runner -- -tt "pytest -s --pyargs clmctest.monitoring" @@ -30,6 +30,7 @@ test: - vagrant --fixture=inputs -- destroy --force - vagrant --fixture=monitoring -- destroy --force - vagrant --fixture=scripts -- destroy --force - when: manual + - vagrant --fixture=scripts -- ssh test-runner -- -tt "pip3 -y uninstall clmctest" + when: on_success \ No newline at end of file -- GitLab