Update to latest xe-solutions .gitlab-ci.yml
Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>
This commit is contained in:
parent
af13d792a8
commit
74dd261246
@ -23,6 +23,7 @@ variables:
|
||||
build_image:
|
||||
stage: "build"
|
||||
script:
|
||||
- if (( DEBUG )); then export; fi
|
||||
- ./scripts/build-dockerfile.sh
|
||||
- ./scripts/build-image.sh --no-cache
|
||||
- ./scripts/push-image.sh
|
||||
@ -34,22 +35,24 @@ build_image:
|
||||
test_image:
|
||||
stage: "test"
|
||||
script:
|
||||
- if (( DEBUG )); then export; fi
|
||||
- ./scripts/test-image.sh
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE != "trigger" && $CI_PIPELINE_SOURCE != "pipeline"'
|
||||
when: never
|
||||
- if: '"$PLATFORM" == ""'
|
||||
- if: '$PLATFORM == ""'
|
||||
tags:
|
||||
- graphics
|
||||
|
||||
test_image_gen9:
|
||||
stage: "test"
|
||||
script:
|
||||
- if (( DEBUG )); then export; fi
|
||||
- ./scripts/test-image.sh
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE != "trigger" && $CI_PIPELINE_SOURCE != "pipeline"'
|
||||
when: never
|
||||
- if: '"$PLATFORM" == "gen9"'
|
||||
- if: '$PLATFORM == "gen9"'
|
||||
tags:
|
||||
- graphics
|
||||
- gen9
|
||||
@ -57,11 +60,12 @@ test_image_gen9:
|
||||
test_image_gen11:
|
||||
stage: "test"
|
||||
script:
|
||||
- if (( DEBUG )); then export; fi
|
||||
- ./scripts/test-image.sh
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE != "trigger" && $CI_PIPELINE_SOURCE != "pipeline"'
|
||||
when: never
|
||||
- if: '"$PLATFORM" == "gen11"'
|
||||
- if: '$PLATFORM == "gen11"'
|
||||
tags:
|
||||
- graphics
|
||||
- gen11
|
||||
@ -69,11 +73,12 @@ test_image_gen11:
|
||||
test_image_gen12:
|
||||
stage: "test"
|
||||
script:
|
||||
- if (( DEBUG )); then export; fi
|
||||
- ./scripts/test-image.sh
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE != "trigger" && $CI_PIPELINE_SOURCE != "pipeline"'
|
||||
when: never
|
||||
- if: '"$PLATFORM" == "gen12"'
|
||||
- if: '$PLATFORM == "gen12"'
|
||||
tags:
|
||||
- graphics
|
||||
- gen12
|
||||
@ -81,11 +86,12 @@ test_image_gen12:
|
||||
test_image_dg1:
|
||||
stage: "test"
|
||||
script:
|
||||
- if (( DEBUG )); then export; fi
|
||||
- ./scripts/test-image.sh
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE != "trigger" && $CI_PIPELINE_SOURCE != "pipeline"'
|
||||
when: never
|
||||
- if: '"$PLATFORM" == "dg1"'
|
||||
- if: '$PLATFORM == "dg1"'
|
||||
tags:
|
||||
- graphics
|
||||
- dg1
|
||||
@ -93,11 +99,12 @@ test_image_dg1:
|
||||
test_image_dg2:
|
||||
stage: "test"
|
||||
script:
|
||||
- if (( DEBUG )); then export; fi
|
||||
- ./scripts/test-image.sh
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE != "trigger" && $CI_PIPELINE_SOURCE != "pipeline"'
|
||||
when: never
|
||||
- if: '"$PLATFORM" == "dg2"'
|
||||
- if: '$PLATFORM == "dg2"'
|
||||
tags:
|
||||
- graphics
|
||||
- dg2
|
||||
@ -105,6 +112,7 @@ test_image_dg2:
|
||||
publish_image:
|
||||
stage: "publish"
|
||||
script:
|
||||
- if (( DEBUG )); then export; fi
|
||||
- ./scripts/promote-image.sh
|
||||
tags:
|
||||
- builder
|
||||
|
Loading…
x
Reference in New Issue
Block a user