move cd after kubectl
Some checks failed
Schemas / Schemas (push) Failing after 54s

This commit is contained in:
Joseph Hanson 2024-05-29 14:05:22 -05:00
parent 1c0ca86dd3
commit 1b7676c50b
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -93,6 +93,8 @@ jobs:
let ++NUM_OF_CRDS let ++NUM_OF_CRDS
done < <(kubectl get crds 2>&1 | sed -n '/NAME/,$p' | tail -n +2) done < <(kubectl get crds 2>&1 | sed -n '/NAME/,$p' | tail -n +2)
echo numCRDs: $NUM_OF_CRDS echo numCRDs: $NUM_OF_CRDS
cd $SCHEMAS_DIR
# Download converter script # Download converter script
curl https://raw.githubusercontent.com/yannh/kubeconform/master/scripts/openapi2jsonschema.py --output $TMP_CRD_DIR/openapi2jsonschema.py 2>/dev/null curl https://raw.githubusercontent.com/yannh/kubeconform/master/scripts/openapi2jsonschema.py --output $TMP_CRD_DIR/openapi2jsonschema.py 2>/dev/null