ci: build packages in a child pipeline instead of in the main one (MR 6366)

Following Alpine's example. This allows some optimizations:
* Don't start one job per architecture simply to skip them after
  rebase and before merge
* If there are no packages, don't start the jobs at all (not true,
  gitlab bug)
* Avoid creating jobs for architectures that don't have changed
  packages, thus further reducing the unnecessary
  jobs and possibly reducing transient failures

Co-authored-by: Clayton Craft <clayton@craftyguy.net>
This commit is contained in:
Pablo Correa Gómez
2025-04-11 12:26:20 -07:00
committed by Clayton Craft
co-authored by Clayton Craft
parent 65038ce26a
commit 218d0b1745
4 changed files with 175 additions and 46 deletions
+3
View File
@@ -118,3 +118,6 @@ ENV/
# Allow having untracked packages in aports using a custom-something directory
/custom-*/
# child pipeline
.ci/build-jobs.yaml