]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-deploy: set wipe-workspace to true and remove cleanup code
authorAndrew Schoen <aschoen@redhat.com>
Fri, 6 Nov 2015 16:44:05 +0000 (10:44 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Fri, 6 Nov 2015 16:44:05 +0000 (10:44 -0600)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-deploy/build/build
ceph-deploy/config/definitions/ceph-deploy.yml

index 3ea352464841fe96c0ebb18a22ef34f3f2c3e2fc..07ddc9caaca571c59d608e4dbf1ee53bdb7dd4b3 100644 (file)
@@ -32,8 +32,6 @@ listcontains() {
 
 if listcontains $DIST "$rpm_dists"
 then
-        rm -rf rpm-repo dist/* build/rpmbuild
-
         # Tag tree and update version number in change log and
         # in setup.py before building.
 
@@ -77,15 +75,10 @@ then
         find ${BUILDAREA}/SRPMS | grep rpm | chacractl binary ${chacra_flags} create ${chacra_baseurl}/source
         find ${BUILDAREA}/RPMS/* | grep rpm | chacractl binary ${chacra_flags} create ${chacra_baseurl}/${ARCH}
 
-        cd $WORKSPACE
-        mkdir -p dist
         exit 0
 
 elif listcontains $DIST "$deb_dists"
 then
-        rm -rf debian-repo
-        rm -rf dist
-        rm -f ../*.changes ../*.dsc ../*.gz ../*.diff
 
     # Tag tree and update version number in change log and
     # in setup.py before building.
@@ -115,10 +108,6 @@ then
         exit 1
     fi
 
-    # Clean up any leftover builds
-    rm -f ../ceph-deploy*.dsc ../ceph-deploy*.changes ../ceph-deploy*.deb ../ceph-deploy.tgz
-    rm -rf ./debian-repo
-
     # Apply backport tag if release build
     if [ $RELEASE -eq 1 ] ; then
         DEB_VERSION=$(dpkg-parsechangelog | sed -rne 's,^Version: (.*),\1, p')
index deafb9e55c5ec77acb03a176f9c8757e73192f63..9acba66bccf64e9334eacf613d18019f24b9f5ed 100644 (file)
@@ -43,6 +43,7 @@ If this is checked, then the binaries will be built and pushed to chacra even if
           browser-url: http://github.com/ceph/ceph-deploy.git
           skip-tag: true
           timeout: 20
+          wipe-workspace: true
 
     axes:
       - axis: