A Liquibase flow file to create themed checks packages, and the overall checks-package file to be used in checks commands.
This flow file generates the checks-packages artifacts shipped with Liquibase:
-
liquibase.checks-settings.conf (if it doesnt exist)
-
liquibase.checks-package.yaml
-
checks-packages (a directory)
-- liquibase.checks.access-control.yaml
-- liquibase.checks.data-protection.yaml
-- liquibase.checks.schema-protection.yaml
-- liquibase.checks.changeset-standards.yaml
-- liquibase.checks.coding-standards.yaml
But the real value is to serve as a template for generating your own checks packages if you already have a base checks-settings file which you would like to split into themed checks settings file in a sub-dir, controlled by a checks-package file.
- download
liquibase.create-check-package.flow.yaml
andliquibase.checks-package-header.yaml
- place in CWD
- run
liquibase flow --checks-settings-file=liquibase.create-check-package.flow.yaml
- this will create sub-dir (
./checks-pkgs
) with 5 themed checks-settings files - this will create a
liquibase.checks-package.yaml
which lists these packages
The contents of this file are injected/prepended to the liquibase.checks-package.yaml
created by the flow file.
The contents are useful informatiomn about checks package files, with links to docs to learn more.