]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-new-build: use dynamic chacra url for windows build 1753/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 26 Feb 2021 00:54:47 +0000 (19:54 -0500)
committerJason Dillaman <dillaman@redhat.com>
Fri, 26 Feb 2021 00:54:47 +0000 (19:54 -0500)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
ceph-dev-new-build/build/setup_mingw

index 53d3e552cbf1bd7063ac56a26fb801fe8556ce77..aa0e221df1c4bb9c7f875fc9b638b3bd6ebc149e 100644 (file)
@@ -47,8 +47,10 @@ create_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORM
 pkgs=( "chacractl>=0.0.21" )
 install_python_packages "pkgs[@]"
 
-chacra_url=https://chacra.ceph.com/
-make_chacractl_config
+# ask shaman which chacra instance to use
+chacra_url=`curl -u $SHAMAN_API_USER:$SHAMAN_API_KEY https://shaman.ceph.com/api/nodes/next/`
+# create the .chacractl config file using global variables
+make_chacractl_config $chacra_url
 
 FLAVOR="default"