-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathliquibase.flowfile.base.yaml
96 lines (93 loc) · 3.18 KB
/
liquibase.flowfile.base.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
###
### This flowfile is intended to highlight capabilities of Liquibase Pro
### Review and update prior to use
###
### Liquibase version: 4.30.0+
###
### Liquibase sales: https://www.liquibase.com/contact-us
### Liquibase support: https://support.liquibase.com
###
###
### Prior to running the following files must exist in repository
###
### 1. liquibase.checks-settings.conf
### Liquibase policy checks configuration file
### https://docs.liquibase.com/liquibase-pro/policy-checks/home.html
###
### 2. changelog.main.xml
### Root Liquibase changelog file
### https://docs.liquibase.com/concepts/changelogs/home.html
###
###
### Global variables used in the flowfile
###
globalVariables:
###
### These variables are typically set via automation tools (see pipeline examples)
### NOTE: Any LIQUIBASE_* variable must be set outside this flow file!
### Value after ":-" in assignment is default value
###
### LIQUIBASE_SEARCH_PATH: REQUIRED
### https://docs.liquibase.com/parameters/search-path.html
### Use absolute paths when using Liquibase's Docker container
### LIQUIBASE_SEARCH_PATH: "/liquibase/changelog"
###
### LIQUIBASE_COMMAND_CHANGELOG_FILE: REQUIRED
### Root Liquibase changelog file
### https://docs.liquibase.com/concepts/changelogs/home.html
### LIQUIBASE_COMMAND_CHANGELOG_FILE: "changelog.main.xml"
###
### Secrets: REQUIRED
### These variables should be pulled from a secure vault via pipeline or Liquibase Pro extension
### https://docs.liquibase.com/tools-integrations/extensions/secrets-management/home.html
###
### LIQUIBASE_COMMAND_URL: "jdbc:h2:tcp://localhost:9090/mem:dev"
### LIQUIBASE_COMMAND_USERNAME: "dbuser"
### LIQUIBASE_COMMAND_PASSWORD: "letmein"
### LIQUIBASE_LICENSE_KEY: "12345"
###
### Structured logging
### Liquibase logs can be ingested by any standard observability tool (e.g., CloudWatch, Datadog, Elastic, Splunk)
### https://docs.liquibase.com/tools-integrations/observability/structured-logging.html
###
### LIQUIBASE_LOG_FILE: "liquibase.log.json"
### LIQUIBASE_LOG_FORMAT: "json"
### LIQUIBASE_LOG_LEVEL: "warning"
### LIQUIBASE_MIRROR_CONSOLE_MESSAGES_TO_LOG: "false"
###
### Other settings
### LIQUIBASE_COMMAND_CHECKS_RUN_CHECKS_OUTPUT: "issues"
### LIQUIBASE_COMMAND_CHECKS_RUN_CHECKS_SCRIPTS_ENABLED: "true"
### LIQUIBASE_SHOW_BANNER: "false"
###
### LB_LABELS
### Used to specify which changesets to deploy (defaults to all)
### Set LB_LABELS variable from automation tool
### https://docs.liquibase.com/concepts/changelogs/attributes/labels.html
###
LB_LABELS: "${LB_LABELS:-null}"
###
### Stages to execute
###
stages:
Default:
actions:
#
# Validate database connection
# https://docs.liquibase.com/commands/change-tracking/connect.html
#
- type: liquibase
command: connect
#
# Validate changelog
# https://docs.liquibase.com/commands/utility/validate.html
#
- type: liquibase
command: validate
#
# View pending changes
# https://docs.liquibase.com/commands/change-tracking/status.html
#
- type: liquibase
command: status
cmdArgs: { label-filter: "${LB_LABELS}" }