Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UPDATE: Support for Golang 20 to 23 #2490

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions build/__golangVersions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,11 @@ GOLANG18_VERSION='1.18.10'
GOLANG18_TAR_SHA256='5e05400e4c79ef5394424c0eff5b9141cb782da25f64f79d54c98af0a37f8d49'
GOLANG19_VERSION='1.19.7'
GOLANG19_TAR_SHA256='7a75720c9b066ae1750f6bcc7052aba70fa3813f4223199ee2a2315fd3eb533d'
GOLANG20_VERSION='1.20.14'
GOLANG20_TAR_SHA256='ff445e48af27f93f66bd949ae060d97991c83e11289009d311f25426258f9c44'
GOLANG21_VERSION='1.21.13'
GOLANG21_TAR_SHA256='502fc16d5910562461e6a6631fb6377de2322aad7304bf2bcd23500ba9dab4a7'
GOLANG22_VERSION='1.22.6'
GOLANG22_TAR_SHA256='999805bed7d9039ec3da1a53bfbcafc13e367da52aa823cb60b68ba22d44c616'
GOLANG23_VERSION='1.23.0'
GOLANG23_TAR_SHA256='905a297f19ead44780548933e0ff1a1b86e8327bb459e92f9c0012569f76f5e'
8 changes: 8 additions & 0 deletions build/constants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,14 @@
golang18-tar-sha256: 5e05400e4c79ef5394424c0eff5b9141cb782da25f64f79d54c98af0a37f8d49
golang19-version: 1.19.7
golang19-tar-sha256: 7a75720c9b066ae1750f6bcc7052aba70fa3813f4223199ee2a2315fd3eb533d
golang20-version: 1.20.14
golang20-tar-sha256: ff445e48af27f93f66bd949ae060d97991c83e11289009d311f25426258f9c44
golang21-version: 1.21.13
golang21-version: 502fc16d5910562461e6a6631fb6377de2322aad7304bf2bcd23500ba9dab4a7
golang22-version: 1.22.6
golang22-tar-sha256: 999805bed7d9039ec3da1a53bfbcafc13e367da52aa823cb60b68ba22d44c616
golang23-version: 1.23.0
golang-tar-sha256: 905a297f19ead44780548933e0ff1a1b86e8327bb459e92f9c0012569f76f5e3
outputs:
- type: csharp
directory: src/BuildScriptGenerator
Expand Down
12 changes: 12 additions & 0 deletions doc/supportedPlatformVersions.md
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,10 @@
- 1.19.3
- 1.19.5
- 1.19.7
- 1.20
- 1.21
- 1.22
- 1.23

### buster

Expand All @@ -462,6 +466,10 @@
- 1.19.3
- 1.19.5
- 1.19.7
- 1.20
- 1.21
- 1.22
- 1.23

### focal-scm

Expand All @@ -476,6 +484,10 @@
- 1.19.3
- 1.19.5
- 1.19.7
- 1.20
- 1.21
- 1.22
- 1.23

### stretch

Expand Down
2 changes: 1 addition & 1 deletion images/build/Dockerfiles/full.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARG DEBIAN_FLAVOR

### oryx run-script image
# DisableDockerDetector "Below image not yet supported in the Docker Hub mirror"
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.20-${DEBIAN_FLAVOR} as startupScriptGens
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.23-${DEBIAN_FLAVOR} as startupScriptGens

# GOPATH is set to "/go" in the base image
WORKDIR /go/src
Expand Down
6 changes: 5 additions & 1 deletion platforms/golang/versions/bullseye/versionsToBuild.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@
1.19, 464b6b66591f6cf055bc5df90a9750bf5fbc9d038722bb84a9d56a2bea974be6,
1.19.3, 74b9640724fd4e6bb0ed2a1bc44ae813a03f1e72a4c76253e2d5c015494430ba,
1.19.5, 36519702ae2fd573c9869461990ae550c8c0d955cd28d2827a6b159fda81ff95,
1.19.7, 7a75720c9b066ae1750f6bcc7052aba70fa3813f4223199ee2a2315fd3eb533d,
1.19.7, 7a75720c9b066ae1750f6bcc7052aba70fa3813f4223199ee2a2315fd3eb533d,
1.20.14, ff445e48af27f93f66bd949ae060d97991c83e11289009d311f25426258f9c44,
1.21.13, 502fc16d5910562461e6a6631fb6377de2322aad7304bf2bcd23500ba9dab4a7,
1.22.6, 999805bed7d9039ec3da1a53bfbcafc13e367da52aa823cb60b68ba22d44c616,
1.23.0, 905a297f19ead44780548933e0ff1a1b86e8327bb459e92f9c0012569f76f5e
6 changes: 5 additions & 1 deletion platforms/golang/versions/buster/versionsToBuild.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@
1.19, 464b6b66591f6cf055bc5df90a9750bf5fbc9d038722bb84a9d56a2bea974be6,
1.19.3, 74b9640724fd4e6bb0ed2a1bc44ae813a03f1e72a4c76253e2d5c015494430ba,
1.19.5, 36519702ae2fd573c9869461990ae550c8c0d955cd28d2827a6b159fda81ff95,
1.19.7, 7a75720c9b066ae1750f6bcc7052aba70fa3813f4223199ee2a2315fd3eb533d,
1.19.7, 7a75720c9b066ae1750f6bcc7052aba70fa3813f4223199ee2a2315fd3eb533d,
1.20.14, ff445e48af27f93f66bd949ae060d97991c83e11289009d311f25426258f9c44,
1.21.13, 502fc16d5910562461e6a6631fb6377de2322aad7304bf2bcd23500ba9dab4a7,
1.22.6, 999805bed7d9039ec3da1a53bfbcafc13e367da52aa823cb60b68ba22d44c616,
1.23.0, 905a297f19ead44780548933e0ff1a1b86e8327bb459e92f9c0012569f76f5e
6 changes: 5 additions & 1 deletion platforms/golang/versions/focal-scm/versionsToBuild.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@
1.19, 464b6b66591f6cf055bc5df90a9750bf5fbc9d038722bb84a9d56a2bea974be6,
1.19.3, 74b9640724fd4e6bb0ed2a1bc44ae813a03f1e72a4c76253e2d5c015494430ba,
1.19.5, 36519702ae2fd573c9869461990ae550c8c0d955cd28d2827a6b159fda81ff95,
1.19.7, 7a75720c9b066ae1750f6bcc7052aba70fa3813f4223199ee2a2315fd3eb533d,
1.19.7, 7a75720c9b066ae1750f6bcc7052aba70fa3813f4223199ee2a2315fd3eb533d,
1.20.14, ff445e48af27f93f66bd949ae060d97991c83e11289009d311f25426258f9c44,
1.21.13, 502fc16d5910562461e6a6631fb6377de2322aad7304bf2bcd23500ba9dab4a7,
1.22.6, 999805bed7d9039ec3da1a53bfbcafc13e367da52aa823cb60b68ba22d44c616,
1.23.0, 905a297f19ead44780548933e0ff1a1b86e8327bb459e92f9c0012569f76f5e