[ "$TEST" = true ] && chacra_ref="test" || chacra_ref="$BRANCH"
chacra_endpoint="ceph-deploy/${chacra_ref}/${DISTRO}/${DISTRO_VERSION}"
- # this exists in scripts/build_utils.sh
- check_binary_existence $chacra_endpoint/$ARCH
+ # this exists in scripts/build_utils.sh for ceph-deploy, binaries have
+ # no architecture so we POST them to 'noarch' for rpms
+ check_binary_existence $chacra_endpoint/noarch
if [ ! -e setup.py ] ; then
echo "Are we in the right directory"
[ "$FORCE" = true ] && chacra_flags="--force" || chacra_flags=""
find ${BUILDAREA}/SRPMS | grep rpm | $VENV/chacractl binary ${chacra_flags} create ${chacra_endpoint}/source
- find ${BUILDAREA}/RPMS/* | grep rpm | $VENV/chacractl binary ${chacra_flags} create ${chacra_endpoint}/${ARCH}
+ find ${BUILDAREA}/RPMS/* | grep rpm | $VENV/chacractl binary ${chacra_flags} create ${chacra_endpoint}/noarch
exit 0
DISTRO=`python -c "exec 'import platform; print platform.linux_distribution()[0].lower()'"`
[ "$TEST" = true ] && chacra_ref="test" || chacra_ref="$BRANCH"
- chacra_endpoint="ceph-deploy/${chacra_ref}/${DISTRO}/${DEB_BUILD}/${ARCH}"
+ # ceph-deploy isn't architecture dependant, so we use 'all' as architecture and
+ # uses 'universal' to signal this is not specific to any distro version
+ chacra_endpoint="ceph-deploy/${chacra_ref}/${DISTRO}/universal/all"
# this exists in scripts/build_utils.sh
check_binary_existence $chacra_endpoint