Fix: Add project info to helm-release trigger 14/126114/1
authorEric Ball <eball@linuxfoundation.org>
Tue, 7 Dec 2021 18:46:08 +0000 (10:46 -0800)
committerEric Ball <eball@linuxfoundation.org>
Tue, 7 Dec 2021 18:50:27 +0000 (10:50 -0800)
The old version of this did not contain the necessary information for
the Gerrit plugin to monitor changes for comments.

Change-Id: I13be3f76f84b095f7f83ec558f923511cf6cb5d2
Issue-ID: CIMAN-33
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
jjb/global-templates-helm.yaml

index 0e5986a..df2ef5c 100644 (file)
 
     triggers:
       - gerrit:
+          server-name: '{gerrit-server-name}'
           trigger-on:
             - comment-added-contains-event:
                 comment-contains-value: '^Patch Set\s+\d+:\s+release-helm\s*$'
+          projects:
+            - project-compare-type: 'ANT'
+              project-pattern: '{project}'
+              branches:
+                - branch-compare-type: 'ANT'
+                  branch-pattern: '**/{branch}'
+              file-paths:
+                - compare-type: 'ANT'
+                  pattern: '**'
 
     builders:
       - lf-infra-pre-build