From af13d792a89339d55161a5da7e46ddbb6d48e13f Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Thu, 14 Jan 2021 18:20:18 -0800 Subject: [PATCH] Quote $PLATFORM so if it is not set, it can match against "" Signed-off-by: James Ketrenos --- .gitlab-ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f17a279..9c76168 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,7 +38,7 @@ test_image: rules: - if: '$CI_PIPELINE_SOURCE != "trigger" && $CI_PIPELINE_SOURCE != "pipeline"' when: never - - if: '$PLATFORM == ""' + - if: '"$PLATFORM" == ""' tags: - graphics @@ -49,7 +49,7 @@ test_image_gen9: rules: - if: '$CI_PIPELINE_SOURCE != "trigger" && $CI_PIPELINE_SOURCE != "pipeline"' when: never - - if: '$PLATFORM == "gen9"' + - if: '"$PLATFORM" == "gen9"' tags: - graphics - gen9 @@ -61,7 +61,7 @@ test_image_gen11: rules: - if: '$CI_PIPELINE_SOURCE != "trigger" && $CI_PIPELINE_SOURCE != "pipeline"' when: never - - if: '$PLATFORM == "gen11"' + - if: '"$PLATFORM" == "gen11"' tags: - graphics - gen11 @@ -73,7 +73,7 @@ test_image_gen12: rules: - if: '$CI_PIPELINE_SOURCE != "trigger" && $CI_PIPELINE_SOURCE != "pipeline"' when: never - - if: '$PLATFORM == "gen12"' + - if: '"$PLATFORM" == "gen12"' tags: - graphics - gen12 @@ -85,7 +85,7 @@ test_image_dg1: rules: - if: '$CI_PIPELINE_SOURCE != "trigger" && $CI_PIPELINE_SOURCE != "pipeline"' when: never - - if: '$PLATFORM == "dg1"' + - if: '"$PLATFORM" == "dg1"' tags: - graphics - dg1 @@ -97,7 +97,7 @@ test_image_dg2: rules: - if: '$CI_PIPELINE_SOURCE != "trigger" && $CI_PIPELINE_SOURCE != "pipeline"' when: never - - if: '$PLATFORM == "dg2"' + - if: '"$PLATFORM" == "dg2"' tags: - graphics - dg2