From: Ken Dreyer Date: Thu, 27 Aug 2015 23:22:28 +0000 (-0600) Subject: import takora-pull-requests job X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=c0f81fb29a6acc6456517223acb7caa2910ba80b;p=ceph-build.git import takora-pull-requests job --- 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 index 00000000..243b9982 --- /dev/null +++ b/takora-pull-requests/config/definitions/takora-pull-requests.yml @@ -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