Skip to content

Commit 8b5e2f5

Browse files
authored
Update golang to 1.21.3 (kptdev#4065)
Signed-off-by: Morten Torkildsen <[email protected]>
1 parent 34cf103 commit 8b5e2f5

17 files changed

+19
-19
lines changed

.github/workflows/checkLicenses.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up Go 1.21
2525
uses: actions/setup-go@v3
2626
with:
27-
go-version: '>=1.21.1'
27+
go-version: '>=1.21.3'
2828
- run: |
2929
./scripts/create-licenses.sh
3030
# Upload the licenses list so it's available if needed

.github/workflows/e2eEnvironment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Set up Go
3535
uses: actions/setup-go@v3
3636
with:
37-
go-version: '>=1.21.1'
37+
go-version: '>=1.21.3'
3838
- uses: actions/checkout@v3
3939
# Pinned to Commit to ensure action is consistent: https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions
4040
# If you upgrade this version confirm the changes match your expectations

.github/workflows/go.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Set up Go
4949
uses: actions/setup-go@v3
5050
with:
51-
go-version: '>=1.21.1'
51+
go-version: '>=1.21.3'
5252
id: go
5353
- name: Check out code into the Go module directory
5454
uses: actions/checkout@v3
@@ -70,7 +70,7 @@ jobs:
7070
- name: Set up Go
7171
uses: actions/setup-go@v3
7272
with:
73-
go-version: '>=1.21.1'
73+
go-version: '>=1.21.3'
7474
id: go
7575
- name: Check out code into the Go module directory
7676
uses: actions/checkout@v3
@@ -88,7 +88,7 @@ jobs:
8888
# - name: Set up Go
8989
# uses: actions/setup-go@v1
9090
# with:
91-
# go-version: '>=1.21.1'
91+
# go-version: '>=1.21.3'
9292
# id: go
9393
# - name: Check out code into the Go module directory
9494
# uses: actions/checkout@v3

.github/workflows/live-e2e.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Set up Go
3434
uses: actions/setup-go@v3
3535
with:
36-
go-version: '>=1.21.1'
36+
go-version: '>=1.21.3'
3737
- uses: actions/checkout@master
3838
# Pinned to Commit to ensure action is consistent: https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions
3939
# If you upgrade this version confirm the changes match your expectations

.github/workflows/porch-e2e.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- name: Set up Go
5757
uses: actions/setup-go@v3
5858
with:
59-
go-version: '>=1.21.1'
59+
go-version: '>=1.21.3'
6060
- name: Checkout Porch
6161
uses: actions/checkout@v3
6262
- name: Build kpt

.github/workflows/porch.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Set up Go
3333
uses: actions/setup-go@v3
3434
with:
35-
go-version: '>=1.21.1'
35+
go-version: '>=1.21.3'
3636
- name: Run Porch Unit Tests
3737
uses: actions/checkout@v3
3838
- name: Verify format / headers etc

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Set up Go
2929
uses: actions/setup-go@v3
3030
with:
31-
go-version: '>=1.21.1'
31+
go-version: '>=1.21.3'
3232
- name: Checkout
3333
uses: actions/checkout@v3
3434
with:

.github/workflows/verifyContent.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
steps:
3131
- uses: actions/setup-go@v3
3232
with:
33-
go-version: '>=1.21.1'
33+
go-version: '>=1.21.3'
3434
- uses: actions/checkout@v3
3535
- run: |
3636
make build

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
GOLANG_VERSION := 1.21.1
15+
GOLANG_VERSION := 1.21.3
1616
GORELEASER_CONFIG = release/tag/goreleaser.yaml
1717
GORELEASER_IMAGE := ghcr.io/goreleaser/goreleaser-cross:v$(GOLANG_VERSION)
1818

porch/build/Dockerfile.apiserver

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM golang:1.21.1-bookworm as builder
15+
FROM golang:1.21.3-bookworm as builder
1616

1717
WORKDIR /workspace/src
1818
RUN git clone https://github.com/kubernetes/kubernetes --branch v1.23.2 --depth=1

porch/build/Dockerfile.etcd

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM golang:1.21.1-bookworm as builder
15+
FROM golang:1.21.3-bookworm as builder
1616

1717
WORKDIR /workspace
1818
ARG ETCD_VER=v3.5.1

porch/build/Dockerfile.porch

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515

16-
FROM golang:1.21.1-bookworm as builder
16+
FROM golang:1.21.3-bookworm as builder
1717

1818
WORKDIR /go/src/github.com/GoogleContainerTools/kpt
1919

porch/controllers/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM golang:1.21.1-bookworm as builder
15+
FROM golang:1.21.3-bookworm as builder
1616

1717
WORKDIR /workspace
1818
COPY go.mod go.sum ./

porch/examples/apps/hello-server/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM golang:1.21.1-bookworm as builder
15+
FROM golang:1.21.3-bookworm as builder
1616

1717
WORKDIR /src
1818
COPY go.mod go.sum ./

porch/func/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ FROM gcr.io/kpt-fn/set-project-id:v0.2.0 as set-project-id
2525
FROM gcr.io/kpt-fn/starlark:v0.3.0 as starlark
2626
FROM gcr.io/kpt-fn/upsert-resource:v0.2.0 as upsert-resource
2727

28-
FROM golang:1.21.1-alpine3.18 as builder
28+
FROM golang:1.21.3-alpine3.18 as builder
2929
WORKDIR /go/src/github.com/GoogleContainerTools/kpt
3030

3131
RUN go install github.com/grpc-ecosystem/[email protected]

porch/func/Dockerfile-wrapperserver

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.21.1-alpine3.18 as builder
1+
FROM golang:1.21.3-alpine3.18 as builder
22

33
WORKDIR /go/src/github.com/GoogleContainerTools/kpt
44

porch/test/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515

16-
FROM golang:1.21.1-bookworm as builder
16+
FROM golang:1.21.3-bookworm as builder
1717

1818
WORKDIR /go/src/github.com/GoogleContainerTools/kpt
1919

0 commit comments

Comments
 (0)