]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-build: fix the chacra url when posting repo-extra.json 451/head
authorAndrew Schoen <aschoen@redhat.com>
Tue, 30 Aug 2016 18:29:10 +0000 (13:29 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 30 Aug 2016 18:38:33 +0000 (13:38 -0500)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-dev-build/build/build_deb
ceph-dev-build/build/build_rpm

index 8eedb8bff822abf783d1b7fc426c9ca1465bf197..599ab90780a04fa60a2a09a617f15648fad500ae 100644 (file)
@@ -196,7 +196,7 @@ if [ "$THROWAWAY" = false ] ; then
 }
 EOF
     # 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}${chacra_repo_endpoint}/extra/
+    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/
     # start repo creation
     $VENV/chacractl repo update ${chacra_repo_endpoint}
 
index b6dab9417f20dbaf488926ffbf2b8479cfae213c..893ad9ce70b02992cfff600ae026e1602d22ee41 100644 (file)
@@ -237,7 +237,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}${chacra_repo_endpoint}/extra/
+    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/
     # start repo creation
     $VENV/chacractl repo update ${chacra_repo_endpoint}