You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
synctv/.github/workflows/helm-ci.yml

70 lines
1.7 KiB
YAML

name: Helm CI
on:
push:
branches: ['**']
paths:
- ".github/workflows/helm-ci.yml"
- ".github/workflows/helm.yml"
- "Cargo.toml"
- "docker-compose.yml"
- "helm/**"
- "scripts/validate-helm.sh"
- "scripts/test-helm-secret-bootstrap.sh"
pull_request:
branches: ['**']
paths:
- ".github/workflows/helm-ci.yml"
- ".github/workflows/helm.yml"
- "Cargo.toml"
- "docker-compose.yml"
- "helm/**"
- "scripts/validate-helm.sh"
- "scripts/test-helm-secret-bootstrap.sh"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
permissions:
contents: read
env:
CARGO_INCREMENTAL: "0"
jobs:
validate:
name: Validate Chart
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Set up Helm
uses: azure/setup-helm@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2026-08-25
- name: Install build dependencies
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler nasm libclang-dev
- name: Cache Rust build artifacts
uses: Swatinem/rust-cache@v2
with:
shared-key: build
cache-on-failure: true
cache-workspace-crates: true
- name: Validate chart
run: make validate-helm
- name: Create Kind cluster
uses: helm/kind-action@v1
- name: Test Secret bootstrap upgrade
run: scripts/test-helm-secret-bootstrap.sh