]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
configure the job to run tests, not build for PRs
authorAlfredo Deza <adeza@redhat.com>
Wed, 17 Feb 2016 14:33:28 +0000 (09:33 -0500)
committerAlfredo Deza <adeza@redhat.com>
Wed, 17 Feb 2016 14:33:28 +0000 (09:33 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-installer-pull-requests/config/definitions/ceph-installer-pull-requests.yml

index a6abd74356b1306bc5feb1b10b6db972e7365d90..29d1b6306014fc7f22de02ff954723e6d11608bd 100644 (file)
@@ -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
           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