From 394136c25f0dad1bda144d2fefa52afd38b09c6e Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Wed, 11 Dec 2024 20:46:49 -0500 Subject: [PATCH] entrypoint: try to ensure CEPH_VERSION is set Our test code uses CEPH_VERSION but (at least for now) the quay.ceph.io ci container no longer sets that environment variable. Signed-off-by: John Mulligan --- entrypoint.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index c6d1741b3..fdb891231 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -16,6 +16,11 @@ PKG_PREFIX=github.com/ceph/go-ceph ALT_FS="@/tmp/ceph/altfs.txt" GOFLAGS="-buildvcs=false ${GOFLAGS}" +# hack around a change to the ci container environment +if [ -z "${CEPH_VERSION}" ]; then + export CEPH_VERSION="${CEPH_REF}" +fi + # Default env vars that are not currently changed by this script # but can be used to change the test behavior: # GO_CEPH_TEST_MDS_NAME