platform: tunnel k3s flannel over tailnet + layer Flux kustomizations #15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Platform Validate | |
| on: | |
| pull_request: | |
| paths: | |
| - 'platform/**' | |
| - '.github/workflows/platform-validate.yml' | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'platform/**' | |
| - '.github/workflows/platform-validate.yml' | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Nix | |
| uses: DeterminateSystems/nix-installer-action@main | |
| - name: Install kustomize | |
| uses: imranismail/setup-kustomize@v2 | |
| - name: Install Helm | |
| uses: azure/setup-helm@v4 | |
| - name: Install kubeconform | |
| run: | | |
| set -euo pipefail | |
| version="v0.6.7" | |
| curl -sSL -o /tmp/kubeconform.tar.gz \ | |
| "https://github.com/yannh/kubeconform/releases/download/${version}/kubeconform-linux-amd64.tar.gz" | |
| tar -xzf /tmp/kubeconform.tar.gz -C /tmp | |
| sudo install /tmp/kubeconform /usr/local/bin/kubeconform | |
| - name: Validate platform render | |
| run: platform/scripts/validate/render-platform.sh |