feat(zookeeper): decouple metrics and fluentd in zk-exporter #12
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 Zookeeper Charts | |
| on: | |
| pull_request: | |
| paths: | |
| - 'charts/zookeeper/**' | |
| jobs: | |
| lint-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Helm | |
| uses: azure/setup-helm@v1 | |
| with: | |
| version: v3.9.2 | |
| - uses: actions/setup-python@v2 | |
| with: | |
| python-version: 3.9 | |
| - name: Set up chart-testing | |
| uses: helm/chart-testing-action@v2.3.0 | |
| - name: Run chart-testing (list-changed) | |
| id: list-changed | |
| run: | | |
| changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) | |
| if [[ -n "$changed" ]]; then | |
| echo "::set-output name=changed::true" | |
| fi | |
| - name: Run chart-testing (lint) | |
| run: ct lint --target-branch ${{ github.event.repository.default_branch }} | |
| - name: Create kind cluster | |
| uses: helm/kind-action@v1.2.0 | |
| if: steps.list-changed.outputs.changed == 'true' | |
| with: | |
| config: .config/kind.yaml | |
| - name: Kind cluster-info | |
| run: | | |
| kubectl cluster-info --context kind-chart-testing | |
| kubectl get nodes --context kind-chart-testing | |
| - name: Run chart-testing (install) | |
| run: ct install --helm-extra-args="--timeout=15m0s" --debug |