Update to go1.20.5 (#6946)

We are already running go1.20.5 in production.
This commit is contained in:
Aaron Gable 2023-06-20 14:55:37 -07:00 committed by GitHub
parent cde4b9c90f
commit 8224fad20b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 9 additions and 8 deletions

View File

@ -10,3 +10,4 @@ te
uint
vas
ede
vai

View File

@ -36,7 +36,7 @@ jobs:
matrix:
# Add additional docker image tags here and all tests will be run with the additional image.
BOULDER_TOOLS_TAG:
- go1.20.4_2023-05-02
- go1.20.5_2023-06-20
# Tests command definitions. Use the entire "docker compose" command you want to run.
tests:
# Run ./test.sh --help for a description of each of the flags.

View File

@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
GO_VERSION:
- "1.20.4"
- "1.20.5"
runs-on: ubuntu-20.04
permissions:
contents: write

View File

@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
GO_VERSION:
- "1.20.4"
- "1.20.5"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3

View File

@ -2,7 +2,7 @@ version: '3'
services:
boulder:
# Should match one of the GO_DEV_VERSIONS in test/boulder-tools/tag_and_upload.sh.
image: &boulder_image letsencrypt/boulder-tools:${BOULDER_TOOLS_TAG:-go1.20.4_2023-05-02}
image: &boulder_image letsencrypt/boulder-tools:${BOULDER_TOOLS_TAG:-go1.20.5_2023-06-20}
environment:
# To solve HTTP-01 and TLS-ALPN-01 challenges, change the IP in FAKE_DNS
# to the IP address where your ACME client's solver is listening.

View File

@ -12,11 +12,11 @@ DOCKER_REPO="letsencrypt/boulder-tools"
# .github/workflows/release.yml,
# .github/workflows/try-release.yml if appropriate,
# and .github/workflows/boulder-ci.yml with the new container tag.
GO_CI_VERSIONS=( "1.20.4" )
GO_CI_VERSIONS=( "1.20.5" )
# These versions are built for both platforms that boulder devs use.
# When updating GO_DEV_VERSIONS, please also update
# ../../docker-compose.yml's default Go version.
GO_DEV_VERSIONS=( "1.20.4" )
GO_DEV_VERSIONS=( "1.20.5" )
echo "Please login to allow push to DockerHub"
docker login

View File

@ -186,7 +186,7 @@ func (th *TopHandler) logEvent(logEvent *RequestEvent) {
}
// Comma-separated list of HTTP clients involved in making this
// request, starting with the original requestor and ending with the
// request, starting with the original requester and ending with the
// remote end of our TCP connection (which is typically our own
// proxy).
func GetClientAddr(r *http.Request) string {

View File

@ -1695,7 +1695,7 @@ func (wfe *WebFrontEndImpl) Certificate(ctx context.Context, logEvent *web.Reque
}
}
// BuildID tells the requestor what build we're running.
// BuildID tells the requester what build we're running.
func (wfe *WebFrontEndImpl) BuildID(ctx context.Context, logEvent *web.RequestEvent, response http.ResponseWriter, request *http.Request) {
response.Header().Set("Content-Type", "text/plain")
response.WriteHeader(http.StatusOK)