]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-ansible-nightly: always test on centos 1017/head
authorSébastien Han <seb@redhat.com>
Fri, 20 Apr 2018 07:30:27 +0000 (09:30 +0200)
committerSébastien Han <seb@redhat.com>
Fri, 20 Apr 2018 07:30:27 +0000 (09:30 +0200)
The job was still configured to test on Ubuntu and we want CentOS.

Signed-off-by: Sébastien Han <seb@redhat.com>
ceph-ansible-nightly/build/build

index 964e3e9cd7e525d1f5190b37617c3cc25241ef32..fc20670598927936baf8931d9f955fdb8ddc053a 100644 (file)
@@ -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