From f86676291629a4e077b466fe4d613d8e5c95a374 Mon Sep 17 00:00:00 2001
From: MJB <mjb@it-innovation.soton.ac.uk>
Date: Wed, 5 Sep 2018 14:29:47 +0100
Subject: [PATCH] version of python libraries added

---
 .gitlab-ci.yml      | 16 +++++++---------
 README.md           |  2 +-
 src/service/VERSION |  2 +-
 src/test/VERSION    |  2 +-
 4 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6798c93..2d84995 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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:
diff --git a/README.md b/README.md
index 948af05..51441f8 100644
--- a/README.md
+++ b/README.md
@@ -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:
diff --git a/src/service/VERSION b/src/service/VERSION
index 4a2bfa8..9e2406e 100644
--- a/src/service/VERSION
+++ b/src/service/VERSION
@@ -1 +1 @@
-__version__ = "1.2.0"
\ No newline at end of file
+__version__ = "1.3.0"
\ No newline at end of file
diff --git a/src/test/VERSION b/src/test/VERSION
index 4a2bfa8..9e2406e 100644
--- a/src/test/VERSION
+++ b/src/test/VERSION
@@ -1 +1 @@
-__version__ = "1.2.0"
\ No newline at end of file
+__version__ = "1.3.0"
\ No newline at end of file
-- 
GitLab