From 2a86f21c23aba3df64eba132a834612b532896ce Mon Sep 17 00:00:00 2001 From: Michael Boniface <mjb@it-innovation.soton.ac.uk> Date: Sat, 2 Jun 2018 22:24:37 +0100 Subject: [PATCH] sudo updates --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d2c2759..1ac6c61 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,8 +49,10 @@ test:all: - echo "REPO_USER=${REPO_USER}" > $CI_PROJECT_DIR/reporc - echo "REPO_PASS=${REPO_PASS}" >> $CI_PROJECT_DIR/reporc - sudo scripts/test/fixture.sh create -f src/test/clmctest/rspec.json -r $CI_PROJECT_DIR - - sudo lxc-attach -n test-runner -- pip3 install $CI_PROJECT_DIR//build/clmctest-SNAPSHOT.tar.gz - - sudo lxc-attach -n test-runner -- pip3 install $CI_PROJECT_DIR/clmcservice-SNAPSHOT.tar.gz + - sudo lxc-attach -n test-runner -- cd /vagrant/src/test && python setup.py sdist --dist-dir=/vagrant/build + - sudo lxc-attach -n test-runner -- cd /vagrant/src/service && python setup.py sdist --dist-dir=/vagrant/build + - sudo lxc-attach -n test-runner -- pip3 install /vagrant/build/clmctest-SNAPSHOT.tar.gz + - sudo lxc-attach -n test-runner -- pip3 install /vagrant/clmcservice-SNAPSHOT.tar.gz - sudo lxc-attach -n test-runner -- pytest -s --pyargs clmctest.scripts - sudo lxc-attach -n test-runner -- pytest -s --pyargs clmcservice.tests - sudo lxc-attach -n test-runner -- pytest -s --pyargs clmctest.inputs -- GitLab