Limit triggering a CI build to change of non-code files

.gitlab-ci.yml:
Only trigger builds in CI when changing code files or profiles.
This commit is contained in:
David Runge 2022-01-30 21:38:10 +01:00
parent cd14387576
commit 21ca345720
No known key found for this signature in database
GPG key ID: 7258734B41C31549

View file

@ -38,6 +38,13 @@ build_short:
matrix:
- BUILD_SCRIPT_ARGS: baseline bootstrap
- BUILD_SCRIPT_ARGS: releng bootstrap
only:
changes:
- archiso/*
- configs/**/*
- Makefile
- .gitlab-ci.yml
- .gitlab/ci/*
build_long:
extends: .build
@ -49,3 +56,10 @@ build_long:
- BUILD_SCRIPT_ARGS: releng netboot
tags:
- fast-single-thread
only:
changes:
- archiso/*
- configs/**/*
- Makefile
- .gitlab-ci.yml
- .gitlab/ci/*