diff --git a/manifest-pipeline-yocto.yml b/manifest-pipeline-yocto.yml index bb43e10da275da6d4f93fc9dd2a2f047a4f6d629..0ea609c23603ef3ea1e6613d9fc46ff9d53b4754 100644 --- a/manifest-pipeline-yocto.yml +++ b/manifest-pipeline-yocto.yml @@ -108,3 +108,24 @@ fngsystem-pipeline: RELEASE_NAME_EXPRESSION: FNGSystem-${INTERIM_DR_VERSION} ARTIFACTS_PATH: build-*/tmp/deploy/images/**/* 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}" diff --git a/manifest-pipeline.yml b/manifest-pipeline.yml index 685893d143bb0e1808df9886ddae732e1b7b70ee..55022d83e17cef13b26343e8a518ec427cecb537 100644 --- a/manifest-pipeline.yml +++ b/manifest-pipeline.yml @@ -8,6 +8,7 @@ include: stages: - manifest-pipeline - trigger + - report-image-diff - retrigger - build - artifacts