summaryrefslogtreecommitdiff
path: root/bindep.txt
diff options
context:
space:
mode:
authorTobias Henkel <tobias.henkel@bmw.de>2018-04-13 11:18:49 +0200
committerTobias Henkel <tobias.henkel@bmw.de>2018-04-13 18:15:19 +0200
commit0c3b8fb963e211c61ed378bdac33891f4312d061 (patch)
treeacae434eb9bc29aa39751d374a9476c60201b96b /bindep.txt
parent42e35c2adf55f940e4b83a2c16e56c3d1b0bf7e0 (diff)
downloadzuul-0c3b8fb963e211c61ed378bdac33891f4312d061.tar.gz
Support regex matching of github status
The github status requirements matching and trigger filter are currently plain text matching based. This currently limits sharing of pipeline definitions between tenants as zuul reports the status as '<tenant>/<pipeline>'. This currently makes it necessary to define trigger filter for each tenant [1] and completely blocks pipeline requirements. A solution to this is regex matching which makes it possible to define the filter once [2]. Further this enables an interesting further use case to trigger on any successfull status [3]. This makes it easier to cooperate with other CI systems or github apps which also set a status. Directly use re2 as this will be used in the future for regex matching. [1] Trigger filter snippet trigger: github: - event: pull_request action: status status: - zuul:tenant1/check:success - zuul:tenant2/check:success - zuul:tenant3/check:success - zuul:tenant4/check:success [2] Regex trigger filter snippet trigger: github: - event: pull_request action: status status: - zuul:.+/check:success [3] Generic success filter snippet trigger: github: - event: pull_request action: status status: - .*:success Change-Id: Id1b9d7334db78d0f13db33d47a80ffdb65f921df
Diffstat (limited to 'bindep.txt')
-rw-r--r--bindep.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/bindep.txt b/bindep.txt
index 77b4a483f..7f05d2776 100644
--- a/bindep.txt
+++ b/bindep.txt
@@ -18,3 +18,5 @@ python3-dev [platform:dpkg]
python3-devel [platform:rpm]
bubblewrap [platform:rpm]
redhat-rpm-config [platform:rpm]
+libre2-dev [platform:dpkg]
+re2-devel [platform:rpm]