Skip to content

Commit

Permalink
entrypoint: try to ensure CEPH_VERSION is set
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
phlogistonjohn authored and mergify[bot] committed Dec 17, 2024
1 parent 098a730 commit 394136c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 394136c

Please sign in to comment.