From c87f75402ec5ad712014e43a2866db155b1258c0 Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Fri, 20 Sep 2019 20:21:54 +0800 Subject: [PATCH] mts: add example rule to rule file Signed-off-by: Chenxiong Qi --- .../message-tagging-service/files/mts-rules.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/roles/openshift-apps/message-tagging-service/files/mts-rules.yml b/roles/openshift-apps/message-tagging-service/files/mts-rules.yml index b438e68292..027b64c2e5 100644 --- a/roles/openshift-apps/message-tagging-service/files/mts-rules.yml +++ b/roles/openshift-apps/message-tagging-service/files/mts-rules.yml @@ -1,3 +1,15 @@ --- # Please add rules to tag module build. # Refer to https://pagure.io/modularity/blob/master/f/drafts/module-tagging-service/format.md + +# This is an example rule. Remove it and add new one when MTS is enabled in prod. +- id: Exmaple rule + description: Apply gating tag to module build + type: module + rule: + dependencies: + buildrequires: + platform: '^f(?P\d+)$' + requires: + platform: '^f\d+$' + destinations: 'some-tag-f\g-gate'