]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
container/Containerfile: replace CEPH_VERSION var for backward compat 61580/head
authorDan Mick <dan.mick@redhat.com>
Fri, 3 Jan 2025 03:15:54 +0000 (19:15 -0800)
committerDan Mick <dan.mick@redhat.com>
Thu, 30 Jan 2025 01:08:33 +0000 (17:08 -0800)
CEPH_VERSION used to be present in the env to hold the ref.  Other projects
relied on this.  Make life easier for them.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit 3075894aab604ffdfb81d3eb1af675cdbc6aa776)

container/Containerfile

index c954ebed1be81841ba8bfaa3460f59f0e37aed69..9a5a88e76a1517abec4c55ed3f3a128974e77ee5 100644 (file)
@@ -212,6 +212,7 @@ RUN rpm -q $(cat packages.txt) && rm -f /var/lib/rpm/__db* && rm -f *packages.tx
 # Set some envs in the container for quickly inspecting details about the build at runtime
 ENV CEPH_IS_DEVEL="${CI_CONTAINER}" \
     CEPH_REF="${CEPH_REF}" \
+    CEPH_VERSION="${CEPH_REF}" \
     CEPH_OSD_FLAVOR="${OSD_FLAVOR}" \
     FROM_IMAGE="${FROM_IMAGE}"