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

Merge request pipeline #170490 passed

Merge request pipeline passed for 74eccff7

Merged by GitBotGitBot 5 months ago (Sep 30, 2024 2:13pm UTC)

Loading

Pipeline #170492 passed

Pipeline passed for 74eccff7 on main

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