entrypoint: Accept BUILD_TAGS from execution environment
@@ -8,7 +8,7 @@ COVERAGE=yes
CPUPROFILE=no
MEMPROFILE=no
MICRO_OSD_PATH="/micro-osd.sh"
-BUILD_TAGS=""
+BUILD_TAGS=${BUILD_TAGS:-}
RESULTS_DIR=/results
CEPH_CONF=/tmp/ceph/ceph.conf
MIRROR_STATE=/dev/null
@@ -325,7 +325,7 @@ pause_if_needed() {
fi
}
-
+if [ -z "${BUILD_TAGS}" ]; then
if [ -n "${CEPH_VERSION}" ]; then
add_build_tag "${CEPH_VERSION}"
fi
@@ -337,6 +337,7 @@ fi
if [ -z "${NO_PREVIEW}" ]; then
add_build_tag "ceph_preview"
fi
+fi
if [ -n "${BUILD_TAGS}" ]; then
BUILD_TAGS="-tags ${BUILD_TAGS}"
