Use the checks settings file
You can run the policy checks that are enabled in your settings file by using the checks run
command.
Here are some tips to use your settings file:
To use the in-memory file while running
run
orshow
, enter N at runtime. Other commands require a checks settings file to save the changes for checks.To use a checks settings file customized for a specific environment or project, specify the name with the
--checks-settings-file
parameter. If you do not specify this parameter, Liquibase uses the in-memory file or default settings file:liquibase.checks-settings.conf
.To group multiple checks settings files together and run them in a single
run
orshow
command, create a checks package.
Procedure
1
Run this command against your checks settings file
liquibase checks run --checks-settings-file=my_file_name.yaml