Integrate gitlab-ci/yt-160-gitlab-ci-integration-often-fails-on-merge-yocto-step
requested to merge integrate/gitlab-ci/yt-160-gitlab-ci-integration-often-fails-on-merge-yocto-step/into/guf_imx_v2020.04-trizeps8plus_2021_12_07 into guf_imx_v2020.04-trizeps8plus_2021_12_07
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.