From 861ade70427a3d48b2e774282cd685fd80e5a65e Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Mon, 18 Feb 2019 19:01:28 +0000 Subject: [PATCH] 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 --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7e4a5f1..a3f56fa 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 -- 2.7.4