Skip to content

Commit dcc077d

Browse files
committed
make prow golang install configurable
1 parent 8f1eac8 commit dcc077d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hack/prow/common.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@ function install_dependencies() {
6868
brew install pstree coreutils pidof
6969
ln -s /usr/local/bin/gtimeout /usr/local/bin/timeout || true
7070
fi
71+
# do NOT change manually - only using make update-golang-version
72+
GOLANG_VERSION_TO_INSTALL="1.24.6"
7173
# install golang if not present
72-
sudo hack/prow/installer/check_install_golang.sh /usr/local 1.24.5 || true
74+
sudo -E hack/prow/installer/check_install_golang.sh /usr/local $GOLANG_VERSION_TO_INSTALL || true
7375
# install gotestsum if not present
7476
GOROOT="/usr/local/go" hack/prow/installer/check_install_gotestsum.sh || true
75-
# do NOT change manually - only using make update-golang-version
76-
GOLANG_VERSION_TO_INSTALL="1.24.6"
7777
# install gopogh
7878
hack/prow/installer/check_install_gopogh.sh || true
7979

0 commit comments

Comments
 (0)