entrypoint: mention env vars that are not customized by script

Mention the env vars that the go test code looks for but does not change
from the "outer" environment as a way of documenting those variables.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2020-03-24 13:46:08 -04:00 committed by John Mulligan
parent 2ad8361692
commit a5e5ae6206
1 changed files with 5 additions and 0 deletions

View File

@ -16,6 +16,11 @@ CEPH_CONF=/tmp/ceph/ceph.conf
# set defaults if they are currently unset in the environment # set defaults if they are currently unset in the environment
: "${GO_CEPH_TEST_REQUIRE_MOUNT:=yes}" : "${GO_CEPH_TEST_REQUIRE_MOUNT:=yes}"
# Default env vars that are not currently changed by this script
# but can be used to change the test behavior:
# GO_CEPH_TEST_MOUNT_DIR
# GO_CEPH_TEST_MDS_NAME
CLI="$(getopt -o h --long test-run:,test-pkg:,pause,cpuprofile,memprofile,no-cover,micro-osd:,results:,ceph-conf:,help -n "${0}" -- "$@")" CLI="$(getopt -o h --long test-run:,test-pkg:,pause,cpuprofile,memprofile,no-cover,micro-osd:,results:,ceph-conf:,help -n "${0}" -- "$@")"
eval set -- "${CLI}" eval set -- "${CLI}"
while true ; do while true ; do