Add runit trigger for netvirt 95/40895/1
authorSam Hague <shague@redhat.com>
Mon, 27 Jun 2016 20:27:50 +0000 (16:27 -0400)
committerSam Hague <shague@redhat.com>
Mon, 27 Jun 2016 20:27:55 +0000 (16:27 -0400)
The following patches are what added the support for ovsdb and are
what is used for netvirt:

https://git.opendaylight.org/gerrit/#/c/40052/
https://git.opendaylight.org/gerrit/#/c/40062/
https://git.opendaylight.org/gerrit/#/c/40067/

Change-Id: I9de3aac1c7f0174c2e362cd73e1136eb707a630c
Signed-off-by: Sam Hague <shague@redhat.com>
jjb/netvirt/netvirt-full-integration.yaml

index 4cfe64033e88463cbd03fdb45f72adde427dc283..5c376abad3a66617fe39bdbd2218fdc108a40942 100644 (file)
             refspec: 'refs/heads/{branch}'
 
     scm:
-        - git-scm:
+        - gerrit-trigger-scm:
             credentials-id: '{ssh-credentials}'
-            refspec: ''
+            refspec: '$GERRIT_REFSPEC'
             branch: '{branch}'
+            choosing-strategy: gerrit
 
     wrappers:
         - timeout:
 
     triggers:
         - timed: '@midnight'
+        - gerrit:
+            server-name: 'OpenDaylight'
+            trigger-on:
+              - comment-added-contains-event:
+                 comment-contains-value: 'runit'
+            projects:
+              - project-compare-type: 'ANT'
+                project-pattern: '{project}'
+                branches:
+                  - branch-compare-type: 'ANT'
+                    branch-pattern: '**/{branch}'
+            skip-vote:
+                successful: true
+                failed: true
+                unstable: true
+                notbuilt: true
 
     builders:
         - wipe-org-opendaylight-repo