fix: use --break-system-packages for pip install yamllint
All checks were successful
AI Review / AI Code Review (pull_request) Successful in 2s
PR Checks / Validate & Security Scan (pull_request) Successful in 11s

PEP 668 blocks pip install in externally-managed Python environments
(Debian/Ubuntu). Adding --break-system-packages flag to fix CI.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
root 2026-02-22 13:51:42 +01:00
parent 7d21c942a2
commit 893b58afdc

View File

@ -18,9 +18,9 @@ jobs:
- name: YAML Lint
run: |
echo "=== YAML Lint ==="
pip install -q yamllint 2>/dev/null
pip install -q --break-system-packages yamllint
yamllint -d "{extends: relaxed, rules: {line-length: {max: 200}}}" \
environments/ argocd-apps/ apps/ 2>&1
environments/ argocd-apps/ apps/
echo "YAML lint passed"
- name: Validate ArgoCD Manifests