From: Alfredo Deza Date: Wed, 17 Feb 2016 14:33:28 +0000 (-0500) Subject: configure the job to run tests, not build for PRs X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a7fabe79847576722276d7329b804908e53a845e;p=ceph-build.git configure the job to run tests, not build for PRs Signed-off-by: Alfredo Deza --- diff --git a/ceph-installer-pull-requests/config/definitions/ceph-installer-pull-requests.yml b/ceph-installer-pull-requests/config/definitions/ceph-installer-pull-requests.yml index a6abd743..29d1b630 100644 --- a/ceph-installer-pull-requests/config/definitions/ceph-installer-pull-requests.yml +++ b/ceph-installer-pull-requests/config/definitions/ceph-installer-pull-requests.yml @@ -1,49 +1,36 @@ - 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 + name: ceph-installer-pull-requests + description: Unit-test the ceph-installer for each GitHub PR + project-type: freestyle block-downstream: false block-upstream: false + defaults: global + display-name: 'ceph-installer: Pull Requests' + quiet-period: 5 + retry-count: 3 + + logrotate: + daysToKeep: 15 + numToKeep: 30 + artifactDaysToKeep: 15 + artifactNumToKeep: 15 properties: - github: - url: https://github.com/ceph/mariner-installer/ + url: https://github.com/ceph/ceph-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: auto - timeout: 20 - skip-tag: true - wipe-workspace: true - triggers: - github-pull-request: admin-list: - alfredodeza - dmick - ktdreyer - - trhoden + - andrewschoen org-list: - ceph only-trigger-phrase: false @@ -51,10 +38,20 @@ permit-all: false auto-close-on-fail: false + scm: + - git: + url: https://github.com/ceph/ceph-installer + branches: + - ${sha1} + refspec: +refs/pull/*:refs/remotes/origin/pr/* + browser: auto + timeout: 20 + skip-tag: true + wipe-workspace: true + builders: - shell: - # Note that we're including the main "mariner-installer" job's build steps here. - !include-raw ../../../mariner-installer/build/build + !include-raw ../../build/build publishers: - github-notifier