From 21ca345720e0067f6b2817dd66e82029a52395e0 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sun, 30 Jan 2022 21:38:10 +0100 Subject: 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. --- .gitlab-ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 63fd96f..89671f8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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/* -- cgit v1.2.3-70-g09d2