From 1a92aadb0ad793174bd201d41cce24744c058c06 Mon Sep 17 00:00:00 2001 From: leiicamundi <153937047+leiicamundi@users.noreply.github.com> Date: Thu, 29 Feb 2024 16:03:08 +0100 Subject: [PATCH] add query jdbc --- .github/workflows/debug-db.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/debug-db.yml b/.github/workflows/debug-db.yml index 2f54ccb1..82acfd07 100644 --- a/.github/workflows/debug-db.yml +++ b/.github/workflows/debug-db.yml @@ -13,7 +13,7 @@ jobs: fail-fast: false # don't propate failing jobs matrix: runner_desc: - - {runner: aws-core-2-default, postgres_replicas: 0, keycloak_jdbc_protocol: "aws-wrapper:postgresql", keycloak_db_driver: software.amazon.jdbc.Driver, keycloak_db_host_template: "camunda-ci-eks-aurora-postgresql-{{ postgres_version }}.cluster-clnwzia8ptad.eu-central-1.rds.amazonaws.com", keycloak_db_port: "5432" } + - {runner: aws-core-2-default, postgres_replicas: 0, keycloak_jdbc_protocol: "aws-wrapper:postgresql", keycloak_db_driver: software.amazon.jdbc.Driver, keycloak_db_host_template: "camunda-ci-eks-aurora-postgresql-{{ postgres_version }}.cluster-clnwzia8ptad.eu-central-1.rds.amazonaws.com", keycloak_db_jdbc_query: "?wrapperPlugins=iam", keycloak_db_port: "5432" } postgres_version: [15] # reference: https://www.keycloak.org/server/db runs-on: ${{ matrix.runner_desc.runner }} steps: @@ -96,7 +96,7 @@ jobs: echo "postgres_host=${postgres_host}" : # compute the keycloak db url - test_db_url="jdbc:${{ matrix.runner_desc.keycloak_jdbc_protocol }}://${postgres_host}:${{ matrix.runner_desc.keycloak_db_port }}/${postgres_database}" + test_db_url="jdbc:${{ matrix.runner_desc.keycloak_jdbc_protocol }}://${postgres_host}:${{ matrix.runner_desc.keycloak_db_port }}/${postgres_database}${{ matrix.runner_desc.keycloak_db_jdbc_query }}" echo "test_db_url=${test_db_url}" >> "$GITHUB_ENV" echo "test_db_url=$test_db_url"