From 697223165e4fae258b50a021b8ea2f9b795233ef Mon Sep 17 00:00:00 2001
From: MJB <mjb@it-innovation.soton.ac.uk>
Date: Wed, 28 Mar 2018 07:49:32 +0100
Subject: [PATCH] splitting causes jobs to run in different directories which
 is not what we want so back to one job and extending the timeout

---
 .gitlab-ci.yml | 28 ++++++----------------------
 1 file changed, 6 insertions(+), 22 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9a601de..eba6d22 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,8 +1,6 @@
 stages:  
   - build
-  - test:scripts
-  - test:monitoring
-  - test:inputs
+  - test
   - clean
 
 build:tests:
@@ -14,35 +12,21 @@ build:tests:
     - build/clmctest-SNAPSHOT.tar.gz
     expire_in: 1 day
 
-test:scripts:
-  stage: test:scripts
+test:all:
+  stage: test
   dependencies: 
     - build:tests
   script: 
     - vagrant --fixture=scripts -- up
     - vagrant --fixture=scripts -- ssh test-runner -- -tt "pip3 install /vagrant/build/clmctest-SNAPSHOT.tar.gz"
     - vagrant --fixture=scripts -- ssh test-runner -- -tt "pytest -s --pyargs clmctest.scripts"
-  when: on_success   
-  
-test:monitoring:
-  stage: test:monitoring
-  dependencies: 
-    - test:scripts
-  script: 
     - vagrant --fixture=monitoring -- up
     - vagrant --fixture=monitoring -- ssh test-runner -- -tt "pytest -s --pyargs clmctest.monitoring"  
-  when: on_success   
-  
-test:inputs:
-  stage: test:inputs
-  dependencies: 
-    - test:monitoring
-  script: 
     - vagrant --fixture=inputs -- up
-    - vagrant --fixture=inputs -- ssh test-runner -- -tt "pytest -s --pyargs clmctest.inputs"
-  when: on_success     
+    - vagrant --fixture=inputs -- ssh test-runner -- -tt "pytest -s --pyargs clmctest.inputs"        
+  when: on_success      
   
-clean:test:
+clean:
   stage: clean
   script: 
     - echo "Clean VMs"
-- 
GitLab