Graylog 6.3.4 Upgrade #162
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 | |
| permissions: | |
| actions: read | |
| attestations: none | |
| checks: write | |
| contents: write | |
| deployments: read | |
| id-token: none | |
| issues: none | |
| packages: none | |
| pages: write | |
| pull-requests: read | |
| security-events: read | |
| statuses: read | |
| jobs: | |
| lint-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Fetch history | |
| run: git fetch --prune --unshallow | |
| - name: Set up Helm | |
| uses: azure/[email protected] | |
| with: | |
| version: v3.13.3 | |
| - name: Add dependency chart repos | |
| run: | | |
| helm repo add bitnami https://charts.bitnami.com/bitnami | |
| helm repo add stable https://charts.helm.sh/stable | |
| helm repo add kongz https://charts.kong-z.com | |
| helm repo add opensearch https://opensearch-project.github.io/helm-charts/ | |
| helm repo add mongodb https://mongodb.github.io/helm-charts | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Set up chart-testing | |
| uses: helm/[email protected] | |
| - name: Run chart-testing (list-changed) | |
| id: list-changed | |
| run: | | |
| changed=$(ct list-changed --target-branch main) | |
| if [[ -n "$changed" ]]; then | |
| echo "changed=true" >> "$GITHUB_OUTPUT" | |
| fi | |
| - name: Run chart-testing (lint) | |
| run: ct lint --target-branch main | |
| - name: Create kind cluster | |
| uses: helm/[email protected] | |
| if: steps.list-changed.outputs.changed == 'true' | |
| - name: Create kubernetes namespace | |
| run: kubectl create namespace ct | |
| if: steps.list-changed.outputs.changed == 'true' | |
| - name: Install MongoDB Community Operator CRDs | |
| run: helm install --create-namespace --namespace ct community-operator-crds mongodb/community-operator-crds | |
| if: steps.list-changed.outputs.changed == 'true' | |
| - name: Run chart-testing (install) | |
| run: ct install --target-branch main --namespace ct |