]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge PR #67895 into tentacle
authorPatrick Donnelly <pdonnell@ibm.com>
Sat, 9 May 2026 00:00:46 +0000 (20:00 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Sat, 9 May 2026 00:00:46 +0000 (20:00 -0400)
* refs/pull/67895/head:
container/build.sh: add 'rocky-10' suffix if necessary

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: David Galloway <dgallowa@redhat.com>
1  2 
container/build.sh

index 438926054d2687525ab50499f1a86c3e2fb65332,20e49c7b3920754c294c7ec3269566dfcdea86b2..9c39c3e1b7e04f60b6e6c552a6f64835f49970ad
@@@ -163,21 -162,15 +163,31 @@@ repopath=${CONTAINER_REPO_HOSTNAME}/${C
  if [[ ${CI_CONTAINER} == "true" ]] ; then
      # ceph-ci conventions for remote tags:
      # requires ARCH, BRANCH, CEPH_SHA1, FLAVOR
 -    full_repo_tag=${repopath}:${BRANCH}-${fromtag}-${ARCH}-devel
 -    branch_repo_tag=${repopath}:${BRANCH}
 -    sha1_repo_tag=${repopath}:${CEPH_SHA1}
 +    if [[ ${FLAVOR} == "debug" ]]; then
 +        # add -debug suffix to flavor debug builds
 +        full_repo_tag=${repopath}:${BRANCH}-${fromtag}-${ARCH}-devel-${FLAVOR}
 +        branch_repo_tag=${repopath}:${BRANCH}-${FLAVOR}
 +        sha1_repo_tag=${repopath}:${CEPH_SHA1}-${FLAVOR}
 +    else
 +        full_repo_tag=${repopath}:${BRANCH}-${fromtag}-${ARCH}-devel
 +        branch_repo_tag=${repopath}:${BRANCH}
 +        sha1_repo_tag=${repopath}:${CEPH_SHA1}
 +    fi
 +    # while we have more than just centos9 containers:
 +    # anything that's not gets suffixed with its fromtag
 +    # for the branch and sha1 tags (for example, <branch>-rocky-10).
 +    # The default can change when it needs to.
 +
++    if [[ "${fromtag}" != "centos-stream9" ]] ; then
++        branch_repo_tag=${repopath}:${BRANCH}-${fromtag}
++        sha1_repo_tag=${repopath}:${CEPH_SHA1}-${fromtag}
++    fi
+     # while we have more than just centos9 containers:
+     # anything that's not gets suffixed with its fromtag
+     # for the branch and sha1 tags (for example, <branch>-rocky-10).
+     # The default can change when it needs to.
      if [[ "${fromtag}" != "centos-stream9" ]] ; then
          branch_repo_tag=${repopath}:${BRANCH}-${fromtag}
          sha1_repo_tag=${repopath}:${CEPH_SHA1}-${fromtag}