From: Sébastien Han Date: Fri, 20 Apr 2018 07:30:27 +0000 (+0200) Subject: ceph-ansible-nightly: always test on centos X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1017%2Fhead;p=ceph-build.git ceph-ansible-nightly: always test on centos The job was still configured to test on Ubuntu and we want CentOS. Signed-off-by: Sébastien Han --- diff --git a/ceph-ansible-nightly/build/build b/ceph-ansible-nightly/build/build index 964e3e9cd..fc2067059 100644 --- a/ceph-ansible-nightly/build/build +++ b/ceph-ansible-nightly/build/build @@ -22,7 +22,7 @@ function count_tag_pages { function find_latest_tag { release="$1" for page in $(seq 1 $total_pages); do - tag=$(curl -s "https://registry.hub.docker.com/v2/repositories/ceph/daemon/tags/?page=$page" | jq ".\"results\"[] | select((.name | contains(\"stable\")) and (.name | contains(\"${release}-ubuntu-16.04-x86_64\"))) | .name") + tag=$(curl -s "https://registry.hub.docker.com/v2/repositories/ceph/daemon/tags/?page=$page" | jq ".\"results\"[] | select((.name | contains(\"stable\")) and (.name | contains(\"${release}-centos-7-x86_64\"))) | .name") if [ -n "$tag" ]; then echo "$tag" | cut -d '"' -f 2 return