Skip to content
Snippets Groups Projects
Commit 74c367bf authored by Andrii Sosiuk's avatar Andrii Sosiuk
Browse files

Build image diff in manifest MRs as well

parent baa7c439
No related branches found
No related tags found
1 merge request!442Draft: Build image diff in manifest MRs as well
Pipeline #246430 passed with warnings with stages
in 21 minutes and 29 seconds
...@@ -108,3 +108,24 @@ fngsystem-pipeline: ...@@ -108,3 +108,24 @@ fngsystem-pipeline:
RELEASE_NAME_EXPRESSION: FNGSystem-${INTERIM_DR_VERSION} RELEASE_NAME_EXPRESSION: FNGSystem-${INTERIM_DR_VERSION}
ARTIFACTS_PATH: build-*/tmp/deploy/images/**/* ARTIFACTS_PATH: build-*/tmp/deploy/images/**/*
PACKAGE_TYPE: image PACKAGE_TYPE: image
report-image-diff:
extends: .infrastructure
stage: report-image-diff
timeout: 8h
rules:
# Do not run build if the "skip build" label is set on the merge request
- if: $CI_MERGE_REQUEST_LABELS =~ /skip build/
when: never
- if: $CI_MERGE_REQUEST_IID
allow_failure: true
script:
- cd ${CI_PROJECT_DIR}
- .gitlab-ci/scripts/report_image_diff.py
--gitlab-url="${CI_SERVER_URL}"
--token="${GITBOT_TOKEN}"
--manifest-project="${TARGET_PROJECT}"
--project="${CI_PROJECT_ID}"
--mr-iid="${CI_MERGE_REQUEST_IID}"
--target-branch="${TARGET_BRANCH}"
--source-branch="integrate/${CI_PROJECT_NAME}/${CI_COMMIT_REF_NAME}/into/${TARGET_BRANCH}"
...@@ -8,6 +8,7 @@ include: ...@@ -8,6 +8,7 @@ include:
stages: stages:
- manifest-pipeline - manifest-pipeline
- trigger - trigger
- report-image-diff
- retrigger - retrigger
- build - build
- artifacts - artifacts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment