From: Eric Engestrom Date: Mon, 18 Feb 2019 19:01:28 +0000 (+0000) Subject: gitlab-ci: limit the automatic CI to master and MRs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=861ade70427a3d48b2e774282cd685fd80e5a65e;p=mesa.git 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 Reviewed-by: Caio Marcelo de Oliveira Filho Reviewed-by: Erik Faye-Lund --- 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