]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-build: set FLAVOR to default
authorAndrew Schoen <aschoen@redhat.com>
Wed, 19 Oct 2016 17:14:52 +0000 (12:14 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Wed, 26 Oct 2016 20:40:23 +0000 (15:40 -0500)
We don't build multiple flavors for upstream releases, but we use the
full chacra url when uploading binaries and updating repos.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-build/build/setup_deb
ceph-build/build/setup_rpm

index 779fbff05a0e13ddb972464cd9ef8203d8a10dac..1718a66fb38e154d693085cda1f4abf72b20058a 100644 (file)
@@ -107,6 +107,8 @@ install_python_packages "pkgs[@]"
 
 make_chacractl_config
 
+FLAVOR="default"
+
 # look for a specific package to tell if we can avoid the build
 chacra_endpoint="ceph/${chacra_ref}/${SHA1}/${distro}/${DIST}/${ARCH}/flavors/${FLAVOR}"
 chacra_repo_endpoint="ceph/${chacra_ref}/${SHA1}/${distro}/${DIST}/flavors/${FLAVOR}"
index 4a5d10947968f8a9682d18c9f7006853361762a5..31255f53dc0c5ee3196f592e28436a431fb46c7a 100644 (file)
@@ -123,6 +123,8 @@ echo dist $dist
 vers=`cat ./dist/version`
 chacra_ref="$BRANCH"
 
+FLAVOR="default"
+
 chacra_endpoint="ceph/${chacra_ref}/${SHA1}/${DISTRO}/${RELEASE}"
 chacra_check_url="${chacra_endpoint}/${ARCH}/flavors/${FLAVOR}/librados2-${vers}-0.${DIST}.${ARCH}.rpm"