CI: disable VCS stamp for go builds

Signed-off-by: Sven Anderson <sven@redhat.com>
This commit is contained in:
Sven Anderson 2023-02-20 17:38:21 +01:00 committed by mergify[bot]
parent 87041ee7d8
commit 50668e7216
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@ CEPH_CONF=/tmp/ceph/ceph.conf
MIRROR_STATE=/dev/null
PKG_PREFIX=github.com/ceph/go-ceph
ALT_FS="@/tmp/ceph/altfs.txt"
GOFLAGS="-buildvcs=false ${GOFLAGS}"
# Default env vars that are not currently changed by this script
# but can be used to change the test behavior:
@ -311,6 +312,7 @@ test_go_ceph() {
show "${MICRO_OSD_PATH}" /tmp/ceph
fi
export CEPH_CONF
export GOFLAGS
if [[ ${TEST_RUN} == NONE ]]; then
echo "skipping test execution"