]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
import ceph-package jjb task
authorKen Dreyer <kdreyer@redhat.com>
Tue, 14 Apr 2015 03:58:14 +0000 (21:58 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Tue, 14 Apr 2015 03:59:18 +0000 (21:59 -0600)
This imports the current settings for "ceph-package" as YAML.

This is an import of the job previously defined in Jenkins' own data
store (ie /home2/jenkins/jobs/ceph-package/config.xml)

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
ceph-package/build/build [new file with mode: 0644]
ceph-package/config/definitions/ceph-package.yml [new file with mode: 0644]

diff --git a/ceph-package/build/build b/ceph-package/build/build
new file mode 100644 (file)
index 0000000..6c93610
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+for dir in * ; do
+   echo $dir
+   arch=$(echo $dir | cut -d',' -f1 | cut -d'=' -f2)
+   dist=$(echo $dir | cut -d',' -f2 | cut -d'=' -f2 | cut -d'-' -f1)
+   echo "arch = $arch, dist = $dist"
+   if [ -d $dir/dist/rpm ] ; then
+        echo "rpms"
+   fi
+   if [ -d $dir/dist/debian ] ; then
+        echo "debian"
+   fi
+done
diff --git a/ceph-package/config/definitions/ceph-package.yml b/ceph-package/config/definitions/ceph-package.yml
new file mode 100644 (file)
index 0000000..2226a42
--- /dev/null
@@ -0,0 +1,56 @@
+- job:
+    name: ceph-build
+    defaults: global
+    disabled: false
+    display-name: 'ceph-build'
+    node: package
+    concurrent: false
+    block-downstream: false
+    block-upstream: false
+    logrotate:
+      daysToKeep: -1
+      numToKeep: 20
+      artifactDaysToKeep: -1
+      artifactNumToKeep: -1
+
+    execution-strategy:
+      combination-filter: |
+        (Arch=="x86_64") || (Arch=="i386" && (Distro=="wheezy-pbuild" || Distro=="precise-pbuild"))
+
+    axes:
+      - axis:
+          type: label-expression
+          name: Arch
+          values:
+            - x86_64
+            - i386
+      - axis:
+          type: label-expression
+          name: Distro
+          values:
+            - squeeze-pbuild
+            - wheezy-pbuild
+            - precise-pbuild
+            - trusty-pbuild
+            - centos6.3
+            - centos6.4
+            - centos6.5
+            - centos7
+            - rhel6.3
+            - rhel6.4
+            - rhel6.5
+            - rhel7
+            - fedora20
+
+    builders:
+
+      # "Clean up any prior stuff"
+      - shell: 'rm -rf Arch=* 2>/dev/null; true'
+
+      - copyartifact:
+          project: ceph-build
+          filter: 'dist/**'
+          which-build: last-successful
+
+      - shell:
+          !include-raw ../../build/build