From 82a593689582f686b8300e064f19f0292505ef20 Mon Sep 17 00:00:00 2001 From: Robert Stupp Date: Tue, 30 Sep 2025 14:26:08 +0200 Subject: [PATCH] Fix RDS devservices config + adopt for `:polaris-admin:test` Changes: * Disables devservices for `:polaris-admin` tests as well, which is necessary to _not_ spin up test containers. * Use the explicit devservices-config as everywhere else. The first bullet point can cause excessive memory usage, especially with more test classes, eventually killing the whole GH runner. --- runtime/admin/src/main/resources/application.properties | 5 ++++- runtime/defaults/src/main/resources/application.properties | 5 +---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/runtime/admin/src/main/resources/application.properties b/runtime/admin/src/main/resources/application.properties index a15c5b138d..393d12094e 100644 --- a/runtime/admin/src/main/resources/application.properties +++ b/runtime/admin/src/main/resources/application.properties @@ -32,8 +32,11 @@ quarkus.container-image.group=apache quarkus.container-image.name=polaris-admin-tool quarkus.container-image.additional-tags=latest quarkus.datasource.db-kind=postgresql -#https://docs.quarkiverse.io/quarkus-amazon-services/dev/amazon-rds.html#_configuring_rds_clients +# if set to true it will try to start localstack at build and run time for the local environment +# https://docs.quarkiverse.io/quarkus-amazon-services/dev/amazon-rds.html#_configuration_reference for more details +quarkus.rds.devservices.enabled=false quarkus.rds.sync-client.type=apache + # ---- Runtime Configuration ---- # Below are default values for properties that can be changed in runtime. diff --git a/runtime/defaults/src/main/resources/application.properties b/runtime/defaults/src/main/resources/application.properties index 83704a7916..def1694c7c 100644 --- a/runtime/defaults/src/main/resources/application.properties +++ b/runtime/defaults/src/main/resources/application.properties @@ -125,14 +125,11 @@ polaris.persistence.type=in-memory # polaris.persistence.type=relational-jdbc polaris.secrets-manager.type=in-memory -# disable localstack # if set to true it will try to start localstack at build and run time for the local environment # https://docs.quarkiverse.io/quarkus-amazon-services/dev/amazon-rds.html#_configuration_reference for more details -quarkus.devservices.enabled=false +quarkus.rds.devservices.enabled=false quarkus.rds.sync-client.type=apache - - polaris.file-io.type=default polaris.event-listener.type=no-op