From: Loic Dachary Date: Thu, 4 Dec 2014 23:47:42 +0000 (+0100) Subject: run make check on pull requests X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F35%2Fhead;p=ceph-build.git run make check on pull requests Signed-off-by: Loic Dachary --- diff --git a/ceph-pull-requests/build/build b/ceph-pull-requests/build/build new file mode 100755 index 000000000..92394de0b --- /dev/null +++ b/ceph-pull-requests/build/build @@ -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 index 000000000..6726f9692 --- /dev/null +++ b/ceph-pull-requests/config/definitions/ceph-pull-requests.yml @@ -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