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:
parent
cd14387576
commit
21ca345720
1 changed files with 14 additions and 0 deletions
|
@ -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/*
|
||||
|
|
Loading…
Add table
Reference in a new issue