From 94bf067c6955b8e7e4996b794a21b44df0b8b895 Mon Sep 17 00:00:00 2001
From: Jorrit Schaap <schaap@astron.nl>
Date: Fri, 23 Apr 2021 07:56:39 +0200
Subject: [PATCH] TMSS-717: allow dockerize_TMSS immediately after build_SCU,
 hence allowing deploy-tmss-test before unit/integration tests are done,
 speeding up commissioning. For other deployments the unit/integration tests
 do need to pass

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b7cedc3c919..1773ab9edb8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -211,8 +211,6 @@ dockerize_TMSS:
   needs:
     - job: build_SCU
       artifacts: true
-    - job: integration_test_SCU
-      artifacts: false     
 
 #
 # INTEGRATION TEST STAGE
@@ -317,6 +315,8 @@ deploy-tmss-ua:
     - ssh lofarsys@tmss-ua.control.lofar "docker-compose -f docker-compose-ua.yml up -d"
   needs:
     - dockerize_TMSS
+    - job: integration_test_SCU
+      artifacts: false
   when: manual
   only:
     - "master"
@@ -330,6 +330,8 @@ deploy-tmss-dockerhub:
     - docker logout
   needs:
     - dockerize_TMSS
+    - job: integration_test_SCU
+      artifacts: false
   when: manual
   only:
     - "master"
-- 
GitLab