Skip to content

Commit

Permalink
Merge pull request #3147 from saschagrunert/kube-cross-protobuf
Browse files Browse the repository at this point in the history
kube-cross: update protobuf version
  • Loading branch information
k8s-ci-robot committed Jul 17, 2023
2 parents ce31a60 + 4469d9f commit ae91f3b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 6 additions & 0 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,12 @@ dependencies:
- path: images/k8s-cloud-builder/variants.yaml
match: "KUBE_CROSS_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: "registry.k8s.io/build-image/kube-cross: protobuf version"
version: 23.4
refPaths:
- path: images/build/cross/default/Dockerfile
match: "PROTOBUF_VERSION [0-9]+\\.[0-9]+"

# Golang (next candidate)
- name: "golang (next candidate)"
version: 1.21rc2
Expand Down
2 changes: 1 addition & 1 deletion images/build/cross/default/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ RUN targetArch=$(echo $TARGETPLATFORM | cut -f2 -d '/') \
&& apt-get install -y build-essential; \
fi

ARG PROTOBUF_VERSION
ENV PROTOBUF_VERSION 23.4
RUN targetArch=$(echo $TARGETPLATFORM | cut -f2 -d '/') \
&& if [ ${targetArch} = "amd64" ]; then \
ZIPNAME="protoc-${PROTOBUF_VERSION}-linux-x86_64.zip"; \
Expand Down
5 changes: 0 additions & 5 deletions images/build/cross/variants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ variants:
GO_MAJOR_VERSION: '1.21'
OS_CODENAME: 'bookworm'
REVISION: '0'
PROTOBUF_VERSION: '3.19.4'
v1.27-go1.20-bullseye:
CONFIG: 'go1.20-bullseye'
TYPE: 'default'
Expand All @@ -18,7 +17,6 @@ variants:
GO_MAJOR_VERSION: '1.20'
OS_CODENAME: 'bullseye'
REVISION: '0'
PROTOBUF_VERSION: '3.19.4'
v1.26-go1.20-bullseye:
CONFIG: 'go1.20-bullseye'
TYPE: 'default'
Expand All @@ -28,7 +26,6 @@ variants:
GO_MAJOR_VERSION: '1.20'
OS_CODENAME: 'bullseye'
REVISION: '0'
PROTOBUF_VERSION: '3.19.4'
v1.25-go1.20-bullseye:
CONFIG: 'go1.20-bullseye'
TYPE: 'default'
Expand All @@ -38,7 +35,6 @@ variants:
GO_MAJOR_VERSION: '1.20'
OS_CODENAME: 'bullseye'
REVISION: '0'
PROTOBUF_VERSION: '3.19.4'
v1.24-go1.20-bullseye:
CONFIG: 'go1.20-bullseye'
TYPE: 'default'
Expand All @@ -48,4 +44,3 @@ variants:
GO_MAJOR_VERSION: '1.20'
OS_CODENAME: 'bullseye'
REVISION: '0'
PROTOBUF_VERSION: '3.19.4'

0 comments on commit ae91f3b

Please sign in to comment.