fix: incorrect volume format #1120
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: CI | |
| on: [push, pull_request] | |
| jobs: | |
| chart-test: | |
| runs-on: ubuntu-latest | |
| if: ${{ github.repository == 'GreptimeTeam/helm-charts' }} | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Check docs | |
| run: | | |
| make check-docs | |
| - name: Check crds | |
| run: | | |
| make check-crds | |
| - name: Install Helm | |
| uses: azure/setup-helm@v3 | |
| with: | |
| version: v3.12.1 | |
| - name: Install helm-unittest | |
| run: | | |
| helm plugin install https://github.com/helm-unittest/helm-unittest.git --version v1.0.3 | |
| - name: Run unit tests | |
| run: | | |
| helm unittest charts/greptimedb-cluster | |
| helm unittest charts/greptimedb-standalone | |
| - name: Testing add greptime helm repo | |
| run: | | |
| helm repo add greptime https://greptimeteam.github.io/helm-charts/ | |
| helm repo add grafana https://grafana.github.io/helm-charts/ | |
| helm repo add jaeger-all-in-one https://raw.githubusercontent.com/hansehe/jaeger-all-in-one/master/helm/charts/ | |
| helm search repo greptime | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.9' | |
| - name: Set up chart-testing | |
| uses: helm/chart-testing-action@v2.6.0 | |
| - name: Run chart-testing (list-changed) | |
| id: list-changed | |
| run: | | |
| changed=$(ct list-changed --chart-dirs charts --target-branch ${{ github.event.repository.default_branch }}) | |
| if [[ -n "$changed" ]]; then | |
| echo "changed=true" >> "$GITHUB_OUTPUT" | |
| fi | |
| - name: Run chart-testing (lint) | |
| if: steps.list-changed.outputs.changed == 'true' | |
| run: ct lint --validate-maintainers=false --target-branch ${{ github.event.repository.default_branch }} | |
| - name: Create kind cluster | |
| if: steps.list-changed.outputs.changed == 'true' | |
| uses: helm/kind-action@v1 | |
| with: | |
| wait: 120s | |
| version: v0.29.0 | |
| kubectl_version: v1.32.0 | |
| node_image: kindest/node:v1.32.0 | |
| - name: Run e2e | |
| if: steps.list-changed.outputs.changed == 'true' | |
| run: | | |
| make e2e |