ba0c8619aa
Add generate-schemas step to kubeconform woodpecker pipeline so schemas are built from live kustomize output on each PR run. Remove the committed ci/crd-schemas/ snapshot and gitignore the directory so it stays local-only.
34 lines
731 B
YAML
34 lines
731 B
YAML
when:
|
|
- event: pull_request
|
|
|
|
steps:
|
|
- name: generate-schemas
|
|
image: git.unkin.net/unkin/almalinux9-kubetest:20260319
|
|
commands:
|
|
- make generate-schemas
|
|
backend_options:
|
|
kubernetes:
|
|
serviceAccountName: default
|
|
resources:
|
|
requests:
|
|
memory: 512Mi
|
|
cpu: 1
|
|
limits:
|
|
memory: 2Gi
|
|
cpu: 2
|
|
|
|
- name: kubeconform
|
|
image: git.unkin.net/unkin/almalinux9-kubetest:20260319
|
|
commands:
|
|
- make kubeconform
|
|
backend_options:
|
|
kubernetes:
|
|
serviceAccountName: default
|
|
resources:
|
|
requests:
|
|
memory: 512Mi
|
|
cpu: 1
|
|
limits:
|
|
memory: 2Gi
|
|
cpu: 2
|