summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@intel.com>2019-02-19 13:09:11 +0000
committerEric Engestrom <eric.engestrom@intel.com>2019-02-19 16:57:32 +0000
commitdaf8ada08d70fed353c64206ed3ffc7be2c0bfde (patch)
tree55fbb507d36d82c97a11ed9547965ffa30250102 /.gitlab-ci.yml
parent861ade70427a3d48b2e774282cd685fd80e5a65e (diff)
gitlab-ci: automatically run the CI on pushes to `ci/*` branches
Last commit limited the CI to master and MRs, but to avoid having to manually trigger CI runs, let's add a 3rd, automatic way: by pushing to a branch named `ci/*` (or `ci-*` or just `ci`) (which you can delete afterwards, the pipeline results will remain). 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.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a3f56fa4d4d..af26510bc38 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -66,6 +66,7 @@ containers:ubuntu:
only:
- master
- merge_requests
+ - /^ci([-/].*)?$/
artifacts:
when: on_failure
untracked: true