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

Commit

Permalink
fix: Bump Go to 1.19 (#870)
Browse files Browse the repository at this point in the history
* fix: Bump Go to 1.19

* chore: use 1.19.x
  • Loading branch information
danez authored Nov 18, 2022
1 parent 4c0c1ca commit 632a0e9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ ENV PATH "$PATH:/opt/buildhome/.gimme/bin"
ENV GOPATH "/opt/buildhome/.gimme_cache/gopath"
ENV GOCACHE "/opt/buildhome/.gimme_cache/gocache"
# Install the default version
ENV GIMME_GO_VERSION "1.17.x"
ENV GIMME_GO_VERSION "1.19.x"
ENV GIMME_ENV_PREFIX "/opt/buildhome/.gimme/env"
RUN gimme | bash

Expand Down
2 changes: 1 addition & 1 deletion included_software.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The specific patch versions included will depend on when the image was last buil
* 7.4
* 8.0 (default)
* Go - `GO_VERSION`
* 1.17 (default)
* latest 1.19.x (default)
* Any version available on the [Go downloads page](https://golang.org/dl/)
* Java
* 8 (default)
Expand Down
2 changes: 1 addition & 1 deletion run-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ cd "$NETLIFY_REPO_DIR/$NETLIFY_PACKAGE_DIR" || exit
: "${RUBY_VERSION="2.7.2"}"
: "${YARN_VERSION="1.22.19"}"
: "${PNPM_VERSION="7.13.4"}"
: "${GO_VERSION="1.17"}"
: "${GO_VERSION="1.19.x"}"
: "${PYTHON_VERSION="3.8"}"
: "${BUILD_INFO="$defaultBuildInfo"}"
: "${FEATURE_FLAGS="build-image_use_new_package_manager_detection"}"
Expand Down
6 changes: 3 additions & 3 deletions tests/go/base.bats
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ setup() {
load '../../run-build-functions.sh'
}

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

@test 'install custom go version' {
Expand Down

0 comments on commit 632a0e9

Please sign in to comment.