From 6c043758e504ee52466eefbd6d03c93f6af1c63c Mon Sep 17 00:00:00 2001 From: Daniel van der Schuur <schuur@astron.nl> Date: Wed, 23 Mar 2022 14:21:54 +0100 Subject: [PATCH] Using only instead of rules. --- .gitlab-ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 568d9ccf38..15bc5fd83c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -89,15 +89,15 @@ synth-check-programming-files: ############################################################################### trigger-opc-ua-test: stage: hardware -# only: -# changes: -# - applications/lofar2/images/lofar2_unb2b_sdp_station_full.tar.gz -# - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - - rules: - - if: $CI_PIPELINE_SOURCE == 'merge_request_event' + only: changes: - applications/lofar2/images/lofar2_unb2b_sdp_station_full.tar.gz + - merge_requests + +# rules: +# - if: $CI_PIPELINE_SOURCE == 'merge_request_event' +# changes: +# - applications/lofar2/images/lofar2_unb2b_sdp_station_full.tar.gz # script: # - echo "Found updated programming file. Triggering OPC UA test in SDPTR repo." -- GitLab