fix CONVOY_METRICS_SAMPLE_TIME template value #136
Workflow file for this run
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: Lint and Test Charts | |
| on: pull_request | |
| jobs: | |
| lint-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Helm | |
| uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 | |
| with: | |
| version: 'v3.19.0' | |
| - uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c | |
| with: | |
| python-version: 3.12 | |
| - name: Set up chart-testing | |
| uses: helm/chart-testing-action@v2.2.1 | |
| - name: Add Bitnami Charts Repo | |
| run: helm repo add bitnami https://charts.bitnami.com/bitnami | |
| - name: Run chart-testing (list-changed) | |
| id: list-changed | |
| run: | | |
| changed=$(ct list-changed --config ct.yaml --target-branch main) | |
| if [[ -n "$changed" ]]; then | |
| echo "::set-output name=changed::true" | |
| fi | |
| - name: Run chart-testing (lint) | |
| run: ct lint --config ct.yaml --all | |
| - name: Create kind cluster | |
| uses: helm/kind-action@v1.12.0 | |
| if: steps.list-changed.outputs.changed == 'true' | |
| - name: Test main convoy chart installation | |
| if: steps.list-changed.outputs.changed == 'true' | |
| run: | | |
| echo "Testing main convoy chart with root values..." | |
| helm repo add bitnami https://charts.bitnami.com/bitnami | |
| helm dependency build . | |
| helm install convoy-test . --values values.yaml --timeout 300s --wait --wait-for-jobs --debug | |
| helm test convoy-test | |
| helm uninstall convoy-test |