Skip to content
Snippets Groups Projects

Integrate gitlab-ci/yt-160-gitlab-ci-integration-often-fails-on-merge-yocto-step

Commit: seco-ne/yocto/infrastructure/gitlab-ci@ff906931

YT-160: Workaround to prevent CI integration failure in 'merge-yocto' step

The GitLab CI integration job frequently fails on the 'merge-yocto' step, specifically at the "git fetch" stage. The issue occurs because Git fails to fetch the .gitlab-ci submodule due to an incorrect reference, likely caused by the shallow clone (--depth=1) configuration, which limits the commit history.

Extending the clone depth to --depth=2 helps prevent this error by providing a slightly deeper commit history, which resolves the reference issue.

Merge request reports

Loading
Loading

Activity

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