From 9bc5594cdf34f9f250548e13a219c02a641be9e4 Mon Sep 17 00:00:00 2001 From: "Hana (Hyang-Ah) Kim" Date: Wed, 10 Jan 2024 15:59:21 -0500 Subject: [PATCH] deploy,devtools: update go version use go1.22rc1 Change-Id: I57dfddb84b551eca9b08bd988411dcd161745611 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/555196 kokoro-CI: kokoro Run-TryBot: Hyang-Ah Hana Kim Auto-Submit: Hyang-Ah Hana Kim TryBot-Result: Gopher Robot Reviewed-by: Jonathan Amsterdam LUCI-TryBot-Result: Go LUCI --- deploy/deploy.yaml | 8 ++++---- deploy/migrate.yaml | 2 +- deploy/sitemap.yaml | 2 +- devtools/docker/compose.yaml | 12 ++++++------ 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/deploy/deploy.yaml b/deploy/deploy.yaml index 95b14f851..82070403b 100644 --- a/deploy/deploy.yaml +++ b/deploy/deploy.yaml @@ -22,7 +22,7 @@ steps: args: - $PROJECT_ID - id: Check redistributable - name: golang:1.21rc3 + name: golang:1.22rc1 entrypoint: private/devtools/check_redist.sh - id: Build name: gcr.io/cloud-builders/docker @@ -48,7 +48,7 @@ steps: - -c - deploy/frontend.sh staging gcr.io/$PROJECT_ID/frontend:$(cat _BUILD_TAG) - id: Pagecheck - staging - name: golang:1.21rc3 + name: golang:1.22rc1 entrypoint: deploy/pagecheck.sh args: - staging @@ -77,7 +77,7 @@ steps: - -c - deploy/frontend.sh prod gcr.io/$PROJECT_ID/frontend:$(cat _BUILD_TAG) - id: Pagecheck - prod - name: golang:1.21rc3 + name: golang:1.22rc1 entrypoint: deploy/pagecheck.sh args: - prod @@ -88,7 +88,7 @@ steps: - -c - deploy/frontend.sh beta gcr.io/$PROJECT_ID/frontend:$(cat _BUILD_TAG) - id: Pagecheck - beta - name: golang:1.21rc3 + name: golang:1.22rc1 entrypoint: deploy/pagecheck.sh args: - beta diff --git a/deploy/migrate.yaml b/deploy/migrate.yaml index 94454507f..dbfad774f 100644 --- a/deploy/migrate.yaml +++ b/deploy/migrate.yaml @@ -16,7 +16,7 @@ steps: args: - $PROJECT_ID - id: Migrate - name: golang:1.21rc3 + name: golang:1.22rc1 entrypoint: bash dir: private args: diff --git a/deploy/sitemap.yaml b/deploy/sitemap.yaml index c342f1a45..d4f4ccae9 100644 --- a/deploy/sitemap.yaml +++ b/deploy/sitemap.yaml @@ -9,7 +9,7 @@ steps: args: - $PROJECT_ID - id: Build - name: golang:1.21rc3 + name: golang:1.22rc1 entrypoint: bash dir: private args: diff --git a/devtools/docker/compose.yaml b/devtools/docker/compose.yaml index 52a029f07..dd7245430 100644 --- a/devtools/docker/compose.yaml +++ b/devtools/docker/compose.yaml @@ -31,7 +31,7 @@ services: depends_on: - db # This should match the version we are using on Cloud Run. - image: golang:1.21rc3 + image: golang:1.22rc1 environment: <<: [*database-variables, *go-variables] GO_DISCOVERY_TESTDB: ${GO_DISCOVERY_TESTDB:-"true"} @@ -42,7 +42,7 @@ services: - ../../:/pkgsite working_dir: /pkgsite searchtest: - image: golang:1.21rc3 + image: golang:1.22rc1 depends_on: - frontend environment: @@ -53,7 +53,7 @@ services: - ../../:/pkgsite working_dir: /pkgsite api: - image: golang:1.21rc3 + image: golang:1.22rc1 depends_on: - frontend environment: @@ -65,7 +65,7 @@ services: working_dir: /pkgsite frontend: # This should match the version we are using on AppEngine. - image: golang:1.21rc3 + image: golang:1.22rc1 depends_on: - db command: bash -c " @@ -82,7 +82,7 @@ services: working_dir: /pkgsite seeddb: # This should match the version we are using on Cloud Run. - image: golang:1.21rc3 + image: golang:1.22rc1 depends_on: - db # Note: technically we should check that migrations have completed before @@ -135,7 +135,7 @@ services: shm_size: 8G go: # This should match the version we are using on Cloud Run. - image: golang:1.21rc3 + image: golang:1.22rc1 entrypoint: go environment: <<: [*database-variables, *go-variables]