]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
Add mariner-installer-pull-requests job 118/head
authorTravis Rhoden <trhoden@redhat.com>
Mon, 31 Aug 2015 20:26:02 +0000 (13:26 -0700)
committerTravis Rhoden <trhoden@redhat.com>
Mon, 31 Aug 2015 22:49:32 +0000 (15:49 -0700)
Test PRs for https://github.com/ceph/mariner-installer

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
mariner-installer-pull-requests/config/definitions/mariner-installer-pull-requests.yml [new file with mode: 0644]

diff --git a/mariner-installer-pull-requests/config/definitions/mariner-installer-pull-requests.yml b/mariner-installer-pull-requests/config/definitions/mariner-installer-pull-requests.yml
new file mode 100644 (file)
index 0000000..2f478e6
--- /dev/null
@@ -0,0 +1,61 @@
+- job:
+    name: mariner-installer-pull-requests
+    description: Build and package mariner-installer 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/mariner-installer/
+
+    parameters:
+      - string:
+          name: sha1
+          description: "A pull request ID, like 'origin/pr/72/head'"
+
+    scm:
+      - git:
+          url: https://github.com/ceph/mariner-installer
+          basedir: mariner-installer
+          branches:
+            - ${sha1}
+          refspec: +refs/pull/*:refs/remotes/origin/pr/*
+          browser: githubweb
+          browser-url: https://github.com/ceph/mariner-installer
+          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 "mariner-installer" job's build steps here.
+          !include-raw ../../../mariner-installer/build/build
+
+    publishers:
+      - github-notifier