This commit is contained in:
parent
a45be47302
commit
dbebd13685
1 changed files with 4 additions and 2 deletions
|
@ -14,6 +14,8 @@ jobs:
|
||||||
publish:
|
publish:
|
||||||
name: Schemas
|
name: Schemas
|
||||||
runs-on: ["docker-x86_64"]
|
runs-on: ["docker-x86_64"]
|
||||||
|
env:
|
||||||
|
KUBECONFIG: "${{ steps.kubeconfig.outputs.filePath }}"
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
|
@ -57,8 +59,6 @@ jobs:
|
||||||
fileDir: $GITHUB_WORKSPACE
|
fileDir: $GITHUB_WORKSPACE
|
||||||
|
|
||||||
- name: test kubectl
|
- name: test kubectl
|
||||||
env:
|
|
||||||
KUBECONFIG: "${{ steps.kubeconfig.outputs.filePath }}"
|
|
||||||
run: |
|
run: |
|
||||||
kubectl get nodes
|
kubectl get nodes
|
||||||
- name: Download and run crd-extractor
|
- name: Download and run crd-extractor
|
||||||
|
@ -72,6 +72,8 @@ jobs:
|
||||||
bash $GITHUB_WORKSPACE/crd-extractor.sh
|
bash $GITHUB_WORKSPACE/crd-extractor.sh
|
||||||
|
|
||||||
- name: Deploy to Cloudflare R2
|
- name: Deploy to Cloudflare R2
|
||||||
|
env:
|
||||||
|
MC_CONFIG_DIR: $GITHUB_WORKSPACE
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
mc cp --recursive $HOME/.datree/crdSchemas/ r2-ks/kubernetes-schemas
|
mc cp --recursive $HOME/.datree/crdSchemas/ r2-ks/kubernetes-schemas
|
||||||
|
|
Loading…
Reference in a new issue