Skip to content
Code-Schnipsel Gruppen Projekte
Commit e258c934 erstellt von Jan Wennrich's avatar Jan Wennrich
Dateien durchsuchen

ci: make "trigger-build-of-testing-image" job use the same rules as "release" job

Übergeordneter b5244be9
No related branches found
No related tags found
5 Merge Requests!130Update 'next-15.x' with latest changes from 'main',!127Update 'next-15.x' with latest changes from 'main',!121Update 'next-15.x' with latest changes from 'main',!120Update 'next-15.x' with latest changes from 'main',!119Pipeline test
......@@ -5,8 +5,7 @@ stages:
trigger-build-of-testing-image:
needs:
- job: release
optional: true
- release
stage: release
image: curlimages/curl
variables:
......@@ -14,4 +13,6 @@ trigger-build-of-testing-image:
script:
- if [ ! -f $RELEASED_VERSION_ARTIFACT ]; then echo "No version released, exiting..."; exit; fi
- RELEASED_MAJOR_VERSION=$(cut -d. -f1 $RELEASED_VERSION_ARTIFACT)
- curl --fail-with-body --request POST --form "token=$CI_JOB_TOKEN" --form ref=ci-workflow --form "variables[IMAGE_TYPE]=testing" --form "variables[QUIQQER_VERSION]=$RELEASED_MAJOR_VERSION" "$CI_API_V4_URL/projects/835/trigger/pipeline"
\ No newline at end of file
- curl --fail-with-body --request POST --form "token=$CI_JOB_TOKEN" --form ref=ci-workflow --form "variables[IMAGE_TYPE]=testing" --form "variables[QUIQQER_VERSION]=$RELEASED_MAJOR_VERSION" "$CI_API_V4_URL/projects/835/trigger/pipeline"
rules:
- !reference [release, rules]
\ No newline at end of file
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren