Release 1.80.1 #178
Workflow file for this run
This file contains 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: Static verification | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
static-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
- name: Set up Helm | |
uses: azure/setup-helm@v3 | |
- name: Set up kubeconform | |
run: go install github.com/yannh/kubeconform/cmd/kubeconform@latest | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.7 | |
- name: Install yamllint | |
run: | | |
python -m pip install --upgrade pip | |
pip install yamllint | |
- name: Verify yamls | |
run: | | |
yamllint -s . | |
- name: Lint Helm charts | |
run: | | |
helm lint charts/tdk | |
helm lint charts/sdk | |
helm lint charts/governor | |
- name: Verify Helm chart outputs | |
run: | | |
helm template --set mode=cloud \ | |
--set ingress.enabled=true \ | |
--set grpcIngress.enabled=true \ | |
charts/governor | kubeconform -strict | |
helm template --set mode=self-hosted \ | |
--set ingress.enabled=true \ | |
--set grpcIngress.enabled=true \ | |
charts/governor | kubeconform -strict | |
helm template charts/tdk | kubeconform -strict | |
helm template charts/sdk | kubeconform -strict |