migrate LIQUIBASE_COMMAND_CONTEXT_FILTER to spring.liquibase.contexts and mark default profile

This commit is contained in:
Michael Hoennig 2025-01-16 12:49:36 +01:00
parent 2d1b5ce046
commit 2a62215b34
3 changed files with 3 additions and 5 deletions

View File

@ -4,5 +4,4 @@ export HSADMINNG_POSTGRES_ADMIN_PASSWORD=
export HSADMINNG_POSTGRES_RESTRICTED_USERNAME=restricted export HSADMINNG_POSTGRES_RESTRICTED_USERNAME=restricted
export HSADMINNG_SUPERUSER=superuser-alex@hostsharing.net export HSADMINNG_SUPERUSER=superuser-alex@hostsharing.net
export HSADMINNG_MIGRATION_DATA_PATH=migration export HSADMINNG_MIGRATION_DATA_PATH=migration
export LIQUIBASE_COMMAND_CONTEXT_FILTER=
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8

View File

@ -4,5 +4,4 @@ unset HSADMINNG_POSTGRES_ADMIN_PASSWORD
unset HSADMINNG_POSTGRES_RESTRICTED_USERNAME unset HSADMINNG_POSTGRES_RESTRICTED_USERNAME
unset HSADMINNG_SUPERUSER unset HSADMINNG_SUPERUSER
unset HSADMINNG_MIGRATION_DATA_PATH unset HSADMINNG_MIGRATION_DATA_PATH
unset LIQUIBASE_COMMAND_CONTEXT_FILTER

View File

@ -46,7 +46,7 @@ spring:
dialect: net.hostsharing.hsadminng.config.PostgresCustomDialect dialect: net.hostsharing.hsadminng.config.PostgresCustomDialect
liquibase: liquibase:
contexts: dev,office contexts: default,dev,office,pg_stat_statements # default just as a marker to show from which profile it comes
# keep this in sync with test/.../application.yml # keep this in sync with test/.../application.yml
springdoc: springdoc:
@ -74,7 +74,7 @@ spring:
activate: activate:
on-profile: dev-all on-profile: dev-all
liquibase: liquibase:
contexts: dev,office,booking,hosting contexts: dev,office,booking,hosting,pg_stat_statements
--- ---
@ -84,7 +84,7 @@ spring:
activate: activate:
on-profile: dev-office on-profile: dev-office
liquibase: liquibase:
contexts: dev,office contexts: dev,office,pg_stat_statements
--- ---