From 5d0efed8415f9c3611efdba0ce8627be3230f14e Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Tue, 30 Aug 2016 13:29:10 -0500 Subject: [PATCH] ceph-dev-build: fix the chacra url when posting repo-extra.json Signed-off-by: Andrew Schoen --- ceph-dev-build/build/build_deb | 2 +- ceph-dev-build/build/build_rpm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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} -- 2.47.3