Commit Graph
4 Commits
  • fix(ci): hardcode master branch for ct list-changed
    Replace dynamic github.event.repository.default_branch with hardcoded
    'master' to fix chart-testing list-changed command in both act and CI.
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    Signed-off-by: Aleksei Sviridkin <f@lex.la>
  • fix(ci): resolve markdownlint errors and update Kubernetes versions
    Markdownlint configuration:
    - Disabled MD013 (line-length) - too strict for technical documentation
    - Disabled MD022, MD031, MD032 (blanks-around) - helm-docs generated content
    - Disabled MD034 (no-bare-urls) - many URLs in helm-docs tables
    - Kept MD024 (no-duplicate-heading) - fixed by renaming to "NetworkPolicy Troubleshooting"
    
    README.md changes:
    - Renamed "### Troubleshooting" to "### NetworkPolicy Troubleshooting" (line 406)
    - Resolves MD024 duplicate heading error
    
    Kubernetes version updates:
    - Updated kubeconform validation from 1.29-1.31 to 1.30-1.34
    - Now tests against last 5 stable Kubernetes releases
    - Removed outdated 1.29, added current 1.32-1.34
    
    Python version:
    - Updated to Python 3.14 (tested with act, works correctly)
    
    All changes tested locally, markdownlint now passes.
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    Signed-off-by: Aleksei Sviridkin <f@lex.la>
  • fix(ci): update GitHub Actions to latest versions with tag references
    Updated all GitHub Actions from pinned SHA to stable version tags:
    - actions/checkout: v4 → v5 (supports Node 24)
    - actions/setup-python: v5 with Python 3.13 (explicit version)
    - azure/setup-helm: v4 (stable)
    - losisin/helm-docs-github-action: v1 (latest)
    - helm/chart-testing-action: v2 (stable)
    - DavidAnson/markdownlint-cli2-action: v16 → v18 (latest)
    
    Changed from SHA pinning to semantic version tags for better
    compatibility with act and easier maintenance. All versions verified
    for 2025.
    
    Tested with act dry-run - all steps succeed.
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    Signed-off-by: Aleksei Sviridkin <f@lex.la>
  • feat(ci): add comprehensive PR checks workflow
    Added PR validation workflow with 7 essential checks:
    
    1. helm-docs diff check - ensures README.md is regenerated
    2. helm-unittest - runs all 603 tests
    3. helm lint - includes values.schema.json validation
    4. helm template - validates manifest generation
    5. chart-testing (ct lint) - YAML lint, version check, best practices
    6. kubeconform - validates K8s manifests against versions 1.29-1.31
    7. markdownlint - validates markdown documentation
    
    Configuration files:
    - ct.yaml - chart-testing settings
    - .yamllint.yaml - YAML linting rules
    - .markdownlint.yaml - markdown linting rules
    
    All checks use pinned action versions with SHA for security.
    Workflow triggers on PR changes to charts/** paths.
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    Signed-off-by: Aleksei Sviridkin <f@lex.la>