fix(config): stop parsing the syncerd binary as configuration, and re… #112
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: [master] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Set up Go | |
| uses: actions/setup-go@v7 | |
| with: | |
| go-version: "1.26" | |
| cache: true | |
| - name: Go fmt | |
| run: | | |
| test -z "$(gofmt -l .)" | |
| - name: Go test | |
| run: | | |
| go test ./... | |
| - name: Go build | |
| run: | | |
| go build -o syncerd ./main.go | |
| helm: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Set up Helm | |
| uses: azure/setup-helm@v5 | |
| with: | |
| version: "v3.14.0" | |
| - name: Helm lint | |
| run: | | |
| helm lint ./_helm/syncerd | |
| - name: Helm template (default values) | |
| run: | | |
| helm template syncerd ./_helm/syncerd --debug 2>&1 | head -200 | |
| - name: Helm template (with sample config) | |
| run: | | |
| helm template syncerd ./_helm/syncerd -f ./_helm/syncerd/ci-values.yaml | |