]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
import takora-pull-requests job 115/head
authorKen Dreyer <kdreyer@redhat.com>
Thu, 27 Aug 2015 23:22:28 +0000 (17:22 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Thu, 27 Aug 2015 23:23:07 +0000 (17:23 -0600)
takora-pull-requests/config/definitions/takora-pull-requests.yml [new file with mode: 0644]

diff --git a/takora-pull-requests/config/definitions/takora-pull-requests.yml b/takora-pull-requests/config/definitions/takora-pull-requests.yml
new file mode 100644 (file)
index 0000000..243b998
--- /dev/null
@@ -0,0 +1,60 @@
+- job:
+    name: takora-pull-requests
+    description: Build and package takora for each GitHub PR
+    project-type: matrix
+    axes:
+    - axis:
+        name: Arch
+        type: label-expression
+        values:
+        - x86_64
+    - axis:
+        name: Dist
+        type: label-expression
+        values:
+        - trusty
+    block-downstream: false
+    block-upstream: false
+
+    properties:
+    - github:
+        url: https://github.com/ceph/takora/
+
+    parameters:
+      - string:
+          name: sha1
+          description: "A pull request ID, like 'origin/pr/72/head'"
+
+    scm:
+      - git:
+          url: https://github.com/ceph/takora
+          branches:
+            - ${sha1}
+          refspec: +refs/pull/*:refs/remotes/origin/pr/*
+          browser: githubweb
+          browser-url: https://github.com/ceph/takora
+          timeout: 20
+          skip-tag: true
+          wipe-workspace: true
+
+    triggers:
+      - github-pull-request:
+          admin-list:
+            - alfredodeza
+            - dmick
+            - ktdreyer
+            - trhoden
+          org-list:
+            - ceph
+          only-trigger-phrase: false
+          github-hooks: true
+          permit-all: false
+          auto-close-on-fail: false
+
+    builders:
+    - shell:
+        # Note that we're including the main "takora" job's build steps here.
+        !include-raw ../../../takora/build/build
+
+    publishers:
+      - github-notifier