Skip to content
Snippets Groups Projects
Commit fc74942d authored by Michael Boniface's avatar Michael Boniface
Browse files

sudo updates

parent e265f788
No related branches found
No related tags found
No related merge requests found
......@@ -48,14 +48,13 @@ test:all:
script:
- echo "REPO_USER=${REPO_USER}" > $CI_PROJECT_DIR/reporc
- echo "REPO_PASS=${REPO_PASS}" >> $CI_PROJECT_DIR/reporc
- sudo su
- scripts/test/fixture.sh create -f src/test/clmctest/rspec.json -r $CI_PROJECT_DIR
- lxc-attach -n test-runner -- pip3 install $CI_PROJECT_DIR//build/clmctest-SNAPSHOT.tar.gz
- lxc-attach -n test-runner -- pip3 install $CI_PROJECT_DIR/clmcservice-SNAPSHOT.tar.gz
- lxc-attach -n test-runner -- pytest -s --pyargs clmctest.scripts
- lxc-attach -n test-runner -- pytest -s --pyargs clmcservice.tests
- lxc-attach -n test-runner -- pytest -s --pyargs clmctest.inputs
- lxc-attach -n test-runner -- pytest -s --pyargs clmctest.monitoring
- 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 -- 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
- sudo lxc-attach -n test-runner -- pytest -s --pyargs clmctest.monitoring
when: on_success
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