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 <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2024-12-11 20:46:49 -05:00 committed by mergify[bot]
parent 098a730327
commit 394136c25f

View File

@ -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