]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
takora: removes job
authorAlfredo Deza <adeza@redhat.com>
Tue, 30 Aug 2016 17:22:49 +0000 (13:22 -0400)
committerAlfredo Deza <adeza@redhat.com>
Tue, 13 Dec 2016 15:03:07 +0000 (10:03 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
takora/build/build [deleted file]
takora/config/definitions/takora.yml [deleted file]

diff --git a/takora/build/build b/takora/build/build
deleted file mode 100644 (file)
index dc3b66c..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/bash -ex
-
-echo "BRANCH: $BRANCH"
-cd $WORKSPACE/takora
-
-# FIXME A very naive way to just list the RPM $DIST that we currently support.
-# We should be a bit more lenient to allow any rhel/centos/sles/suse
-rpm_dists="rhel centos6 centos7 centos"
-deb_dists="precise wheezy squeeze trusty"
-
-# A helper to match an item in a list of items, like python's `if item in list`
-listcontains() {
-  for word in $2; do
-    [[ $word = $1 ]] && return 0
-  done
-  return 1
-}
-
-if listcontains $DIST "$deb_dists" ; then
-    DEBIAN=1
-    dpkg-buildpackage -us -uc
-elif listcontains $DIST "$rpm_dists" ; then
-    DEBIAN=0
-    tito build --rpm
-else
-    echo "Can't determine build host type"
-    exit 1
-fi
-
-if [ -n "$BRANCH" ]; then
-    # A user explicitly told Jenkins to build a branch.
-    # (ie, this is not an automatic GitHub pull request build.)
-    # Move the artifacts into position for archiving.
-    cd $WORKSPACE
-    rm -rf $BRANCH
-    mkdir $BRANCH
-
-    if [ $DEBIAN = 1 ] ; then
-        mv *.deb *.dsc *.changes *.tar.gz $BRANCH
-    else
-        find rpmbuild -name '*.rpm' -o -name '*.srpm' | xargs -i mv {} $BRANCH
-    fi
-fi
diff --git a/takora/config/definitions/takora.yml b/takora/config/definitions/takora.yml
deleted file mode 100644 (file)
index ab5b3f5..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-- job:
-    name: takora
-    description: Build and package takora
-    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/
-
-    scm:
-    - git:
-        skip-tag: true
-        basedir: takora
-        url: https://github.com/ceph/takora
-        branches:
-         - $BRANCH
-
-    execution-strategy:
-      run-sequentially: false
-
-    builders:
-    - shell:
-        !include-raw ../../build/build
-    parameters:
-    - string:
-        default: master
-        description: 'The git branch or tag to build'
-        name: BRANCH
-
-    publishers:
-    - archive:
-        allow-empty: false
-        artifacts: $BRANCH/*
-        default-excludes: true
-        fingerprint: false
-        only-if-success: false
-    - description-setter:
-        regexp: '^BRANCH: (\S+)'
-        set-for-matrix: false