]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
run make check on pull requests 35/head
authorLoic Dachary <ldachary@redhat.com>
Thu, 4 Dec 2014 23:47:42 +0000 (00:47 +0100)
committerLoic Dachary <ldachary@redhat.com>
Mon, 15 Dec 2014 20:15:57 +0000 (21:15 +0100)
Signed-off-by: Loic Dachary <loic@dachary.org>
ceph-pull-requests/build/build [new file with mode: 0755]
ceph-pull-requests/config/definitions/ceph-pull-requests.yml [new file with mode: 0644]

diff --git a/ceph-pull-requests/build/build b/ceph-pull-requests/build/build
new file mode 100755 (executable)
index 0000000..92394de
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+set -ex 
+
+echo make check
+ls -la
+
diff --git a/ceph-pull-requests/config/definitions/ceph-pull-requests.yml b/ceph-pull-requests/config/definitions/ceph-pull-requests.yml
new file mode 100644 (file)
index 0000000..6726f96
--- /dev/null
@@ -0,0 +1,60 @@
+- job:
+    name: ceph-pull-requests
+    node: fedora20
+    project-type: freestyle
+    defaults: global
+    disabled: false
+    display-name: 'ceph-make-check: Pull Requests'
+    concurrent: false
+    quiet-period: 5
+    block-downstream: false
+    block-upstream: false
+    retry-count: 3
+    properties:
+      - github:
+          url: https://github.com/ceph/ceph
+    logrotate:
+      daysToKeep: 15
+      numToKeep: 30
+      artifactDaysToKeep: -1
+      artifactNumToKeep: -1
+
+    parameters:
+      - string:
+          name: sha1
+          description: "A pull request ID, like 'origin/pr/72/head'"
+
+    triggers:
+      - pollscm: "*/1 * * * *"
+      - github-pull-request:
+          cron: '* * * * *'
+          admin-list:
+            - alfredodeza
+            - ktdreyer
+            - admin
+          org-list:
+            - ceph
+          trigger-phrase: 'make-check'
+          only-trigger-phrase: false
+          github-hooks: true
+          permit-all: false
+          auto-close-on-fail: false
+
+    scm:
+      - git:
+          url: https://github.com/ceph/ceph.git
+          branches:
+            - ${sha1}
+          refspec: +refs/pull/*:refs/remotes/origin/pr/*
+          browser: githubweb
+          browser-url: https://github.com/ceph/ceph
+          timeout: 60
+          skip-tag: true
+          wipe-workspace: false
+
+    builders:
+      - shell:
+          !include-raw ../../build/build
+
+    publishers:
+      - github-notifier