Skip to content

chore(ci): Fix non git jobs by removing top-level before_script

Paul Slaughter requested to merge ps-fix-ci-non-git-jobs into main

Description

On master, I noticed this dont-interrupt-me job failed. It's because I naively put some git config in a global before_script which causes some jobs, which don't have git in their image, to blow up.

From commit:

  • Some jobs use images that don't have git
  • Let's use yaml anchor to reuse the git-setup

How to test?

Do all the jobs (including manual ones) in this MR pass? Then we're probably good.

Edited by Paul Slaughter

Merge request reports

Loading