Skip to content

Commit

Permalink
Merge pull request kubernetes#2621 from cpanato/go118117
Browse files Browse the repository at this point in the history
[GO] build Go 1.18.4 and 1.17.12 images
  • Loading branch information
k8s-ci-robot committed Jul 27, 2022
2 parents fd4bc60 + fa9b37c commit a91833b
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 45 deletions.
2 changes: 1 addition & 1 deletion Dockerfile-kubepkg
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.18.3-buster AS builder
FROM golang:1.18.4-buster AS builder

ENV GO111MODULE=on

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-kubepkg-rpm
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.18.3-buster AS builder
FROM golang:1.18.4-buster AS builder

ENV GO111MODULE=on

Expand Down
28 changes: 11 additions & 17 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ dependencies:

# Golang
- name: "golang"
version: 1.18.3
version: 1.18.4
refPaths:
- path: Dockerfile-kubepkg
match: FROM golang:\d+.\d+(alpha|beta|rc)?\.?(\d+)-(bullseye|buster) AS builder
Expand Down Expand Up @@ -127,7 +127,7 @@ dependencies:
# - v1.100.0-go1.17-bullseye.0 satisfies SemVer regex, while:
# - v1.100-go1.17-bullseye.0 does not
- name: "Kubernetes version (stable.0)"
version: v1.23.0
version: v1.24.0
refPaths:
- path: images/build/cross/Makefile
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-]+)*))?)
Expand All @@ -147,7 +147,7 @@ dependencies:
match: REVISION:\ '\d+'

- name: "k8s.gcr.io/build-image/go-runner"
version: v2.3.1-go1.17.11-bullseye.0
version: v2.3.1-go1.17.12-bullseye.0
refPaths:
- path: images/build/go-runner/variants.yaml
match: v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)
Expand All @@ -161,7 +161,7 @@ dependencies:
match: REVISION:\ '\d+'

- name: "k8s.gcr.io/build-image/kube-cross"
version: v1.25.0-go1.18.3-bullseye.0
version: v1.25.0-go1.18.4-bullseye.0
refPaths:
- path: images/build/cross/variants.yaml
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-]+)*))?)'"
Expand Down Expand Up @@ -238,7 +238,7 @@ dependencies:

# Golang (previous release branches: 1.24)
- name: "golang (previous release branches: 1.24)"
version: 1.18.3
version: 1.18.4
refPaths:
- path: images/build/cross/variants.yaml
match: \d+.\d+(alpha|beta|rc)?\.?(\d+)?
Expand All @@ -255,7 +255,7 @@ dependencies:

# Golang (previous release branches: 1.23)
- name: "golang (previous release branches: 1.23)"
version: 1.17.11
version: 1.17.12
refPaths:
- path: images/build/cross/variants.yaml
match: \d+.\d+(alpha|beta|rc)?\.?(\d+)?
Expand Down Expand Up @@ -295,13 +295,13 @@ dependencies:
match: REVISION:\ '\d+'

- name: "k8s.gcr.io/build-image/go-runner (previous release branches: 1.24)"
version: v2.3.1-go1.18.3-bullseye.0
version: v2.3.1-go1.18.4-bullseye.0
refPaths:
- path: images/build/go-runner/variants.yaml
match: v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)

- name: "k8s.gcr.io/build-image/go-runner (previous release branches: 1.23)"
version: v2.3.1-go1.17.11-bullseye.0
version: v2.3.1-go1.17.12-bullseye.0
refPaths:
- path: images/build/go-runner/variants.yaml
match: v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)
Expand All @@ -319,13 +319,13 @@ dependencies:
match: REVISION:\ '\d+'

- name: "k8s.gcr.io/build-image/kube-cross (previous release branches: 1.24)"
version: v1.24.0-go1.18.3-bullseye.0
version: v1.24.0-go1.18.4-bullseye.0
refPaths:
- path: images/build/cross/variants.yaml
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-]+)*))?)'"

- name: "k8s.gcr.io/build-image/kube-cross (previous release branches: 1.23)"
version: v1.23.0-go1.17.11-bullseye.0
version: v1.23.0-go1.17.12-bullseye.0
refPaths:
- path: images/build/cross/variants.yaml
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-]+)*))?)'"
Expand All @@ -336,13 +336,7 @@ dependencies:
- path: images/build/cross/variants.yaml
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-]+)*))?)'"

- name: "k8s.gcr.io/build-image/kube-cross (previous release branches: 1.21)"
version: v1.21.0-go1.16.15-buster.0
refPaths:
- path: images/build/cross/variants.yaml
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-]+)*))?)'"

- name: "k8s.gcr.io/build-image/kube-cross: config variant (previous release branches: 1.22, 1.21)"
- name: "k8s.gcr.io/build-image/kube-cross: config variant (previous release branches: 1.22)"
version: go1.16-buster
refPaths:
- path: images/build/cross/variants.yaml
Expand Down
4 changes: 2 additions & 2 deletions images/build/cross/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ IMGNAME = kube-cross
# Example:
# - v1.100.0-go1.17-bullseye.0 satisfies SemVer regex, while:
# - v1.100-go1.17-bullseye.0 does not
KUBERNETES_VERSION ?= v1.23.0
GO_VERSION ?= 1.18.3
KUBERNETES_VERSION ?= v1.24.0
GO_VERSION ?= 1.18.4
GO_MAJOR_VERSION ?= 1.18
OS_CODENAME ?= bullseye
REVISION ?= 0
Expand Down
22 changes: 6 additions & 16 deletions images/build/cross/variants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,29 @@ variants:
v1.25-go1.18-bullseye:
CONFIG: 'go1.18-bullseye'
TYPE: 'default'
IMAGE_VERSION: 'v1.25.0-go1.18.3-bullseye.0'
IMAGE_VERSION: 'v1.25.0-go1.18.4-bullseye.0'
KUBERNETES_VERSION: 'v1.25.0'
GO_VERSION: '1.18.3'
GO_VERSION: '1.18.4'
GO_MAJOR_VERSION: '1.18'
OS_CODENAME: 'bullseye'
REVISION: '0'
PROTOBUF_VERSION: '3.19.4'
v1.24-go1.18-bullseye:
CONFIG: 'go1.18-bullseye'
TYPE: 'default'
IMAGE_VERSION: 'v1.24.0-go1.18.3-bullseye.0'
IMAGE_VERSION: 'v1.24.0-go1.18.4-bullseye.0'
KUBERNETES_VERSION: 'v1.24.0'
GO_VERSION: '1.18.3'
GO_VERSION: '1.18.4'
GO_MAJOR_VERSION: '1.18'
OS_CODENAME: 'bullseye'
REVISION: '0'
PROTOBUF_VERSION: '3.19.4'
v1.23-go1.17-bullseye:
CONFIG: 'go1.17-bullseye'
TYPE: 'default'
IMAGE_VERSION: 'v1.23.0-go1.17.11-bullseye.0'
IMAGE_VERSION: 'v1.23.0-go1.17.12-bullseye.0'
KUBERNETES_VERSION: 'v1.23.0'
GO_VERSION: '1.17.11'
GO_VERSION: '1.17.12'
GO_MAJOR_VERSION: '1.17'
OS_CODENAME: 'bullseye'
REVISION: '0'
Expand All @@ -49,13 +49,3 @@ variants:
OS_CODENAME: 'buster'
REVISION: '0'
PROTOBUF_VERSION: '3.19.4'
v1.21-go1.16-buster:
CONFIG: 'go1.16-buster'
TYPE: 'default'
IMAGE_VERSION: 'v1.21.0-go1.16.15-buster.0'
KUBERNETES_VERSION: 'v1.21.0'
GO_VERSION: '1.16.15'
GO_MAJOR_VERSION: '1.16'
OS_CODENAME: 'buster'
REVISION: '0'
PROTOBUF_VERSION: '3.19.4'
2 changes: 1 addition & 1 deletion images/build/go-runner/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ GO_MAJOR_VERSION ?= 1.18
REVISION ?= 0

# Build args
GO_VERSION ?= 1.18.3
GO_VERSION ?= 1.18.4
OS_CODENAME ?= bullseye
DISTROLESS_IMAGE ?= static-debian11

Expand Down
8 changes: 4 additions & 4 deletions images/build/go-runner/variants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ variants:
DISTROLESS_IMAGE: 'static-debian11'
go1.18-bullseye:
CONFIG: 'go1.18-bullseye'
IMAGE_VERSION: 'v2.3.1-go1.18.3-bullseye.0'
IMAGE_VERSION: 'v2.3.1-go1.18.4-bullseye.0'
GO_MAJOR_VERSION: '1.18'
OS_CODENAME: 'bullseye'
REVISION: '0'
GO_VERSION: '1.18.3'
GO_VERSION: '1.18.4'
DISTROLESS_IMAGE: 'static-debian11'
go1.17-bullseye:
CONFIG: 'go1.17-bullseye'
IMAGE_VERSION: 'v2.3.1-go1.17.11-bullseye.0'
IMAGE_VERSION: 'v2.3.1-go1.17.12-bullseye.0'
GO_MAJOR_VERSION: '1.17'
OS_CODENAME: 'bullseye'
REVISION: '0'
GO_VERSION: '1.17.11'
GO_VERSION: '1.17.12'
DISTROLESS_IMAGE: 'static-debian11'
go1.16-buster:
CONFIG: 'go1.16-buster'
Expand Down
4 changes: 2 additions & 2 deletions images/releng/ci/variants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ variants:
REVISION: '0'
go1.18-bullseye:
CONFIG: 'go1.18-bullseye'
GO_VERSION: '1.18.3'
GO_VERSION: '1.18.4'
OS_CODENAME: 'bullseye'
REVISION: '0'
go1.17-bullseye:
CONFIG: 'go1.17-bullseye'
GO_VERSION: '1.17.11'
GO_VERSION: '1.17.12'
OS_CODENAME: 'bullseye'
REVISION: '0'
go1.16-buster:
Expand Down
2 changes: 1 addition & 1 deletion packages/deb/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.18.3-bullseye
FROM golang:1.18.4-bullseye

RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get update -y \
Expand Down

0 comments on commit a91833b

Please sign in to comment.