From a03e71dcf0d6565c0d4c7828d8b3875801e43f1a Mon Sep 17 00:00:00 2001 From: Jonathan Amsterdam Date: Mon, 19 Aug 2024 14:52:19 -0400 Subject: various: upgrade to go 1.23 containers Upgrade to use go 1.23 images in various files that specify docker containers to run. Change-Id: I6331a07c4d0f00dc7513a5286d315dd0f64cd362 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/606778 Reviewed-by: Robert Findley LUCI-TryBot-Result: Go LUCI kokoro-CI: kokoro --- devtools/docker/compose.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'devtools') diff --git a/devtools/docker/compose.yaml b/devtools/docker/compose.yaml index dd724543..4c9c0aea 100644 --- a/devtools/docker/compose.yaml +++ b/devtools/docker/compose.yaml @@ -1,7 +1,6 @@ # Copyright 2021 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -version: '3.4' x-database-variables: &database-variables GO_DISCOVERY_DATABASE_HOST: db @@ -31,7 +30,7 @@ services: depends_on: - db # This should match the version we are using on Cloud Run. - image: golang:1.22rc1 + image: golang:1.23 environment: <<: [*database-variables, *go-variables] GO_DISCOVERY_TESTDB: ${GO_DISCOVERY_TESTDB:-"true"} @@ -42,7 +41,7 @@ services: - ../../:/pkgsite working_dir: /pkgsite searchtest: - image: golang:1.22rc1 + image: golang:1.23 depends_on: - frontend environment: @@ -53,7 +52,7 @@ services: - ../../:/pkgsite working_dir: /pkgsite api: - image: golang:1.22rc1 + image: golang:1.23 depends_on: - frontend environment: @@ -65,7 +64,7 @@ services: working_dir: /pkgsite frontend: # This should match the version we are using on AppEngine. - image: golang:1.22rc1 + image: golang:1.23 depends_on: - db command: bash -c " @@ -82,7 +81,7 @@ services: working_dir: /pkgsite seeddb: # This should match the version we are using on Cloud Run. - image: golang:1.22rc1 + image: golang:1.23 depends_on: - db # Note: technically we should check that migrations have completed before @@ -135,7 +134,7 @@ services: shm_size: 8G go: # This should match the version we are using on Cloud Run. - image: golang:1.22rc1 + image: golang:1.23 entrypoint: go environment: <<: [*database-variables, *go-variables] -- cgit v1.3-5-g9baa