From cb2259a9ada988f46f556555e0ac52d1dc7117f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Han?= Date: Fri, 20 Apr 2018 09:30:27 +0200 Subject: [PATCH] ceph-ansible-nightly: always test on centos MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The job was still configured to test on Ubuntu and we want CentOS. Signed-off-by: Sébastien Han --- ceph-ansible-nightly/build/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3