jjb: infra: bifrost-cleanup-job: Do not trigger on patchset creation 43/29243/3
authorMarkos Chandras <mchandras@suse.de>
Wed, 22 Feb 2017 16:36:12 +0000 (16:36 +0000)
committerAric Gardner <agardner@linuxfoundation.org>
Mon, 27 Feb 2017 21:59:49 +0000 (21:59 +0000)
There are no logs to remove when a patchset is created.

Change-Id: Ieae8e8e142d69f741d43e740371110ce13255436
Signed-off-by: Markos Chandras <mchandras@suse.de>
jjb/infra/bifrost-cleanup-job.yml

index 9f5f9e9..0ee906f 100644 (file)
             server-name: 'review.openstack.org'
             escape-quotes: true
             trigger-on:
-                - patchset-created-event:
-                    exclude-drafts: 'false'
-                    exclude-trivial-rebase: 'false'
-                    exclude-no-code-change: 'false'
-                - patchset-uploaded-event: 'false'
-                # We only run this when the change is merged since
-                # we don't need the logs anymore
+                # We only run this when the change is merged or
+                # abandoned since we don't need the logs anymore
                 - change-merged-event: 'true'
                 - change-abandoned-event: 'true'
                 - change-restored-event: 'false'
         - gerrit:
             server-name: 'gerrit.opnfv.org'
             trigger-on:
-                - patchset-created-event:
-                    exclude-drafts: 'false'
-                    exclude-trivial-rebase: 'false'
-                    exclude-no-code-change: 'false'
-                - patchset-uploaded-event: 'false'
-                # We only run this when the change is merged since
-                # we don't need the logs anymore
+                # We only run this when the change is merged or
+                # abandoned since we don't need the logs anymore
                 - change-merged-event: 'true'
                 - change-abandoned-event: 'true'
                 - change-restored-event: 'false'