Make custom helm verify and merge triggers
Issue-ID: CIMAN-164
Change-Id: Idf308e2440742def006efefe9478058449543590
Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml
index 55711f0..d32e53d 100644
--- a/jjb/global-macros.yaml
+++ b/jjb/global-macros.yaml
@@ -392,6 +392,48 @@
pattern: '{files}'
- trigger:
+ name: gerrit-trigger-helm-patch-submitted
+ triggers:
+ - gerrit:
+ server-name: '{server}'
+ trigger-on:
+ - patchset-created-event:
+ exclude-drafts: 'false'
+ exclude-trivial-rebase: 'false'
+ exclude-no-code-change: 'false'
+ - draft-published-event
+ - comment-added-contains-event:
+ comment-contains-value: '^verify-helm$'
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: '{project}'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/{branch}'
+ file-paths:
+ - compare-type: 'ANT'
+ pattern: '{files}'
+
+- trigger:
+ name: gerrit-trigger-helm-patch-merged
+ triggers:
+ - gerrit:
+ server-name: '{server}'
+ trigger-on:
+ - change-merged-event
+ - comment-added-contains-event:
+ comment-contains-value: '^remerge-helm$'
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: '{project}'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/{branch}'
+ file-paths:
+ - compare-type: 'ANT'
+ pattern: '{files}'
+
+- trigger:
name: gerrit-trigger-release-manually
triggers:
- gerrit: