diff options
author | Eric Engestrom <[email protected]> | 2019-02-18 19:01:28 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-02-19 16:57:28 +0000 |
commit | 861ade70427a3d48b2e774282cd685fd80e5a65e (patch) | |
tree | fcab764b7214ba5b2a7ec5148d4942693b9b81a3 | |
parent | f84f833981286b2955f40f98e4beeecbcc67a69b (diff) |
gitlab-ci: limit the automatic CI to master and MRs
Runs on random other branches (stables RCs, personal forks) can still be
triggered manually via the web interface, or an app using the API.
This should massively help with the current voracious state of our CI.
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Reviewed-by: Erik Faye-Lund <[email protected]>
-rw-r--r-- | .gitlab-ci.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7e4a5f1d8d6..a3f56fa4d4d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -63,6 +63,9 @@ containers:ubuntu: .build: image: $UBUNTU_IMAGE stage: build+test + only: + - master + - merge_requests artifacts: when: on_failure untracked: true |