Finish converting toolchain_test to zuul 57/257/1
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Mon, 8 Feb 2016 23:34:43 +0000 (15:34 -0800)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Mon, 8 Feb 2016 23:34:43 +0000 (15:34 -0800)
* Migrate toolchain_test-merge to using zuul
* update toolchain_test-verify to use new scm macro
* drop the project and branch parameters as zuul doesn't honor them
  anyway

Change-Id: I678bcc3c19477fa245de99d5bc4d09d822339e09
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
jjb/toolchain_test/toolchain_test-custom.yaml

index 527b708..6d0cc9e 100644 (file)
         artifactDaysToKeep: '{build-artifact-days-to-keep}'
         artifactNumToKeep: '{build-artifact-num-to-keep}'
 
-    parameters:
-        - project-parameter:
-            project: '{project}'
-        - gerrit-parameter:
-            branch: '{branch}'
-
     scm:
-        - git:
+        - zuul-trigger-scm:
             credentials-id: '{ssh-credentials}'
-            url: '$ZUUL_URL/$ZUUL_PROJECT'
             refspec: '$ZUUL_REF'
-            branches:
-              - 'origin/$ZUUL_BRANCH'
-            skip-tag: true
-            wipe-workspace: true
 
     wrappers:
         - ssh-agent-credentials:
         artifactDaysToKeep: '{build-artifact-days-to-keep}'
         artifactNumToKeep: '{build-artifact-num-to-keep}'
 
-    parameters:
-        - project-parameter:
-            project: '{project}'
-        - gerrit-parameter:
-            branch: '{branch}'
-
     scm:
-        - gerrit-trigger-scm:
+        - zuul-trigger-scm:
             credentials-id: '{ssh-credentials}'
             refspec: ''
-            choosing-strategy: 'default'
 
     wrappers:
         - ssh-agent-credentials:
             users:
                 - '{ssh-credentials}'
 
-    triggers:
-        - gerrit-trigger-patch-merged:
-            name: '{project}'
-            branch: '{branch}'
-
     builders:
         - shell:
             !include-raw-escape include-raw-toolchain_test-build.sh