Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/manifests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: manifests

# Lightweight check for the Kubernetes manifests. The default `ci` workflow is manual only and
# builds the Rust workspace; this one needs only python3 and PyYAML, runs on a GitHub-hosted
# runner, reads no secrets and never builds Rust. It runs the static validator and its mutation
# tests whenever a pull request touches deploy/k8s or this file.
on:
pull_request:
paths:
- deploy/k8s/**
- .github/workflows/manifests.yml

permissions:
contents: read

concurrency:
group: manifests-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
validate:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Install PyYAML
run: python3 -m pip install --user pyyaml

- name: Kubernetes manifest validator
run: python3 deploy/k8s/validate_manifests.py

- name: Validator mutation tests
run: python3 deploy/k8s/test_validate_manifests.py
Loading