mirror of https://github.com/ceph/go-ceph
entrypoint: Accept BUILD_TAGS from execution environment
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
This commit is contained in:
parent
15d71fe192
commit
9897bd034d
|
@ -8,7 +8,7 @@ COVERAGE=yes
|
||||||
CPUPROFILE=no
|
CPUPROFILE=no
|
||||||
MEMPROFILE=no
|
MEMPROFILE=no
|
||||||
MICRO_OSD_PATH="/micro-osd.sh"
|
MICRO_OSD_PATH="/micro-osd.sh"
|
||||||
BUILD_TAGS=""
|
BUILD_TAGS=${BUILD_TAGS:-}
|
||||||
RESULTS_DIR=/results
|
RESULTS_DIR=/results
|
||||||
CEPH_CONF=/tmp/ceph/ceph.conf
|
CEPH_CONF=/tmp/ceph/ceph.conf
|
||||||
MIRROR_STATE=/dev/null
|
MIRROR_STATE=/dev/null
|
||||||
|
@ -325,17 +325,18 @@ pause_if_needed() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [ -z "${BUILD_TAGS}" ]; then
|
||||||
|
if [ -n "${CEPH_VERSION}" ]; then
|
||||||
|
add_build_tag "${CEPH_VERSION}"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -n "${CEPH_VERSION}" ]; then
|
if [ -n "${NO_PTRGUARD}" ]; then
|
||||||
add_build_tag "${CEPH_VERSION}"
|
add_build_tag "no_ptrguard"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "${NO_PTRGUARD}" ]; then
|
if [ -z "${NO_PREVIEW}" ]; then
|
||||||
add_build_tag "no_ptrguard"
|
add_build_tag "ceph_preview"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "${NO_PREVIEW}" ]; then
|
|
||||||
add_build_tag "ceph_preview"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "${BUILD_TAGS}" ]; then
|
if [ -n "${BUILD_TAGS}" ]; then
|
||||||
|
|
Loading…
Reference in New Issue