[vlc-devel] PSA: Unnecessary contrib rebuilds in MRs

Hugo Beauzée-Luyssen hugo at beauzee.fr
Thu Jan 6 10:48:12 UTC 2022


Hi all,

We spent a bit of time with Janni to investigate why some MR would systematically rebuild all contribs, even when the MR shouldn't trigger it.

We strongly encourage you to check your gitlab settings in: Settings -> CI/CD -> General pipelines
- Git strategy should be set to 'fetch' (clone would probably work but is likely to be useless work)
- Git shallow clone should be unset, or set to 0. If the value is less than or equal to the number of commits in your MR, the first commit will contain all the existing file, including the contribs/extras tools/ci sources, which will trigger a full contribs rebuild.

If some of your build seem too long, please check your settings :)

Thanks in advance, and happy new year to you all!


-- 
  Hugo Beauzée-Luyssen
  hugo at beauzee.fr


More information about the vlc-devel mailing list