Skip to content
Snippets Groups Projects

Integrate gitlab-ci/report_image_changes_in_mr

Merged GitBot requested to merge integrate/gitlab-ci/report_image_changes_in_mr/into/dunfell into dunfell

Commit: seco-ne/yocto/infrastructure/gitlab-ci@1299a9d6

CI: add "report-image-diff" job

Add a python script and a GitLab CI job to run it. The job is triggered when the build is complete.

The script retrieves build artifacts for the default/main branch (currently "kirkstone") in the manifest repo and build artifacts for the integration branch of merge request.

After that, it compares those builds and creates a summary of the overall changes. In particular:

  • size of compressed artifacts (artifacts.zip)
  • size of built image
  • difference between manifest files

The summary is reported to stdout and as a comment to the merge request. Each run of the pipeline means removing the old summary comment and creating a new one when the build is finished.

Merge request reports

Merge request pipeline #122695 passed

Merge request pipeline passed for 7f6c0550

Approval is optional

Merged by GitBotGitBot 10 months ago (Apr 25, 2024 7:56am UTC)

Merge details

  • Changes merged into dunfell with 7f6c0550.
  • Deleted the source branch.

Pipeline #122699 passed

Pipeline passed for 7f6c0550 on dunfell

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading