From: Andrew Schoen Date: Tue, 30 Aug 2016 18:29:10 +0000 (-0500) Subject: ceph-dev-build: fix the chacra url when posting repo-extra.json X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F451%2Fhead;p=ceph-build.git ceph-dev-build: fix the chacra url when posting repo-extra.json Signed-off-by: Andrew Schoen --- diff --git a/ceph-dev-build/build/build_deb b/ceph-dev-build/build/build_deb index 8eedb8bf..599ab907 100644 --- a/ceph-dev-build/build/build_deb +++ b/ceph-dev-build/build/build_deb @@ -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} diff --git a/ceph-dev-build/build/build_rpm b/ceph-dev-build/build/build_rpm index b6dab941..893ad9ce 100644 --- a/ceph-dev-build/build/build_rpm +++ b/ceph-dev-build/build/build_rpm @@ -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}