Skip to content
Snippets Groups Projects
Commit f8667629 authored by MJB's avatar MJB
Browse files

version of python libraries added

parent 19e930ac
No related branches found
No related tags found
No related merge requests found
......@@ -35,8 +35,8 @@ build:tests:
- python setup.py sdist --dist-dir=$CI_PROJECT_DIR/build
artifacts:
paths:
- build/clmctest-SNAPSHOT.tar.gz
- build/clmcservice-SNAPSHOT.tar.gz
- build/clmctest-1.3.0.tar.gz
- build/clmcservice-1.3.0.tar.gz
expire_in: 1 day
test:all:
......@@ -50,13 +50,11 @@ test:all:
- 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 mkdir /var/lib/lxd/containers/test-runner/rootfs/vagrant/build
- sudo cp build/clmctest-SNAPSHOT.tar.gz /var/lib/lxd/containers/test-runner/rootfs/vagrant/build
- sudo cp build/clmcservice-SNAPSHOT.tar.gz /var/lib/lxd/containers/test-runner/rootfs/vagrant/build
- sudo lxc exec test-runner -- pip3 install /vagrant/build/clmctest-SNAPSHOT.tar.gz
- sudo lxc exec test-runner -- pip3 install /vagrant/build/clmcservice-SNAPSHOT.tar.gz
- sudo lxc exec test-runner -- pytest -s --tb=short -rfp --pyargs clmctest.scripts
- sudo lxc exec test-runner -- pytest -s --tb=short -rfp --pyargs clmctest.inputs
- sudo lxc exec test-runner -- pytest -s --tb=short -rfp --pyargs clmctest.monitoring
- sudo cp build/clmctest-1.3.0.tar.gz /var/lib/lxd/containers/test-runner/rootfs/vagrant/build
- sudo cp build/clmcservice-1.3.0.tar.gz /var/lib/lxd/containers/test-runner/rootfs/vagrant/build
- sudo lxc exec test-runner -- pip3 install /vagrant/build/clmctest-1.3.0.tar.gz
- sudo lxc exec test-runner -- pip3 install /vagrant/build/clmcservice-1.3.0.tar.gz
- sudo lxc exec test-runner -- pytest -s --tb=short -rfp --pyargs clmctest
when: on_success
clean:
......
......@@ -103,7 +103,7 @@ Build and install the CLMC test Python module:
```shell
cd /vagrant/src/test
python setup.py sdist --dist-dir=../../build
pip3 install /vagrant/build/clmctest-SNAPSHOT.tar.gz
pip3 install /vagrant/build/clmctest-<version>.tar.gz
```
The following module is unit tests:
......
__version__ = "1.2.0"
\ No newline at end of file
__version__ = "1.3.0"
\ No newline at end of file
__version__ = "1.2.0"
\ No newline at end of file
__version__ = "1.3.0"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment