test: replace weak literal connectors password with secretKeyRef in multitenancy scenario #675
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
| # yaml-language-server: $schema=https://json.schemastore.org/github-workflow | |
| --- | |
| name: "Test - Release Tooling" | |
| # Gates the Go that the release and chart-validate pipelines depend on | |
| # (scripts/camunda-core + scripts/release-tools + scripts/validate-values-schema). | |
| # Deliberately UNFILTERED: the tooling's behavior is | |
| # coupled to inputs that live outside scripts/ (charts/**/values*.yaml, | |
| # charts/chart-versions.yaml, the committed version-matrix, the release-please | |
| # trace + Harbor API shapes), so a chart-only PR must still run these tests. | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Go test + vet | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 | |
| - name: Install tools | |
| uses: ./.github/actions/install-tool-versions | |
| with: | |
| tools: | | |
| golang | |
| helm | |
| # TestImageSetRealChartContract reads each chart's vendored subcharts | |
| # (keycloak/ES/PG for 8.7-8.9), so they must be present before `go test`. | |
| # dependency-update downloads the subcharts; it does not render templates. | |
| - name: Vendor subcharts for the real-chart contract tests | |
| run: | | |
| make helm.repos-add | |
| for v in 8.7 8.8 8.9 8.10; do | |
| make helm.dependency-update chartPath="charts/camunda-platform-$v" | |
| done | |
| - name: camunda-core — vet + test | |
| working-directory: scripts/camunda-core | |
| run: | | |
| go vet ./pkg/... | |
| go test ./pkg/... | |
| - name: release-tools — vet + test | |
| working-directory: scripts/release-tools | |
| run: | | |
| go vet ./... | |
| go test ./... | |
| - name: validate-values-schema — vet + test | |
| working-directory: scripts/validate-values-schema | |
| run: | | |
| go vet ./... | |
| go test ./... |