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 base images used for tests to golang:1.20. #385

Merged
merged 1 commit into from
Sep 15, 2023
Merged
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
2 changes: 1 addition & 1 deletion config/defaults_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ languages:
runImage: "{{ .RunImagePrefix }}cxx:{{ .Version }}"

- language: go
buildImage: golang:1.17
buildImage: golang:1.20
runImage: "{{ .RunImagePrefix }}go:{{ .Version }}"

- language: java
Expand Down
2 changes: 1 addition & 1 deletion config/defaults_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ var _ = Describe("Defaults", func() {
},
{
Language: "go",
BuildImage: "golang:1.17",
BuildImage: "golang:1.20",
RunImage: "gcr.io/grpc-fake-project/test-infra/go",
},
{
Expand Down
2 changes: 1 addition & 1 deletion containers/init/ready/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.17
FROM golang:1.20

RUN mkdir -p /src/ready
WORKDIR /src/ready
Expand Down
2 changes: 1 addition & 1 deletion containers/pre_built_workers/go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.17
FROM golang:1.20

RUN mkdir -p /executable
WORKDIR /executable
Expand Down
2 changes: 1 addition & 1 deletion containers/runtime/controller/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.17 as builder
FROM golang:1.20 as builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down
2 changes: 1 addition & 1 deletion containers/runtime/go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.17
FROM golang:1.20

RUN mkdir -p /src/workspace
WORKDIR /src/workspace
Expand Down
2 changes: 1 addition & 1 deletion containers/runtime/xds-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.17
FROM golang:1.20

RUN mkdir /bootstrap
WORKDIR /src/workspace
Expand Down
2 changes: 1 addition & 1 deletion controllers/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func newDefaults() *config.Defaults {
},
{
Language: "go",
BuildImage: "golang:1.17",
BuildImage: "golang:1.20",
RunImage: "gcr.io/grpc-fake-project/test-infra/go",
},
{
Expand Down
4 changes: 2 additions & 2 deletions dashboard/config/postgres_replicator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# syntax=docker/dockerfile:1

# Build replicator
FROM golang:1.17 AS builder
FROM golang:1.20 AS builder

ARG REPOSITORY=grpc/test-infra
ARG GITREF=master
Expand All @@ -25,7 +25,7 @@ RUN git clone https://github.com/$REPOSITORY.git src \
&& make replicator REPLICATOR_OUTPUT_DIR=/

# Copy replicator binary and run it
FROM golang:1.17
FROM golang:1.20
WORKDIR /app
COPY --from=builder /replicator /app
COPY config.yaml /app
Expand Down
2 changes: 1 addition & 1 deletion podbuilder/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func newDefaults() *config.Defaults {
},
{
Language: "go",
BuildImage: "golang:1.17",
BuildImage: "golang:1.20",
RunImage: "gcr.io/grpc-fake-project/test-infra/go",
},
{
Expand Down