shaman: use 'ready' repo instead of any

We seem to have been requesting the latest build from the Shaman API
provided by Ceph however we did not filter the status to be 'ready'
which meant that we sometimes got 'building' status repositories that
cause the jobs to fail.
This should stabilize jobs a lot more by using only the ready
repositories.
Change-Id: Iff47bbe4954da3ab582a007ba04b3df50ae21cd4
This commit is contained in:
Mohammed Naser
2020年08月19日 16:14:26 -04:00
parent 62fab285e8
commit 6b409867bf

View File

@@ -902,7 +902,7 @@ function configure_repo_ceph {
fi
if [ -n "${repo_file_name}" ]; then
repo=$(curl -L "https://shaman.ceph.com/api/search/?project=ceph&distros=${distro_type}/${distro_release}&ref=${ceph_release}&sha1=${repo_type}" | \
repo=$(curl -L "https://shaman.ceph.com/api/search/?project=ceph&status=ready&distros=${distro_type}/${distro_release}&ref=${ceph_release}&sha1=${repo_type}" | \
jq '.[0] | .chacra_url' | tr -d '"' | awk '{print 1ドル"repo"}')
curl -L $repo | sudo tee ${repo_file_name}
sudo ${package_manager} -y update
Reference in New Issue
openstack/devstack-plugin-ceph
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.