Skip to content

build(deps): bump com.google.cloud:google-cloud-shared-config from 1.11.3 to 1.12.0 in /benchmarks/latency-comparison/java #6585

build(deps): bump com.google.cloud:google-cloud-shared-config from 1.11.3 to 1.12.0 in /benchmarks/latency-comparison/java

build(deps): bump com.google.cloud:google-cloud-shared-config from 1.11.3 to 1.12.0 in /benchmarks/latency-comparison/java #6585

Workflow file for this run

on:
push:
branches:
- main
pull_request:
name: ci
env:
GOOGLE_CLOUD_PROJECT: "span-cloud-testing"
GOOGLE_CLOUD_INSTANCE: "pgadapter-testing"
GOOGLE_CLOUD_DATABASE: "testdb_e2e_psql"
GOOGLE_CLOUD_ENDPOINT: "spanner.googleapis.com"
JSON_SERVICE_ACCOUNT_CREDENTIALS: ${{ secrets.JSON_SERVICE_ACCOUNT_CREDENTIALS }}
jobs:
check-env:
outputs:
has-key: ${{ steps.project-id.outputs.defined }}
runs-on: ubuntu-latest
steps:
- id: project-id
env:
GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
if: "${{ env.GCP_PROJECT_ID != '' }}"
run: echo "defined=true" >> "$GITHUB_OUTPUT"
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'zulu'
- run: java -version
- run: .ci/run-with-credentials.sh lint
e2e-psql-v12-v14:
needs: [check-env]
if: needs.check-env.outputs.has-key == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'zulu'
- run: java -version
- name: "Install postgresql-client-12"
run: |
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install postgresql-client-12
- id: 'auth'
uses: google-github-actions/auth@v2
with:
credentials_json: '${{ secrets.JSON_SERVICE_ACCOUNT_CREDENTIALS }}'
- id: 'setup-gcloud'
uses: google-github-actions/setup-gcloud@v2
with:
project_id: ${{ env.GOOGLE_CLOUD_PROJECT }}
- name: "Install gcloud alpha component"
run: gcloud components install alpha
- run: .ci/run-with-credentials.sh uber-jar-build
- run: .ci/run-with-credentials.sh e2e-psql 12 14.1
e2e-psql-v13-v14:
needs: [check-env]
if: needs.check-env.outputs.has-key == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'zulu'
- run: java -version
- name: "Install postgresql-client-13"
run: |
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install postgresql-client-13
- id: 'auth'
uses: google-github-actions/auth@v2
with:
credentials_json: '${{ secrets.JSON_SERVICE_ACCOUNT_CREDENTIALS }}'
- id: 'setup-gcloud'
uses: google-github-actions/setup-gcloud@v2
with:
project_id: ${{ env.GOOGLE_CLOUD_PROJECT }}
- name: "Install gcloud alpha component"
run: gcloud components install alpha
- run: .ci/run-with-credentials.sh uber-jar-build
- run: .ci/run-with-credentials.sh e2e-psql 13 14.1
e2e-psql-v14-v14:
needs: [check-env]
if: needs.check-env.outputs.has-key == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'zulu'
- run: java -version
- name: "Install postgresql-client-14"
run: |
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install postgresql-client-14
- id: 'auth'
uses: google-github-actions/auth@v2
with:
credentials_json: '${{ secrets.JSON_SERVICE_ACCOUNT_CREDENTIALS }}'
- id: 'setup-gcloud'
uses: google-github-actions/setup-gcloud@v2
with:
project_id: ${{ env.GOOGLE_CLOUD_PROJECT }}
- name: "Install gcloud alpha component"
run: gcloud components install alpha
- run: .ci/run-with-credentials.sh uber-jar-build
- run: .ci/run-with-credentials.sh e2e-psql 14 14.1
e2e-psql-v15-v14:
needs: [check-env]
if: needs.check-env.outputs.has-key == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'zulu'
- run: java -version
- name: "Install postgresql-client-15"
run: |
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install postgresql-client-15
- id: 'auth'
uses: google-github-actions/auth@v2
with:
credentials_json: '${{ secrets.JSON_SERVICE_ACCOUNT_CREDENTIALS }}'
- id: 'setup-gcloud'
uses: google-github-actions/setup-gcloud@v2
with:
project_id: ${{ env.GOOGLE_CLOUD_PROJECT }}
- name: "Install gcloud alpha component"
run: gcloud components install alpha
- run: .ci/run-with-credentials.sh uber-jar-build
- run: .ci/run-with-credentials.sh e2e-psql 15 14.1
e2e-psql-v16-v14:
needs: [check-env]
if: needs.check-env.outputs.has-key == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'zulu'
- run: java -version
- name: "Install postgresql-client-16"
run: |
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install postgresql-client-16
- id: 'auth'
uses: google-github-actions/auth@v2
with:
credentials_json: '${{ secrets.JSON_SERVICE_ACCOUNT_CREDENTIALS }}'
- id: 'setup-gcloud'
uses: google-github-actions/setup-gcloud@v2
with:
project_id: ${{ env.GOOGLE_CLOUD_PROJECT }}
- name: "Install gcloud alpha component"
run: gcloud components install alpha
- run: .ci/run-with-credentials.sh uber-jar-build
- run: .ci/run-with-credentials.sh e2e-psql 16 14.1
e2e-psql-v17-v14:
needs: [check-env]
if: needs.check-env.outputs.has-key == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'zulu'
- run: java -version
- name: "Install postgresql-client-17"
run: |
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install postgresql-client-17
- id: 'auth'
uses: google-github-actions/auth@v2
with:
credentials_json: '${{ secrets.JSON_SERVICE_ACCOUNT_CREDENTIALS }}'
- id: 'setup-gcloud'
uses: google-github-actions/setup-gcloud@v2
with:
project_id: ${{ env.GOOGLE_CLOUD_PROJECT }}
- name: "Install gcloud alpha component"
run: gcloud components install alpha
- run: .ci/run-with-credentials.sh uber-jar-build
- run: .ci/run-with-credentials.sh e2e-psql 17 14.1