Skip to content

Commit d74f147

Browse files
authored
Merge pull request #2914 from cpanato/go-1201-1196
Build Go 1.20.1 and 1.19.6 based images
2 parents 7e667e5 + 4368f5f commit d74f147

File tree

9 files changed

+37
-99
lines changed

9 files changed

+37
-99
lines changed

Dockerfile-kubepkg

Lines changed: 1 addition & 1 deletion
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.19.5-bullseye AS builder
15+
FROM golang:1.20.1-bullseye AS builder
1616

1717
ENV GO111MODULE=on
1818

Dockerfile-kubepkg-rpm

Lines changed: 1 addition & 1 deletion
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.19.5-bullseye AS builder
15+
FROM golang:1.20.1-bullseye AS builder
1616

1717
ENV GO111MODULE=on
1818

dependencies.yaml

Lines changed: 13 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ dependencies:
5757

5858
# Golang
5959
- name: "golang"
60-
version: 1.19.5
60+
version: 1.20.1
6161
refPaths:
6262
- path: Dockerfile-kubepkg
6363
match: FROM golang:\d+.\d+(alpha|beta|rc)?\.?(\d+)-(bullseye|buster) AS builder
@@ -82,7 +82,7 @@ dependencies:
8282
# This entry is a stub of the major version to allow dependency checks to
8383
# pass when building Kubernetes using a pre-release of Golang.
8484
- name: "golang: 1.<major>"
85-
version: 1.19
85+
version: 1.20
8686
refPaths:
8787
- path: images/build/cross/Makefile
8888
match: GO_MAJOR_VERSION\ \?=\ \d+.\d+(alpha|beta|rc)?\.?(\d+)?
@@ -131,15 +131,15 @@ dependencies:
131131
# - v1.100.0-go1.17-bullseye.0 satisfies SemVer regex, while:
132132
# - v1.100-go1.17-bullseye.0 does not
133133
- name: "Kubernetes version (stable.0)"
134-
version: v1.26.0
134+
version: v1.27.0
135135
refPaths:
136136
- path: images/build/cross/Makefile
137137
match: KUBERNETES_VERSION\ \?=\ v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)
138138
- path: images/build/cross/variants.yaml
139139
match: "KUBERNETES_VERSION: 'v((([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)'"
140140

141141
- name: "Kubernetes version (next candidate.0)"
142-
version: v1.26.0
142+
version: v1.27.0
143143
refPaths:
144144
- path: images/build/cross/variants.yaml
145145
match: "KUBERNETES_VERSION: 'v((([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)'"
@@ -152,7 +152,7 @@ dependencies:
152152

153153
# go-runner
154154
- name: "k8s.gcr.io/build-image/go-runner (go1.20-bullseye)"
155-
version: v2.3.1-go1.20-bullseye.0
155+
version: v2.3.1-go1.20.1-bullseye.0
156156
refPaths:
157157
- path: images/build/go-runner/variants.yaml
158158
match: v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)
@@ -166,7 +166,7 @@ dependencies:
166166
match: REVISION:\ '\d+'
167167

168168
- name: "k8s.gcr.io/build-image/go-runner (go1.19-bullseye)"
169-
version: v2.3.1-go1.19.5-bullseye.0
169+
version: v2.3.1-go1.19.6-bullseye.0
170170
refPaths:
171171
- path: images/build/go-runner/variants.yaml
172172
match: v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)
@@ -179,23 +179,9 @@ dependencies:
179179
- path: images/build/go-runner/variants.yaml
180180
match: REVISION:\ '\d+'
181181

182-
- name: "k8s.gcr.io/build-image/go-runner (go1.18-bullseye)"
183-
version: v2.3.1-go1.18.10-bullseye.0
184-
refPaths:
185-
- path: images/build/go-runner/variants.yaml
186-
match: v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)
187-
188-
- name: "k8s.gcr.io/build-image/go-runner: image revision (go1.18-bullseye)"
189-
version: 0
190-
refPaths:
191-
- path: images/build/go-runner/Makefile
192-
match: REVISION \?= \d+
193-
- path: images/build/go-runner/variants.yaml
194-
match: REVISION:\ '\d+'
195-
196182
# kube-cross
197183
- name: "k8s.gcr.io/build-image/kube-cross (v1.27-go1.20)"
198-
version: v1.27.0-go1.20-bullseye.0
184+
version: v1.27.0-go1.20.1-bullseye.0
199185
refPaths:
200186
- path: images/build/cross/variants.yaml
201187
match: "IMAGE_VERSION: 'v((([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)'"
@@ -215,7 +201,7 @@ dependencies:
215201
match: REVISION:\ '\d+'
216202

217203
- name: "k8s.gcr.io/build-image/kube-cross (v1.26-go1.19)"
218-
version: v1.26.0-go1.19.5-bullseye.0
204+
version: v1.26.0-go1.19.6-bullseye.0
219205
refPaths:
220206
- path: images/build/cross/variants.yaml
221207
match: "IMAGE_VERSION: 'v((([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)'"
@@ -235,7 +221,7 @@ dependencies:
235221
match: REVISION:\ '\d+'
236222

237223
- name: "k8s.gcr.io/build-image/kube-cross (v1.25-go1.19)"
238-
version: v1.25.0-go1.19.5-bullseye.0
224+
version: v1.25.0-go1.19.6-bullseye.0
239225
refPaths:
240226
- path: images/build/cross/variants.yaml
241227
match: "IMAGE_VERSION: 'v((([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)'"
@@ -255,7 +241,7 @@ dependencies:
255241
match: REVISION:\ '\d+'
256242

257243
- name: "k8s.gcr.io/build-image/kube-cross (v1.24-go1.19)"
258-
version: v1.24.0-go1.19.5-bullseye.0
244+
version: v1.24.0-go1.19.6-bullseye.0
259245
refPaths:
260246
- path: images/build/cross/variants.yaml
261247
match: "IMAGE_VERSION: 'v((([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)'"
@@ -274,28 +260,8 @@ dependencies:
274260
- path: images/build/cross/variants.yaml
275261
match: REVISION:\ '\d+'
276262

277-
- name: "k8s.gcr.io/build-image/kube-cross (v1.24-go1.18)"
278-
version: v1.24.0-go1.18.10-bullseye.0
279-
refPaths:
280-
- path: images/build/cross/variants.yaml
281-
match: "IMAGE_VERSION: 'v((([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)'"
282-
283-
- name: "k8s.gcr.io/build-image/kube-cross: config variant (v1.24-go1.18)"
284-
version: go1.18-bullseye
285-
refPaths:
286-
- path: images/build/cross/variants.yaml
287-
match: "CONFIG: 'go\\d+.\\d+-bullseye'"
288-
289-
- name: "k8s.gcr.io/build-image/kube-cross: image revision (v1.24-go1.18)"
290-
version: 0
291-
refPaths:
292-
- path: images/build/cross/Makefile
293-
match: REVISION \?= \d+
294-
- path: images/build/cross/variants.yaml
295-
match: REVISION:\ '\d+'
296-
297263
- name: "k8s.gcr.io/build-image/kube-cross (v1.23-go1.19)"
298-
version: v1.23.0-go1.19.5-bullseye.0
264+
version: v1.23.0-go1.19.6-bullseye.0
299265
refPaths:
300266
- path: images/build/cross/variants.yaml
301267
match: "IMAGE_VERSION: 'v((([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)'"
@@ -372,7 +338,7 @@ dependencies:
372338

373339
# Golang (previous release branches: 1.24)
374340
- name: "golang (previous release branches: 1.24)"
375-
version: 1.19.5
341+
version: 1.19.6
376342
refPaths:
377343
- path: images/build/cross/variants.yaml
378344
match: \d+.\d+(alpha|beta|rc)?\.?(\d+)?
@@ -389,7 +355,7 @@ dependencies:
389355

390356
# Golang (previous release branches: 1.23)
391357
- name: "golang (previous release branches: 1.23)"
392-
version: 1.19.5
358+
version: 1.19.6
393359
refPaths:
394360
- path: images/build/cross/variants.yaml
395361
match: \d+.\d+(alpha|beta|rc)?\.?(\d+)?

images/build/cross/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ IMGNAME = kube-cross
2727
# Example:
2828
# - v1.100.0-go1.17-bullseye.0 satisfies SemVer regex, while:
2929
# - v1.100-go1.17-bullseye.0 does not
30-
KUBERNETES_VERSION ?= v1.26.0
31-
GO_VERSION ?= 1.19.5
32-
GO_MAJOR_VERSION ?= 1.19
30+
KUBERNETES_VERSION ?= v1.27.0
31+
GO_VERSION ?= 1.20.1
32+
GO_MAJOR_VERSION ?= 1.20
3333
OS_CODENAME ?= bullseye
3434
REVISION ?= 0
3535
TYPE ?= default

images/build/cross/variants.yaml

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,59 +2,49 @@ variants:
22
v1.27-go1.20-bullseye:
33
CONFIG: 'go1.20-bullseye'
44
TYPE: 'default'
5-
IMAGE_VERSION: 'v1.27.0-go1.20-bullseye.0'
5+
IMAGE_VERSION: 'v1.27.0-go1.20.1-bullseye.0'
66
KUBERNETES_VERSION: 'v1.27.0'
7-
GO_VERSION: '1.20'
7+
GO_VERSION: '1.20.1'
88
GO_MAJOR_VERSION: '1.20'
99
OS_CODENAME: 'bullseye'
1010
REVISION: '0'
1111
PROTOBUF_VERSION: '3.19.4'
1212
v1.26-go1.19-bullseye:
1313
CONFIG: 'go1.19-bullseye'
1414
TYPE: 'default'
15-
IMAGE_VERSION: 'v1.26.0-go1.19.5-bullseye.0'
15+
IMAGE_VERSION: 'v1.26.0-go1.19.6-bullseye.0'
1616
KUBERNETES_VERSION: 'v1.26.0'
17-
GO_VERSION: '1.19.5'
17+
GO_VERSION: '1.19.6'
1818
GO_MAJOR_VERSION: '1.19'
1919
OS_CODENAME: 'bullseye'
2020
REVISION: '0'
2121
PROTOBUF_VERSION: '3.19.4'
2222
v1.25-go1.19-bullseye:
2323
CONFIG: 'go1.19-bullseye'
2424
TYPE: 'default'
25-
IMAGE_VERSION: 'v1.25.0-go1.19.5-bullseye.0'
25+
IMAGE_VERSION: 'v1.25.0-go1.19.6-bullseye.0'
2626
KUBERNETES_VERSION: 'v1.25.0'
27-
GO_VERSION: '1.19.5'
27+
GO_VERSION: '1.19.6'
2828
GO_MAJOR_VERSION: '1.19'
2929
OS_CODENAME: 'bullseye'
3030
REVISION: '0'
3131
PROTOBUF_VERSION: '3.19.4'
3232
v1.24-go1.19-bullseye:
3333
CONFIG: 'go1.19-bullseye'
3434
TYPE: 'default'
35-
IMAGE_VERSION: 'v1.24.0-go1.19.5-bullseye.0'
35+
IMAGE_VERSION: 'v1.24.0-go1.19.6-bullseye.0'
3636
KUBERNETES_VERSION: 'v1.24.0'
37-
GO_VERSION: '1.19.5'
37+
GO_VERSION: '1.19.6'
3838
GO_MAJOR_VERSION: '1.19'
3939
OS_CODENAME: 'bullseye'
4040
REVISION: '0'
4141
PROTOBUF_VERSION: '3.19.4'
42-
v1.24-go1.18-bullseye:
43-
CONFIG: 'go1.18-bullseye'
44-
TYPE: 'default'
45-
IMAGE_VERSION: 'v1.24.0-go1.18.10-bullseye.0'
46-
KUBERNETES_VERSION: 'v1.24.0'
47-
GO_VERSION: '1.18.10'
48-
GO_MAJOR_VERSION: '1.18'
49-
OS_CODENAME: 'bullseye'
50-
REVISION: '0'
51-
PROTOBUF_VERSION: '3.19.4'
5242
v1.23-go1.19-bullseye:
5343
CONFIG: 'go1.19-bullseye'
5444
TYPE: 'default'
55-
IMAGE_VERSION: 'v1.23.0-go1.19.5-bullseye.0'
45+
IMAGE_VERSION: 'v1.23.0-go1.19.6-bullseye.0'
5646
KUBERNETES_VERSION: 'v1.23.0'
57-
GO_VERSION: '1.19.5'
47+
GO_VERSION: '1.19.6'
5848
GO_MAJOR_VERSION: '1.19'
5949
OS_CODENAME: 'bullseye'
6050
REVISION: '0'

images/build/go-runner/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ include $(CURDIR)/../../Makefile.common-image
1717

1818
IMGNAME = go-runner
1919
APP_VERSION = $(shell cat VERSION)
20-
GO_MAJOR_VERSION ?= 1.19
20+
GO_MAJOR_VERSION ?= 1.20
2121
REVISION ?= 0
22-
GO_VERSION ?= 1.19.5
22+
GO_VERSION ?= 1.20.1
2323
OS_CODENAME ?= bullseye
2424

2525
# Build args
Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,17 @@
11
variants:
22
go1.20-bullseye:
33
CONFIG: 'go1.20-bullseye'
4-
IMAGE_VERSION: 'v2.3.1-go1.20-bullseye.0'
4+
IMAGE_VERSION: 'v2.3.1-go1.20.1-bullseye.0'
55
GO_MAJOR_VERSION: '1.20'
66
OS_CODENAME: 'bullseye'
77
REVISION: '0'
8-
GO_VERSION: '1.20'
8+
GO_VERSION: '1.20.1'
99
DISTROLESS_IMAGE: 'static-debian11'
1010
go1.19-bullseye:
1111
CONFIG: 'go1.19-bullseye'
12-
IMAGE_VERSION: 'v2.3.1-go1.19.5-bullseye.0'
12+
IMAGE_VERSION: 'v2.3.1-go1.19.6-bullseye.0'
1313
GO_MAJOR_VERSION: '1.19'
1414
OS_CODENAME: 'bullseye'
1515
REVISION: '0'
16-
GO_VERSION: '1.19.5'
17-
DISTROLESS_IMAGE: 'static-debian11'
18-
go1.18-bullseye:
19-
CONFIG: 'go1.18-bullseye'
20-
IMAGE_VERSION: 'v2.3.1-go1.18.10-bullseye.0'
21-
GO_MAJOR_VERSION: '1.18'
22-
OS_CODENAME: 'bullseye'
23-
REVISION: '0'
24-
GO_VERSION: '1.18.10'
16+
GO_VERSION: '1.19.6'
2517
DISTROLESS_IMAGE: 'static-debian11'

images/releng/ci/variants.yaml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,11 @@
11
variants:
22
go1.20-bullseye:
33
CONFIG: 'go1.20-bullseye'
4-
GO_VERSION: '1.20'
4+
GO_VERSION: '1.20.1'
55
OS_CODENAME: 'bullseye'
66
REVISION: '0'
77
go1.19-bullseye:
88
CONFIG: 'go1.19-bullseye'
9-
GO_VERSION: '1.19.5'
10-
OS_CODENAME: 'bullseye'
11-
REVISION: '0'
12-
go1.18-bullseye:
13-
CONFIG: 'go1.18-bullseye'
14-
GO_VERSION: '1.18.10'
15-
OS_CODENAME: 'bullseye'
16-
REVISION: '0'
17-
go1.17-bullseye:
18-
CONFIG: 'go1.17-bullseye'
19-
GO_VERSION: '1.17.13'
9+
GO_VERSION: '1.19.6'
2010
OS_CODENAME: 'bullseye'
2111
REVISION: '0'

packages/deb/Dockerfile

Lines changed: 1 addition & 1 deletion
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.19.5-bullseye
15+
FROM golang:1.20.1-bullseye
1616

1717
RUN export DEBIAN_FRONTEND=noninteractive \
1818
&& apt-get update -y \

0 commit comments

Comments
 (0)