]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-build: fix chacra url when POSTing repo extra for rpm repos
authorAndrew Schoen <aschoen@redhat.com>
Wed, 19 Oct 2016 18:36:29 +0000 (13:36 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Wed, 26 Oct 2016 20:40:24 +0000 (15:40 -0500)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-build/build/build_rpm

index 13fd7f8e6f88ba390eca33d43be91ab12ca58cd7..6c42bbdf59489bec67538a9127bdad15dcb8f436 100644 (file)
@@ -60,7 +60,7 @@ if [ "$THROWAWAY" = false ] ; then
 EOF
     chacra_repo_endpoint="${chacra_endpoint}/flavors/${FLAVOR}"
     # post the json to repo-extra json to chacra
-    curl -X POST -H "Content-Type:application/json" --data "@$WORKSPACE/repo-extra.json" -u $CHACRACTL_USER:$CHACRACTL_KEY ${chacra_url}repos/${chacra_repo_endpoint}/extra/
+    curl -X POST -H "Content-Type:application/json" --data "@$WORKSPACE/repo-extra.json" -u $CHACRACTL_USER:$CHACRACTL_KEY https://chacra.ceph.com/repos/${chacra_repo_endpoint}/extra/
     # start repo creation
     $VENV/chacractl repo update ${chacra_endpoint}
 fi