Skip to content

Commit 9f167db

Browse files
committed
Squashed 'release-tools/' changes from 988496a1f..e31de525b
e31de525b Merge pull request #261 from huww98/golang fd153a9e2 Bump golang to 1.23.1 a8b3d0504 pull-test.sh: fix "git subtree pull" errors 227577e00 Merge pull request #258 from gnufied/enable-race-detection e1ceee287 Always enable race detection while running tests git-subtree-dir: release-tools git-subtree-split: e31de525b39d99e762c2b0fc825576ec623fa1a6
1 parent 74451a6 commit 9f167db

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

build.make

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ IMAGE_NAME=$(REGISTRY_NAME)/$*
6262

6363
ifdef V
6464
# Adding "-alsologtostderr" assumes that all test binaries contain glog. This is not guaranteed.
65-
TESTARGS = -v -args -alsologtostderr -v 5
65+
TESTARGS = -race -v -args -alsologtostderr -v 5
6666
else
67-
TESTARGS =
67+
TESTARGS = -race
6868
endif
6969

7070
# Specific packages can be excluded from each of the tests below by setting the *_FILTER_CMD variables

prow.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ configvar CSI_PROW_BUILD_PLATFORMS "linux amd64 amd64; linux ppc64le ppc64le -pp
8686
# which is disabled with GOFLAGS=-mod=vendor).
8787
configvar GOFLAGS_VENDOR "$( [ -d vendor ] && echo '-mod=vendor' )" "Go flags for using the vendor directory"
8888

89-
configvar CSI_PROW_GO_VERSION_BUILD "1.22.5" "Go version for building the component" # depends on component's source code
89+
configvar CSI_PROW_GO_VERSION_BUILD "1.23.1" "Go version for building the component" # depends on component's source code
9090
configvar CSI_PROW_GO_VERSION_E2E "" "override Go version for building the Kubernetes E2E test suite" # normally doesn't need to be set, see install_e2e
9191
configvar CSI_PROW_GO_VERSION_SANITY "${CSI_PROW_GO_VERSION_BUILD}" "Go version for building the csi-sanity test suite" # depends on CSI_PROW_SANITY settings below
9292
configvar CSI_PROW_GO_VERSION_KIND "${CSI_PROW_GO_VERSION_BUILD}" "Go version for building 'kind'" # depends on CSI_PROW_KIND_VERSION below

pull-test.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020

2121
set -ex
2222

23+
# Prow checks out repos with --filter=blob:none. This breaks
24+
# "git subtree pull" unless we enable fetching missing file content.
25+
GIT_NO_LAZY_FETCH=0
26+
export GIT_NO_LAZY_FETCH
27+
2328
# It must be called inside the updated csi-release-tools repo.
2429
CSI_RELEASE_TOOLS_DIR="$(pwd)"
2530

0 commit comments

Comments
 (0)