Skip to content

Merge pull request #60 from synthesized-io/release-1.77.0 #169

Merge pull request #60 from synthesized-io/release-1.77.0

Merge pull request #60 from synthesized-io/release-1.77.0 #169

Workflow file for this run

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