summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@intel.com>2019-02-18 19:01:28 +0000
committerEric Engestrom <eric.engestrom@intel.com>2019-02-19 16:57:28 +0000
commit861ade70427a3d48b2e774282cd685fd80e5a65e (patch)
treefcab764b7214ba5b2a7ec5148d4942693b9b81a3 /.gitlab-ci.yml
parentf84f833981286b2955f40f98e4beeecbcc67a69b (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 <eric.engestrom@intel.com> Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml3
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