]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
start repo creation after all binaries are uploaded 423/head
authorAndrew Schoen <aschoen@redhat.com>
Fri, 5 Aug 2016 14:59:29 +0000 (09:59 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Fri, 5 Aug 2016 14:59:29 +0000 (09:59 -0500)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-build/build/build_deb
ceph-build/build/build_rpm
ceph-dev-build/build/build_deb
ceph-dev-build/build/build_rpm

index d8a1993dfdff159341d106a9f8503b7c500c0b9a..294337054bc72504b0e3bbd4340e4c348cd6d084 100644 (file)
@@ -71,6 +71,7 @@ bpvers=`gen_debian_version $debian_version $DIST`
 
 # look for a specific package to tell if we can avoid the build
 chacra_endpoint="ceph/${chacra_ref}/${SHA1}/${distro}/${DIST}/${ARCH}"
+chacra_repo_endpoint="ceph/${chacra_ref}/${SHA1}/${distro}/${DIST}"
 DEB_ARCH=`dpkg-architecture | grep DEB_BUILD_ARCH\= | cut -d '=' -f 2`
 chacra_check_url="${chacra_endpoint}/librados2_${bpvers}_${DEB_ARCH}.deb"
 
@@ -189,4 +190,6 @@ echo lintian --allow-root $releasedir/$cephver/*$bpvers*.deb
 if [ "$THROWAWAY" = false ] ; then
     # push binaries to chacra
     find release/$vers/ | egrep "*\.(changes|deb|dsc|gz)$" | egrep -v "(Packages|Sources|Contents)" | $VENV/chacractl binary ${chacra_flags} create ${chacra_endpoint}
+    # start repo creation
+    $VENV/chacractl repo update ${chacra_repo_endpoint}
 fi
index 605bcdf8c942054c30eb30c1e0ac3d9e1239daef..16e6be4d87ef2374fc608f97faf72fa481905081 100644 (file)
@@ -119,4 +119,6 @@ if [ "$THROWAWAY" = false ] ; then
     # push binaries to chacra
     find release/${vers}/rpm/*/SRPMS | grep rpm | $VENV/chacractl binary ${chacra_flags} create ${chacra_endpoint}/source
     find release/${vers}/rpm/*/RPMS/* | grep rpm | $VENV/chacractl binary ${chacra_flags} create ${chacra_endpoint}/${ARCH}
+    # start repo creation
+    $VENV/chacractl repo update ${chacra_endpoint}
 fi
index c9dde1cb8956b7124e96c9991277b0a9e36b28cf..937633cda96f6ff78100dff841c2994edcee2256 100644 (file)
@@ -69,6 +69,7 @@ bpvers=`gen_debian_version $debian_version $DIST`
 
 # look for a specific package to tell if we can avoid the build
 chacra_endpoint="ceph/${chacra_ref}/${SHA1}/${distro}/${DIST}/${ARCH}"
+chacra_repo_endpoint="ceph/${chacra_ref}/${SHA1}/${distro}/${DIST}"
 DEB_ARCH=`dpkg-architecture | grep DEB_BUILD_ARCH\= | cut -d '=' -f 2`
 chacra_check_url="${chacra_endpoint}/librados2_${bpvers}_${DEB_ARCH}.deb"
 
@@ -187,4 +188,6 @@ echo lintian --allow-root $releasedir/$cephver/*$bpvers*.deb
 if [ "$THROWAWAY" = false ] ; then
     # push binaries to chacra
     find release/$vers/ | egrep "*\.(changes|deb|dsc|gz)$" | egrep -v "(Packages|Sources|Contents)" | $VENV/chacractl binary ${chacra_flags} create ${chacra_endpoint}
+    # start repo creation
+    $VENV/chacractl repo update ${chacra_repo_endpoint}
 fi
index e6961b822267b6ace899c76751181e7a757f5799..de981ecb3b196896adbd6eb48c45e86e1ec2e90e 100644 (file)
@@ -117,4 +117,6 @@ if [ "$THROWAWAY" = false ] ; then
     # push binaries to chacra
     find release/${vers}/rpm/*/SRPMS | grep rpm | $VENV/chacractl binary ${chacra_flags} create ${chacra_endpoint}/source
     find release/${vers}/rpm/*/RPMS/* | grep rpm | $VENV/chacractl binary ${chacra_flags} create ${chacra_endpoint}/${ARCH}
+    # start repo creation
+    $VENV/chacractl repo update ${chacra_endpoint}
 fi