Quote $PLATFORM so if it is not set, it can match against ""
Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>
This commit is contained in:
parent
c993cc76a7
commit
af13d792a8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user