From 58a394fd46127f145123b61c0199d9ce31c8f4b5 Mon Sep 17 00:00:00 2001 From: service_account_gitbot <service_account_bfe71dedb3250ea1980d2d6c7f0d65ee@noreply.git.seco.com> Date: Thu, 10 Apr 2025 12:45:52 +0000 Subject: [PATCH] Integrate gitlab-ci/CI-report-image-diff-rewrite and 3 more -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/57087972897a3f9cc150d1e86604e29bed211888 report-image-diff: Rewrite the report image diff to use buildhistory The old way used the gitlab UI to load the html overview for the artefacts, but this didn't worked for private repos, as the login was not implemented. Loading file from the buildhistory with known names uses the gitlab API, where the credential handling is provided. Also replace loops and duplicated code with internal classes, which massively restructures the code. -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/9b2134aa0b99a6e1a2aea15edd8de7577dc99930 report-image-diff: Get target branch correctly -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/0ff7cdfd8b313d9944991af7425b00de458fd3f8 scripts: buildartifacts: Add main and parameters for testing Also add download for build.env -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/6b108164633b869d74e990efd31a26ade2736c31 CI: build: Add buildhistory/images to the artifacts, and image name to build.env --- .gitlab-ci | 2 +- .gitlab-ci.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci b/.gitlab-ci index faec328..5708797 160000 --- a/.gitlab-ci +++ b/.gitlab-ci @@ -1 +1 @@ -Subproject commit faec328f252691709892ffb35117124c1da2b4b0 +Subproject commit 57087972897a3f9cc150d1e86604e29bed211888 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e958cee..508cf19 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,9 +4,9 @@ # --------------------------------------------------------------------------------------- include: - project: '${CI_PROJECT_ROOT_NAMESPACE}/yocto/infrastructure/gitlab-ci' - ref: faec328f252691709892ffb35117124c1da2b4b0 + ref: 57087972897a3f9cc150d1e86604e29bed211888 file: 'manifest-integration.yml' variables: - GITLAB_CI_REVISION: faec328f252691709892ffb35117124c1da2b4b0 + GITLAB_CI_REVISION: 57087972897a3f9cc150d1e86604e29bed211888 BB_RECIPE_NAME: secure-element-examples -- GitLab