]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-prs-arm: create a job to build arm on PRs 689/head
authorAlfredo Deza <adeza@redhat.com>
Mon, 24 Apr 2017 18:04:46 +0000 (14:04 -0400)
committerAlfredo Deza <adeza@redhat.com>
Tue, 25 Apr 2017 18:22:30 +0000 (14:22 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-pr-arm-trigger/config/definitions/ceph-pr-arm-trigger.yml [new file with mode: 0644]

diff --git a/ceph-pr-arm-trigger/config/definitions/ceph-pr-arm-trigger.yml b/ceph-pr-arm-trigger/config/definitions/ceph-pr-arm-trigger.yml
new file mode 100644 (file)
index 0000000..91b556f
--- /dev/null
@@ -0,0 +1,59 @@
+- job:
+    name: ceph-pr-arm-trigger
+    node: master
+    project-type: freestyle
+    defaults: global
+    quiet-period: 5
+    block-downstream: false
+    block-upstream: false
+    properties:
+      - github:
+          url: https://github.com/ceph/ceph
+    discard-old-builds: true
+    logrotate:
+      daysToKeep: 1
+      numToKeep: 10
+      artifactDaysToKeep: -1
+      artifactNumToKeep: -1
+
+    triggers:
+      - github-pull-request:
+          allow-whitelist-orgs-as-admins: true
+          org-list:
+            - ceph
+          trigger-phrase: 'jenkins test arm'
+          only-trigger-phrase: false
+          github-hooks: true
+          permit-all: true
+          auto-close-on-fail: false
+          status-context: "arm build"
+          started-status: "building on arm"
+          success-status: "successfully built on arm"
+          failure-status: "could not build on arm"
+
+    scm:
+      - git:
+          url: https://github.com/ceph/ceph
+          browser: auto
+          skip-tag: true
+          timeout: 20
+          wipe-workspace: true
+
+    builders:
+      - trigger-builds:
+        # 'ceph-dev' uses ceph.git, where this PR would live at
+        - project: 'ceph-dev'
+          predefined-parameters: |
+            # XXX unsure if $GIT_BRANCH will translate correctly to the actual
+            # source of the PR
+            BRANCH=${GIT_BRANCH}
+            FORCE=True
+            DISTROS="xenial centos7"
+            ARCHS="arm64"
+            # Do not post to chacra
+            THROWAWAY=True
+
+    wrappers:
+      - inject-passwords:
+          global: true
+          mask-password-params: true