gitlab-ci: automatically run the CI on pushes to `ci/*` branches
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 19 Feb 2019 13:09:11 +0000 (13:09 +0000)
committerEric Engestrom <eric.engestrom@intel.com>
Tue, 19 Feb 2019 16:57:32 +0000 (16:57 +0000)
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>
.gitlab-ci.yml

index a3f56fa4d4dbe8a7740ab3817d1fb40eba7924cf..af26510bc38d27ee1ed41acaf704163ebe166994 100644 (file)
@@ -66,6 +66,7 @@ containers:ubuntu:
   only:
     - master
     - merge_requests
+    - /^ci([-/].*)?$/
   artifacts:
     when: on_failure
     untracked: true