Change Log Parameters from Environment Variable

Description

As per - http://www.liquibase.org/documentation/changelog_parameters.html - it appears that the currently supported resolutions for change log parameters include:

  • Passed as a parameter to your Liquibase runner (see Ant, command_line, etc. documentation for how to pass them)

  • As a JVM system property

  • In the parameters block (<property> Tag) of the DatabaseChangeLog file itself.

It'd be great to see change log parameters be resolveable from environment variables as well. i.e. look for environment variables with a given key for ${keyName}. This is similar to how https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html#boot-features-external-config deals with these different configuration sources hierarchically.

Environment

Windows & Linux

Status

Assignee

Unassigned

Reporter

Sean Dukehart

Labels

None

Components

Fix versions

Affects versions

Priority

Blocker
Configure