mirror of
https://github.com/ceph/go-ceph
synced 2024-12-18 20:35:33 +00:00
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:
parent
098a730327
commit
394136c25f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user