deploy,devtools: use 1.18.0 in containers
Change-Id: I07b23527bdb996af4fdda03319beb8387bfe83c9
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/392956
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
diff --git a/deploy/deploy-env.yaml b/deploy/deploy-env.yaml
index 3a36c48..a93d50f 100644
--- a/deploy/deploy-env.yaml
+++ b/deploy/deploy-env.yaml
@@ -22,7 +22,7 @@
args:
- $PROJECT_ID
- id: Check redistributable
- name: golang:1.18rc1
+ name: golang:1.18.0
entrypoint: private/devtools/check_redist.sh
- id: Build
name: gcr.io/cloud-builders/docker
@@ -48,7 +48,7 @@
- -c
- deploy/frontend.sh $_ENV gcr.io/$PROJECT_ID/frontend:$(cat _BUILD_TAG)
- id: Pagecheck
- name: golang:1.18rc1
+ name: golang:1.18.0
entrypoint: deploy/pagecheck.sh
args:
- $_ENV
diff --git a/deploy/deploy.yaml b/deploy/deploy.yaml
index 36e62dc..28d4755 100644
--- a/deploy/deploy.yaml
+++ b/deploy/deploy.yaml
@@ -22,7 +22,7 @@
args:
- $PROJECT_ID
- id: Check redistributable
- name: golang:1.18rc1
+ name: golang:1.18.0
entrypoint: private/devtools/check_redist.sh
- id: Build
name: gcr.io/cloud-builders/docker
@@ -48,7 +48,7 @@
- -c
- deploy/frontend.sh staging gcr.io/$PROJECT_ID/frontend:$(cat _BUILD_TAG)
- id: Pagecheck - staging
- name: golang:1.18rc1
+ name: golang:1.18.0
entrypoint: deploy/pagecheck.sh
args:
- staging
@@ -77,7 +77,7 @@
- -c
- deploy/frontend.sh prod gcr.io/$PROJECT_ID/frontend:$(cat _BUILD_TAG)
- id: Pagecheck - prod
- name: golang:1.18rc1
+ name: golang:1.18.0
entrypoint: deploy/pagecheck.sh
args:
- prod
@@ -88,7 +88,7 @@
- -c
- deploy/frontend.sh beta gcr.io/$PROJECT_ID/frontend:$(cat _BUILD_TAG)
- id: Pagecheck - beta
- name: golang:1.18rc1
+ name: golang:1.18.0
entrypoint: deploy/pagecheck.sh
args:
- beta
diff --git a/deploy/migrate.yaml b/deploy/migrate.yaml
index 6613ed7..ea78500 100644
--- a/deploy/migrate.yaml
+++ b/deploy/migrate.yaml
@@ -16,7 +16,7 @@
args:
- $PROJECT_ID
- id: Migrate
- name: golang:1.18rc1
+ name: golang:1.18.0
entrypoint: bash
dir: private
args:
diff --git a/deploy/sitemap.yaml b/deploy/sitemap.yaml
index 1197735..d7acaf5 100644
--- a/deploy/sitemap.yaml
+++ b/deploy/sitemap.yaml
@@ -9,7 +9,7 @@
args:
- $PROJECT_ID
- id: Build
- name: golang:1.18rc1
+ name: golang:1.18.0
entrypoint: bash
dir: private
args:
diff --git a/devtools/docker/compose.yaml b/devtools/docker/compose.yaml
index f226fdf..2bef47c 100644
--- a/devtools/docker/compose.yaml
+++ b/devtools/docker/compose.yaml
@@ -30,7 +30,7 @@
depends_on:
- db
# This should match the version we are using on Cloud Run.
- image: golang:1.18rc1
+ image: golang:1.18.0
environment:
<<: *database-variables
<<: *go-variables
@@ -43,7 +43,7 @@
- ../../:/pkgsite
working_dir: /pkgsite
searchtest:
- image: golang:1.18rc1
+ image: golang:1.18.0
depends_on:
- frontend
environment:
@@ -56,7 +56,7 @@
- ../../:/pkgsite
working_dir: /pkgsite
api:
- image: golang:1.18rc1
+ image: golang:1.18.0
depends_on:
- frontend
environment:
@@ -69,7 +69,7 @@
working_dir: /pkgsite
frontend:
# This should match the version we are using on AppEngine.
- image: golang:1.18rc1
+ image: golang:1.18.0
depends_on:
- db
command: bash -c "
@@ -88,7 +88,7 @@
working_dir: /pkgsite
seeddb:
# This should match the version we are using on Cloud Run.
- image: golang:1.18rc1
+ image: golang:1.18.0
depends_on:
- db
# Note: technically we should check that migrations have completed before
@@ -141,7 +141,7 @@
shm_size: 8G
go:
# This should match the version we are using on Cloud Run.
- image: golang:1.18rc1
+ image: golang:1.18.0
entrypoint: go
environment:
<<: *database-variables