From bce7ac4d2bf4f8aeb81de314bbf29f228d4c0c17 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Tue, 3 Nov 2015 09:04:07 -0600 Subject: [PATCH] ceph-release-rpm: fix the chacra TEST flag actually post to the 'test' ref now Signed-off-by: Andrew Schoen --- ceph-release-rpm/build/build | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ceph-release-rpm/build/build b/ceph-release-rpm/build/build index 34c5c2a8..c09fa116 100644 --- a/ceph-release-rpm/build/build +++ b/ceph-release-rpm/build/build @@ -36,23 +36,23 @@ EOF # What are we building ? +[ "$TEST" = true ] && chacra_ref="test" || chacra_ref="${RELEASE}" + target=$DIST if [ "$target" = "centos6" ] ; then target=el6 - chacra_baseurl="ceph/${RELEASE}/centos/6" + chacra_baseurl="ceph/${chacra_ref}/centos/6" fi if [ "$target" = "centos7" ] ; then target=el7 - chacra_baseurl="ceph/${RELEASE}/centos/7" + chacra_baseurl="ceph/${chacra_ref}/centos/7" fi if [ "$target" = "sles11sp2" ] ; then target=sles11 - chacra_baseurl="ceph/${RELEASE}/sles/11" + chacra_baseurl="ceph/${chacra_ref}/sles/11" fi echo "Target directory is: $target" -[ "$TEST" = true ] && chacra_ref="test" || chacra_ref="$BRANCH" - chacractl exists binaries/${chacra_baseurl}/${ARCH}; exists=$? || true # if the binary already exists in chacra, do not rebuild -- 2.47.3