Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit 632a0e9

Browse files
authored
fix: Bump Go to 1.19 (#870)
* fix: Bump Go to 1.19 * chore: use 1.19.x
1 parent 4c0c1ca commit 632a0e9

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ ENV PATH "$PATH:/opt/buildhome/.gimme/bin"
458458
ENV GOPATH "/opt/buildhome/.gimme_cache/gopath"
459459
ENV GOCACHE "/opt/buildhome/.gimme_cache/gocache"
460460
# Install the default version
461-
ENV GIMME_GO_VERSION "1.17.x"
461+
ENV GIMME_GO_VERSION "1.19.x"
462462
ENV GIMME_ENV_PREFIX "/opt/buildhome/.gimme/env"
463463
RUN gimme | bash
464464

included_software.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The specific patch versions included will depend on when the image was last buil
2222
* 7.4
2323
* 8.0 (default)
2424
* Go - `GO_VERSION`
25-
* 1.17 (default)
25+
* latest 1.19.x (default)
2626
* Any version available on the [Go downloads page](https://golang.org/dl/)
2727
* Java
2828
* 8 (default)

run-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ cd "$NETLIFY_REPO_DIR/$NETLIFY_PACKAGE_DIR" || exit
3333
: "${RUBY_VERSION="2.7.2"}"
3434
: "${YARN_VERSION="1.22.19"}"
3535
: "${PNPM_VERSION="7.13.4"}"
36-
: "${GO_VERSION="1.17"}"
36+
: "${GO_VERSION="1.19.x"}"
3737
: "${PYTHON_VERSION="3.8"}"
3838
: "${BUILD_INFO="$defaultBuildInfo"}"
3939
: "${FEATURE_FLAGS="build-image_use_new_package_manager_detection"}"

tests/go/base.bats

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ setup() {
1111
load '../../run-build-functions.sh'
1212
}
1313

14-
@test 'go version 1.17 at the latest patch is installed and available at startup by default' {
14+
@test 'go version 1.19 at the latest patch is installed and available at startup by default' {
1515
run install_go
1616
assert_success
1717
# we can't specify which patch version because it will change
18-
assert_output --partial "Installing Go version 1.17."
19-
assert_output --partial "go version go1.17."
18+
assert_output --partial "Installing Go version 1.19."
19+
assert_output --partial "go version go1.19."
2020
}
2121

2222
@test 'install custom go version' {

0 commit comments

Comments
 (0)