]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
use $BRANCH as the chacra_ref 179/head
authorAndrew Schoen <aschoen@redhat.com>
Wed, 28 Oct 2015 20:44:37 +0000 (15:44 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Wed, 28 Oct 2015 20:44:37 +0000 (15:44 -0500)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-build-next/build/build_deb
ceph-build-next/build/build_rpm

index d273a8bdfb7479543fc768dc975b49b87c103fd2..6c179786ca5dedd2c8ed5e571ea22e0159770087 100644 (file)
@@ -28,7 +28,7 @@ get_bptag() {
 
 BPTAG=`get_bptag $DIST`
 
-[ "$TEST" = true ] && chacra_ref="test" || chacra_ref="$vers"
+[ "$TEST" = true ] && chacra_ref="test" || chacra_ref="$BRANCH"
 vers=`cat ./dist/version`
 distro=`python -c "exec 'import platform; print platform.linux_distribution()[0].lower()'"`
 chacra_endpoint="ceph/${chacra_ref}/${distro}/{$dist}/${ARCH}"
index 12116e91839674650202d80f8177d2803cc9fb75..6e85393d6aaf8b5c426e3558871e458d2cbb0133 100644 (file)
@@ -56,7 +56,7 @@ dist=$DIST
 echo dist $dist
 
 vers=`cat ./dist/version`
-[ "$TEST" = true ] && chacra_ref="test" || chacra_ref="$vers"
+[ "$TEST" = true ] && chacra_ref="test" || chacra_ref="$BRANCH"
 chacra_baseurl="ceph/${chacra_ref}/${DISTRO}/${RELEASE}"
 
 ./venv/bin/chacractl exists binaries/${chacra_baseurl}/${ARCH}; exists=$? || true