]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
container/Containerfile: replace CEPH_VERSION var for backward compat
authorDan Mick <dan.mick@redhat.com>
Fri, 3 Jan 2025 03:15:54 +0000 (19:15 -0800)
committerYuri Weinstein <yweinste@redhat.com>
Fri, 31 Jan 2025 18:20:57 +0000 (18:20 +0000)
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)
(cherry picked from commit ac1a8e9ab4cfae9e5f5482aa1131e45ffc715136)

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}"