]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-build: Change build path for Leap builds 1685/head
authorDavid Galloway <dgallowa@redhat.com>
Thu, 15 Oct 2020 17:43:44 +0000 (13:43 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 3 Nov 2020 21:32:34 +0000 (16:32 -0500)
Previously, packages were being written to `/var/tmp` which does not live on the intended 1TB SSD.

Signed-off-by: David Galloway <dgallowa@redhat.com>
ansible/examples/slave.yml
ceph-dev-build/build/build_osc

index f4ec84296c6e9d5087edd2fc12cea9cf3041f88d..184f27a198789b323234efbc857dfa8e6e16f915 100644 (file)
         block: |
           [general]
           apiurl = https://api.opensuse.org
-          #build-root = /var/tmp/build-root/%(repo)s-%{arch)s
+          build-root = /home/{{ jenkins_user }}/osc/%(repo)s-%{arch)s
           [https://api.opensuse.org]
           user = {{ osc_user }}
           pass = {{ osc_pass }}
index 29aa3af21bbf2a9c9ecca8bf4bb6e4fff33dc894..df063c3b3a308c5064ae93ebef772df65d8040b2 100644 (file)
@@ -25,7 +25,7 @@ esac
 
 OBSPROJ="filesystems:ceph:$RELEASE_BRANCH:upstream"
 OBSARCH="x86_64"
-BUILDHOME=/var/tmp/build-root/$OBSREPO-$OBSARCH/home/abuild
+BUILDHOME=$HOME/osc/$OBSREPO-$OBSARCH/home/abuild
 
 rm -rf $OBSPROJ
 osc co $OBSPROJ