Custom-Metrics: Set default_credential_type to x509 (mTLS) - Breaking Change #12158
Workflow file for this run
This file contains 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: Build with Postgres | |
on: | |
pull_request: | |
workflow_dispatch: | |
concurrency: | |
group: "${{ github.workflow }}/${{ github.ref }}" | |
cancel-in-progress: true | |
jobs: | |
build: | |
strategy: | |
matrix: | |
postgres: [12, 15, 16] | |
suite: [test, integration] | |
env: | |
DB_DATABASE: autoscaler | |
DB_USER: postgres | |
DB_PASSWORD: postgres | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/cloudfoundry/app-autoscaler-release-tools:main@sha256:a894fc6c7678445848d896dab24875a94ed95c0d887760b28a56baf916fef811 | |
continue-on-error: true | |
name: Build suite=${{ matrix.suite }}, postgres=${{ matrix.postgres }} | |
services: | |
postgres: | |
image: postgres:${{ matrix.postgres }} | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: postgres | |
POSTGRES_DB: autoscaler | |
options: >- | |
--health-cmd pg_isready | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
ports: | |
- 5432:5432 | |
steps: | |
- name: Trust my checkout | |
run: git config --global --add safe.directory "${GITHUB_WORKSPACE}" | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: make build | |
env: | |
POSTGRES_HOST: postgres | |
POSTGRES_PORT: 5432 | |
run: | | |
make generate-openapi-generated-clients-and-servers | |
make build | |
- name: make ${{ matrix.suite }} | |
env: | |
POSTGRES_HOST: postgres | |
POSTGRES_PORT: 5432 | |
POSTGRES_DB: autoscaler | |
run: | | |
make ${{ matrix.suite }} DB_HOST="${POSTGRES_HOST}" |