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

Update .gitlab-ci.yml

parent e6015c15
No related branches found
No related tags found
No related merge requests found
...@@ -35,8 +35,8 @@ build:tests: ...@@ -35,8 +35,8 @@ build:tests:
- python setup.py sdist --dist-dir=$CI_PROJECT_DIR/build - python setup.py sdist --dist-dir=$CI_PROJECT_DIR/build
artifacts: artifacts:
paths: paths:
- build/clmctest-1.4.0.tar.gz - build/clmctest-2.0.0.tar.gz
- build/clmcservice-1.4.0.tar.gz - build/clmcservice-2.0.0.tar.gz
expire_in: 1 day expire_in: 1 day
test:all: test:all:
...@@ -50,10 +50,10 @@ test:all: ...@@ -50,10 +50,10 @@ test:all:
- echo "REPO_PASS=${REPO_PASS}" >> $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 -c all - sudo scripts/test/fixture.sh create -f src/test/clmctest/rspec.json -r $CI_PROJECT_DIR -c all
- sudo mkdir /var/lib/lxd/containers/test-runner/rootfs/opt/clmc/build - sudo mkdir /var/lib/lxd/containers/test-runner/rootfs/opt/clmc/build
- sudo cp build/clmctest-1.4.0.tar.gz /var/lib/lxd/containers/test-runner/rootfs/opt/clmc/build - sudo cp build/clmctest-2.0.0.tar.gz /var/lib/lxd/containers/test-runner/rootfs/opt/clmc/build
- sudo cp build/clmcservice-1.4.0.tar.gz /var/lib/lxd/containers/test-runner/rootfs/opt/clmc/build - sudo cp build/clmcservice-2.0.0.tar.gz /var/lib/lxd/containers/test-runner/rootfs/opt/clmc/build
- sudo lxc exec test-runner -- pip3 install /opt/clmc/build/clmctest-1.4.0.tar.gz - sudo lxc exec test-runner -- pip3 install /opt/clmc/build/clmctest-2.0.0.tar.gz
- sudo lxc exec test-runner -- pip3 install /opt/clmc/build/clmcservice-1.4.0.tar.gz - sudo lxc exec test-runner -- pip3 install /opt/clmc/build/clmcservice-2.0.0.tar.gz
- sudo lxc exec test-runner -- pytest -s --tb=short -rfp --pyargs clmctest - sudo lxc exec test-runner -- pytest -s --tb=short -rfp --pyargs clmctest
when: on_success when: on_success
......
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