remove 1.25 and add 1.33 codegen to pipelines

This commit is contained in:
Ryan Richard
2025-05-13 12:30:37 -07:00
parent e4d2c8ba07
commit 2f00a6b126
3 changed files with 33 additions and 46 deletions

View File

@@ -172,16 +172,6 @@ resources:
password: ((ci-ghcr-pusher-token))
tag: latest
- name: k8s-code-generator-1.25-image-ghcr
type: registry-image
icon: docker
<<: *check-every-for-image
source:
repository: ((ci-ghcr-registry))/k8s-code-generator-1.25
username: ((ci-ghcr-pusher-username))
password: ((ci-ghcr-pusher-token))
tag: latest
- name: k8s-code-generator-1.26-image-ghcr
type: registry-image
icon: docker
@@ -644,42 +634,6 @@ jobs:
params:
image: image/image.tar
- name: build-k8s-code-generator-1.25
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.25.16
<<: *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.25-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-k8s-code-generator-1.26
public: true # all logs are publicly visible
serial: true

View File

@@ -456,6 +456,15 @@ resources:
username: ((ci-ghcr-puller-username))
password: ((ci-ghcr-puller-token))
- name: k8s-code-generator-1.33-image
type: registry-image
icon: docker
check_every: 3m
source:
repository: ((ci-ghcr-registry))/k8s-code-generator-1.33
username: ((ci-ghcr-puller-username))
password: ((ci-ghcr-puller-token))
- name: kind-release
type: github-release
check_every: 10m
@@ -565,6 +574,7 @@ jobs:
- get: k8s-code-generator-1.30-image
- get: k8s-code-generator-1.31-image
- get: k8s-code-generator-1.32-image
- get: k8s-code-generator-1.33-image
- in_parallel:
- task: verify-go-mod-tidy
timeout: 20m
@@ -614,6 +624,12 @@ jobs:
image: k8s-code-generator-1.32-image
params:
KUBE_MINOR_VERSION: "1.32"
- task: codegen-1.33
timeout: 20m
file: pinniped-ci/pipelines/shared-tasks/run-verify-codegen/task.yml
image: k8s-code-generator-1.33-image
params:
KUBE_MINOR_VERSION: "1.33"
- name: unit-test
public: true # all logs are publicly visible

View File

@@ -372,6 +372,15 @@ resources:
username: ((ci-ghcr-puller-username))
password: ((ci-ghcr-puller-token))
- name: k8s-code-generator-1.33-image
type: registry-image
icon: docker
check_every: 3m
source:
repository: ((ci-ghcr-registry))/k8s-code-generator-1.33
username: ((ci-ghcr-puller-username))
password: ((ci-ghcr-puller-token))
jobs:
- name: start
@@ -462,6 +471,7 @@ jobs:
- get: k8s-code-generator-1.30-image
- get: k8s-code-generator-1.31-image
- get: k8s-code-generator-1.32-image
- get: k8s-code-generator-1.33-image
- { <<: *pr-status-on-pending, params: { <<: *pr-status-on-pending-params, context: verify-codegen } }
- in_parallel:
- task: verify-go-mod-tidy
@@ -521,6 +531,13 @@ jobs:
image: k8s-code-generator-1.32-image
params:
KUBE_MINOR_VERSION: "1.32"
- task: codegen-1.33
timeout: 20m
<<: *pinniped-pr-input-mapping
file: pinniped-ci/pipelines/shared-tasks/run-verify-codegen/task.yml
image: k8s-code-generator-1.33-image
params:
KUBE_MINOR_VERSION: "1.33"
- name: unit-test
on_success: { <<: *pr-status-on-success, params: { <<: *pr-status-on-success-params, context: unit-test } }