refactor(ci): convert CRD schema generator to uv inline script
This commit is contained in:
@@ -16,7 +16,7 @@ total=0
|
||||
while IFS= read -r -d "" k; do
|
||||
dir="$(dirname "$k")"
|
||||
n=$(kustomize build --enable-helm "$dir" 2>/dev/null \
|
||||
| python3 "$SCRIPT_DIR/generate-crd-schemas.py" "$OUTPUT_DIR") || continue
|
||||
| "$SCRIPT_DIR/generate-crd-schemas.py" "$OUTPUT_DIR") || continue
|
||||
total=$((total + n))
|
||||
done < <(find apps/overlays clusters -name kustomization.yaml -print0 | sort -z)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user