From d3a862844f6ba8025866ebf45c057db7dff1cdb5 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Fri, 2 May 2025 14:39:34 +0200
Subject: [PATCH] Allow deployment on dts-lab

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 662a73154..6769378fb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -60,6 +60,7 @@ run_shellcheck:
   variables:
     LOFAR1_STATIONS: cs002 cs003 cs004 cs005 cs006 cs007 cs011 cs013 cs017 cs021 cs024 cs026 cs028 cs030 cs031 cs101 cs103 cs201 cs301 cs302 cs401 cs501 rs106 rs205 rs208 rs210 rs305 rs306 rs310 rs406 rs407 rs409 rs503 rs508 rs509
     LOFAR2_STATIONS: cs001 cs032 rs307
+    DEV_STATIONS: dts-lab
     COMPONENTS: mesh-gateway monitoring logging tango object-storage object-replication sdptr device-server dsconfig ec-sim jupyter snmp-exporter landing-page rpc-server
 
 # Generate the station-specific TangoDB configuration based on LOFAR1 information.
@@ -135,7 +136,7 @@ render_CDB:
 
       cd CDB/
 
-      for STATION in ${LOFAR2_STATIONS}; do
+      for STATION in ${LOFAR2_STATIONS} ${DEV_STATIONS}; do
         if [ "${STATION}" == "dts-lab" ]; then
             # dts-lab test station
             FILES="base/common.json base/l0.json base/l1.json base/h0.json base/lba.json base/hba-remote.json stations/dts-lab.json"
@@ -172,7 +173,7 @@ render_levant:
     - |
       mkdir jobs
 
-      for STATION in ${LOFAR2_STATIONS}; do
+      for STATION in ${LOFAR2_STATIONS} ${DEV_STATIONS}; do
         if [ "${STATION}" == "dts-lab" ]; then
             # dts-lab test station
             REGION="global"
@@ -540,6 +541,7 @@ deploy_nomad:
           - cs001
           - cs032
           - rs307
+          - dts-lab
   image:
     name: hashicorp/nomad
     entrypoint: [ "" ]
-- 
GitLab