|
|
@ -56,15 +56,15 @@ jobs:
|
|
|
|
- name: Build CRDs
|
|
|
|
- name: Build CRDs
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
kustomize build manifests/crds > all-crds.yaml
|
|
|
|
kustomize build manifests/crds > all-crds.yaml
|
|
|
|
|
|
|
|
# Pinned to commit before https://github.com/fluxcd/pkg/pull/189 due to
|
|
|
|
|
|
|
|
# introduction faulty behavior.
|
|
|
|
- name: Generate OpenAPI JSON schemas from CRDs
|
|
|
|
- name: Generate OpenAPI JSON schemas from CRDs
|
|
|
|
uses: fluxcd/pkg//actions/crdjsonschema@main
|
|
|
|
uses: fluxcd/pkg//actions/crdjsonschema@49e26aa2ee9e734c3233c560253fd9542afe18ae
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
crd: all-crds.yaml
|
|
|
|
crd: all-crds.yaml
|
|
|
|
output: schemas
|
|
|
|
output: schemas
|
|
|
|
combined_filename: crd-schemas.json
|
|
|
|
|
|
|
|
- name: Archive the OpenAPI JSON schemas
|
|
|
|
- name: Archive the OpenAPI JSON schemas
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
mv schemas/crd-schemas.json ./output/crd-schemas.json
|
|
|
|
|
|
|
|
tar -czvf ./output/crd-schemas.tar.gz -C schemas .
|
|
|
|
tar -czvf ./output/crd-schemas.tar.gz -C schemas .
|
|
|
|
- name: Run GoReleaser
|
|
|
|
- name: Run GoReleaser
|
|
|
|
uses: goreleaser/goreleaser-action@v1
|
|
|
|
uses: goreleaser/goreleaser-action@v1
|
|
|
|