bump k8s codegen versions and build 1.35 codegen container image

This commit is contained in:
Ryan Richard
2025-12-18 12:41:01 -08:00
parent 649cbd7dec
commit 3640096b6c

View File

@@ -41,12 +41,12 @@ meta:
BUILD_ARG_GO_VERSION: '1.25.5'
# Choose which version of sigs.k8s.io/controller-tools/cmd/controller-gen to install
# in the codegen container images.
BUILD_ARG_CONTROLLER_GEN_VERSION: 0.19.0
BUILD_ARG_CONTROLLER_GEN_VERSION: 0.20.0
# Choose which version of github.com/elastic/crd-ref-docs to install in the codegen
# container images. We use a commit sha instead of a release semver because this project
# does not create releases very often. They seem to only release 1-2 times per year, but
# commit to main more often.
BUILD_ARG_CRD_REF_DOCS_COMMIT_SHA: 7de98928
BUILD_ARG_CRD_REF_DOCS_COMMIT_SHA: da1c9739
resources:
@@ -262,6 +262,16 @@ resources:
password: ((ci-ghcr-pusher-token))
tag: latest
- name: k8s-code-generator-1.35-image-ghcr
type: registry-image
icon: docker
<<: *check-every-for-image
source:
repository: ((ci-ghcr-registry))/k8s-code-generator-1.35
username: ((ci-ghcr-pusher-username))
password: ((ci-ghcr-pusher-token))
tag: latest
- name: k8s-code-generator-dockerfile
type: git
icon: github
@@ -850,7 +860,7 @@ jobs:
- path: cache
params:
CONTEXT: k8s-code-generator-dockerfile/dockerfiles/k8s-code-generator
BUILD_ARG_K8S_PKG_VERSION: 0.31.12
BUILD_ARG_K8S_PKG_VERSION: 0.31.14
<<: *codegen-versions
OUTPUT_OCI: true # needed for building multi-arch images
IMAGE_PLATFORM: "linux/amd64,linux/arm64" # build a multi-arch images which includes these platforms
@@ -886,7 +896,7 @@ jobs:
- path: cache
params:
CONTEXT: k8s-code-generator-dockerfile/dockerfiles/k8s-code-generator
BUILD_ARG_K8S_PKG_VERSION: 0.32.8
BUILD_ARG_K8S_PKG_VERSION: 0.32.10
<<: *codegen-versions
OUTPUT_OCI: true # needed for building multi-arch images
IMAGE_PLATFORM: "linux/amd64,linux/arm64" # build a multi-arch images which includes these platforms
@@ -922,7 +932,7 @@ jobs:
- path: cache
params:
CONTEXT: k8s-code-generator-dockerfile/dockerfiles/k8s-code-generator
BUILD_ARG_K8S_PKG_VERSION: 0.33.4
BUILD_ARG_K8S_PKG_VERSION: 0.33.6
<<: *codegen-versions
OUTPUT_OCI: true # needed for building multi-arch images
IMAGE_PLATFORM: "linux/amd64,linux/arm64" # build a multi-arch images which includes these platforms
@@ -958,7 +968,7 @@ jobs:
- path: cache
params:
CONTEXT: k8s-code-generator-dockerfile/dockerfiles/k8s-code-generator
BUILD_ARG_K8S_PKG_VERSION: 0.34.0
BUILD_ARG_K8S_PKG_VERSION: 0.34.2
<<: *codegen-versions
OUTPUT_OCI: true # needed for building multi-arch images
IMAGE_PLATFORM: "linux/amd64,linux/arm64" # build a multi-arch images which includes these platforms
@@ -968,6 +978,42 @@ jobs:
params:
image: image/image # this is a directory for OCI (multi-arch images)
- name: build-k8s-code-generator-1.35
public: true # all logs are publicly visible
serial: true
plan:
- get: k8s-code-generator-dockerfile
trigger: true
- get: daily
trigger: true
- task: build-image
privileged: true
config:
platform: linux
image_resource:
type: registry-image
source:
repository: concourse/oci-build-task
inputs:
- name: k8s-code-generator-dockerfile
outputs:
- name: image
run:
path: build
caches:
- path: cache
params:
CONTEXT: k8s-code-generator-dockerfile/dockerfiles/k8s-code-generator
BUILD_ARG_K8S_PKG_VERSION: 0.35.0
<<: *codegen-versions
OUTPUT_OCI: true # needed for building multi-arch images
IMAGE_PLATFORM: "linux/amd64,linux/arm64" # build a multi-arch images which includes these platforms
- put: k8s-code-generator-1.35-image-ghcr
get_params:
format: oci # needed for multi-arch images
params:
image: image/image # this is a directory for OCI (multi-arch images)
- name: build-test-forward-proxy
public: true # all logs are publicly visible
serial: true