From 00183673af0f082bd4e81417b7212e18efe96f19 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Wed, 30 Apr 2025 22:03:00 +0200
Subject: [PATCH] fix

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 686821507..99ab63134 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -90,10 +90,13 @@ run_shellcheck:
 # Run manually to bootstrap CDB/stations/$station.json for stations
 # converted from LOFAR1 to LOFAR2.
 render_CDB_stations_from_lofar1:
-  extends: .components
   stage: render
-  needs:
-    - trigger_prepare
+  extends:
+    - .components
+    - .local_job
+  rules:
+    - !reference [.local_job, rules]
+    - if: $CI
   when: manual
   script:
     - |
@@ -114,10 +117,13 @@ render_CDB_stations_from_lofar1:
 
 # Generate the ILT configurations for each station.
 render_CDB_environment_ilt:
-  extends: .components
   stage: render
-  needs:
-    - trigger_prepare
+  extends:
+    - .components
+    - .local_job
+  rules:
+    - !reference [.local_job, rules]
+    - if: $CI
   when: manual
   before_script:
     - sudo apt install -y jq
-- 
GitLab