Skip to content

Commit

Permalink
auto generated v4.24.0
Browse files Browse the repository at this point in the history
  • Loading branch information
liquibot committed Oct 11, 2023
1 parent 650561d commit 5320d08
Show file tree
Hide file tree
Showing 5 changed files with 181 additions and 172 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Code generated by protoc-gen-liquibase. DO NOT EDIT.
FROM liquibase/liquibase:4.23.2
FROM liquibase/liquibase:4.24.0
COPY flow_validate.sh /entry.sh
ENTRYPOINT ["/entry.sh"]
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Validate a series of commands contained in one or more stages, as configured in
```yaml
steps:
- uses: actions/checkout@v3
- uses: liquibase-github-actions/flow-validate@v4.23.2
- uses: liquibase-github-actions/flow-validate@v4.24.0
with:
# The path to the configuration yaml file which contains one or more "stages" of commands to be executed in a liquibase flow operation. Defaults to yaml file named "liquibase.flowfile.yaml" in the current working directory.
# string
Expand Down Expand Up @@ -41,7 +41,7 @@ The liquibase flow validate action accepts all valid liquibase global options as
```yaml
steps:
- uses: actions/checkout@v3
- uses: liquibase-github-actions/flow-validate@v4.23.2
- uses: liquibase-github-actions/flow-validate@v4.24.0
with:
headless: true
licenseKey: ${{ secrets.LIQUIBASE_LICENSE_KEY }}
Expand Down
58 changes: 31 additions & 27 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ inputs:
customLogDataFile: # string
description: '[PRO]Relative or fully qualified path to a yaml file containing key:value data to inject or exclude data from JSON structured logs. Learn more at https://docs.liquibase.com/structured-logging'
required: false
customLogDataFrequency: # string
description: '[PRO]The frequency that the custom log data will be entered into the logs. Available options are: ONCE,REPEATED'
required: false
databaseChangelogLockTableName: # string
description: 'Name of table to use for tracking concurrent Liquibase usage'
required: false
Expand All @@ -61,31 +64,19 @@ inputs:
diffColumnOrder: # bool
description: 'Should Liquibase compare column order in diff operation?'
required: false
driftChangedSeverity: # int32
description: 'Changed object drift severity'
required: false
driftEnabled: # bool
description: 'Enable or disable drift detection'
required: false
driftMissingSeverity: # int32
description: 'Missing object drift severity'
required: false
driftReportEnabled: # bool
description: 'Enable or disable drift reporting.'
required: false
driftReportFormat: # string
description: 'The format of the Drift Report. Currently, can only be set to "html".'
required: false
driftReportMode: # string
description: 'The report mode of the Drift Report. The report mode defines the differences to include in the Drift Report. Valid modes include: ALL, MISSING, UNEXPECTED, CHANGED'
driftSeverity: # int32
description: 'Global object drift severity'
required: false
driftReportName: # string
description: 'The name of the Drift Report.'
driftSeverityChanged: # int32
description: 'Changed object drift severity'
required: false
driftReportPath: # string
description: 'The path to the directory to generate Drift Reports.'
driftSeverityMissing: # int32
description: 'Missing object drift severity'
required: false
driftUnexpectedSeverity: # int32
driftSeverityUnexpected: # int32
description: 'Unexpected object drift severity'
required: false
driver: # string
Expand Down Expand Up @@ -196,6 +187,18 @@ inputs:
propertyProviderClass: # string
description: 'Implementation of Properties class to provide additional driver properties'
required: false
reportsEnabled: # bool
description: 'Enable or disable reporting.'
required: false
reportsFormat: # string
description: 'The format of the report. Currently, can only be set to "html".'
required: false
reportsName: # string
description: 'The name of the reports.'
required: false
reportsPath: # string
description: 'The path to the directory to generate the reports.'
required: false
searchPath: # string
description: 'Complete list of Location(s) to search for files such as changelog files in. Multiple paths can be specified by separating them with commas.'
required: false
Expand Down Expand Up @@ -246,21 +249,18 @@ runs:
- ${{ inputs.classpath }}
- ${{ inputs.convertDataTypes }}
- ${{ inputs.customLogDataFile }}
- ${{ inputs.customLogDataFrequency }}
- ${{ inputs.databaseChangelogLockTableName }}
- ${{ inputs.databaseChangelogTableName }}
- ${{ inputs.databaseClass }}
- ${{ inputs.ddlLockTimeout }}
- ${{ inputs.defaultsFile }}
- ${{ inputs.diffColumnOrder }}
- ${{ inputs.driftChangedSeverity }}
- ${{ inputs.driftEnabled }}
- ${{ inputs.driftMissingSeverity }}
- ${{ inputs.driftReportEnabled }}
- ${{ inputs.driftReportFormat }}
- ${{ inputs.driftReportMode }}
- ${{ inputs.driftReportName }}
- ${{ inputs.driftReportPath }}
- ${{ inputs.driftUnexpectedSeverity }}
- ${{ inputs.driftSeverity }}
- ${{ inputs.driftSeverityChanged }}
- ${{ inputs.driftSeverityMissing }}
- ${{ inputs.driftSeverityUnexpected }}
- ${{ inputs.driver }}
- ${{ inputs.driverPropertiesFile }}
- ${{ inputs.duplicateFileMode }}
Expand Down Expand Up @@ -297,6 +297,10 @@ runs:
- ${{ inputs.proSynonymsDropPublic }}
- ${{ inputs.promptForNonLocalDatabase }}
- ${{ inputs.propertyProviderClass }}
- ${{ inputs.reportsEnabled }}
- ${{ inputs.reportsFormat }}
- ${{ inputs.reportsName }}
- ${{ inputs.reportsPath }}
- ${{ inputs.searchPath }}
- ${{ inputs.secureParsing }}
- ${{ inputs.shouldRun }}
Expand Down
166 changes: 85 additions & 81 deletions flow_validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,68 +16,69 @@ CHANGELOGPARSEMODE=${10}
CLASSPATH=${11}
CONVERTDATATYPES=${12}
CUSTOMLOGDATAFILE=${13}
DATABASECHANGELOGLOCKTABLENAME=${14}
DATABASECHANGELOGTABLENAME=${15}
DATABASECLASS=${16}
DDLLOCKTIMEOUT=${17}
DEFAULTSFILE=${18}
DIFFCOLUMNORDER=${19}
DRIFTCHANGEDSEVERITY=${20}
CUSTOMLOGDATAFREQUENCY=${14}
DATABASECHANGELOGLOCKTABLENAME=${15}
DATABASECHANGELOGTABLENAME=${16}
DATABASECLASS=${17}
DDLLOCKTIMEOUT=${18}
DEFAULTSFILE=${19}
DIFFCOLUMNORDER=${20}
DRIFTENABLED=${21}
DRIFTMISSINGSEVERITY=${22}
DRIFTREPORTENABLED=${23}
DRIFTREPORTFORMAT=${24}
DRIFTREPORTMODE=${25}
DRIFTREPORTNAME=${26}
DRIFTREPORTPATH=${27}
DRIFTUNEXPECTEDSEVERITY=${28}
DRIVER=${29}
DRIVERPROPERTIESFILE=${30}
DUPLICATEFILEMODE=${31}
ERRORONCIRCULARINCLUDEALL=${32}
FILEENCODING=${33}
FILTERLOGMESSAGES=${34}
FLOWVERBOSETOSTRING=${35}
GENERATECHANGESETCREATEDVALUES=${36}
GENERATEDCHANGESETIDSCONTAINSDESCRIPTION=${37}
HEADLESS=${38}
INCLUDECATALOGINSPECIFICATION=${39}
INCLUDESYSTEMCLASSPATH=${40}
LICENSEKEY=${41}
LIQUIBASECATALOGNAME=${42}
LIQUIBASESCHEMANAME=${43}
LIQUIBASETABLESPACENAME=${44}
LOGCHANNELS=${45}
LOGFILE=${46}
LOGFORMAT=${47}
LOGLEVEL=${48}
MIRRORCONSOLEMESSAGESTOLOG=${49}
MISSINGPROPERTYMODE=${50}
MONITORPERFORMANCE=${51}
NATIVEEXECUTOR=${52}
ONMISSINGINCLUDECHANGELOG=${53}
ONMISSINGSQLFILE=${54}
OUTPUTFILE=${55}
OUTPUTFILEENCODING=${56}
OUTPUTLINESEPARATOR=${57}
PRESERVESCHEMACASE=${58}
PROLICENSEKEY=${59}
PROMARKUNUSEDNOTDROP=${60}
PROSQLINLINE=${61}
PROSYNONYMSDROPPUBLIC=${62}
PROMPTFORNONLOCALDATABASE=${63}
PROPERTYPROVIDERCLASS=${64}
SEARCHPATH=${65}
SECUREPARSING=${66}
SHOULDRUN=${67}
SHOULDSNAPSHOTDATA=${68}
SHOWBANNER=${69}
SQLLOGLEVEL=${70}
SQLSHOWSQLWARNINGS=${71}
STRICT=${72}
SUPPORTPROPERTYESCAPING=${73}
USEPROCEDURESCHEMA=${74}
VALIDATEXMLCHANGELOGFILES=${75}
DRIFTSEVERITY=${22}
DRIFTSEVERITYCHANGED=${23}
DRIFTSEVERITYMISSING=${24}
DRIFTSEVERITYUNEXPECTED=${25}
DRIVER=${26}
DRIVERPROPERTIESFILE=${27}
DUPLICATEFILEMODE=${28}
ERRORONCIRCULARINCLUDEALL=${29}
FILEENCODING=${30}
FILTERLOGMESSAGES=${31}
FLOWVERBOSETOSTRING=${32}
GENERATECHANGESETCREATEDVALUES=${33}
GENERATEDCHANGESETIDSCONTAINSDESCRIPTION=${34}
HEADLESS=${35}
INCLUDECATALOGINSPECIFICATION=${36}
INCLUDESYSTEMCLASSPATH=${37}
LICENSEKEY=${38}
LIQUIBASECATALOGNAME=${39}
LIQUIBASESCHEMANAME=${40}
LIQUIBASETABLESPACENAME=${41}
LOGCHANNELS=${42}
LOGFILE=${43}
LOGFORMAT=${44}
LOGLEVEL=${45}
MIRRORCONSOLEMESSAGESTOLOG=${46}
MISSINGPROPERTYMODE=${47}
MONITORPERFORMANCE=${48}
NATIVEEXECUTOR=${49}
ONMISSINGINCLUDECHANGELOG=${50}
ONMISSINGSQLFILE=${51}
OUTPUTFILE=${52}
OUTPUTFILEENCODING=${53}
OUTPUTLINESEPARATOR=${54}
PRESERVESCHEMACASE=${55}
PROLICENSEKEY=${56}
PROMARKUNUSEDNOTDROP=${57}
PROSQLINLINE=${58}
PROSYNONYMSDROPPUBLIC=${59}
PROMPTFORNONLOCALDATABASE=${60}
PROPERTYPROVIDERCLASS=${61}
REPORTSENABLED=${62}
REPORTSFORMAT=${63}
REPORTSNAME=${64}
REPORTSPATH=${65}
SEARCHPATH=${66}
SECUREPARSING=${67}
SHOULDRUN=${68}
SHOULDSNAPSHOTDATA=${69}
SHOWBANNER=${70}
SQLLOGLEVEL=${71}
SQLSHOWSQLWARNINGS=${72}
STRICT=${73}
SUPPORTPROPERTYESCAPING=${74}
USEPROCEDURESCHEMA=${75}
VALIDATEXMLCHANGELOGFILES=${76}


PARAMS=()
Expand Down Expand Up @@ -124,6 +125,9 @@ fi
if [[ -n "$CUSTOMLOGDATAFILE" ]]; then
GLOBALS+=("--custom-log-data-file=$CUSTOMLOGDATAFILE")
fi
if [[ -n "$CUSTOMLOGDATAFREQUENCY" ]]; then
GLOBALS+=("--custom-log-data-frequency=$CUSTOMLOGDATAFREQUENCY")
fi
if [[ -n "$DATABASECHANGELOGLOCKTABLENAME" ]]; then
GLOBALS+=("--database-changelog-lock-table-name=$DATABASECHANGELOGLOCKTABLENAME")
fi
Expand All @@ -142,32 +146,20 @@ fi
if [[ -n "$DIFFCOLUMNORDER" ]]; then
GLOBALS+=("--diff-column-order=$DIFFCOLUMNORDER")
fi
if [[ -n "$DRIFTCHANGEDSEVERITY" ]]; then
GLOBALS+=("--drift-changed-severity=$DRIFTCHANGEDSEVERITY")
fi
if [[ -n "$DRIFTENABLED" ]]; then
GLOBALS+=("--drift-enabled=$DRIFTENABLED")
fi
if [[ -n "$DRIFTMISSINGSEVERITY" ]]; then
GLOBALS+=("--drift-missing-severity=$DRIFTMISSINGSEVERITY")
fi
if [[ -n "$DRIFTREPORTENABLED" ]]; then
GLOBALS+=("--drift-report-enabled=$DRIFTREPORTENABLED")
fi
if [[ -n "$DRIFTREPORTFORMAT" ]]; then
GLOBALS+=("--drift-report-format=$DRIFTREPORTFORMAT")
fi
if [[ -n "$DRIFTREPORTMODE" ]]; then
GLOBALS+=("--drift-report-mode=$DRIFTREPORTMODE")
if [[ -n "$DRIFTSEVERITY" ]]; then
GLOBALS+=("--drift-severity=$DRIFTSEVERITY")
fi
if [[ -n "$DRIFTREPORTNAME" ]]; then
GLOBALS+=("--drift-report-name=$DRIFTREPORTNAME")
if [[ -n "$DRIFTSEVERITYCHANGED" ]]; then
GLOBALS+=("--drift-severity-changed=$DRIFTSEVERITYCHANGED")
fi
if [[ -n "$DRIFTREPORTPATH" ]]; then
GLOBALS+=("--drift-report-path=$DRIFTREPORTPATH")
if [[ -n "$DRIFTSEVERITYMISSING" ]]; then
GLOBALS+=("--drift-severity-missing=$DRIFTSEVERITYMISSING")
fi
if [[ -n "$DRIFTUNEXPECTEDSEVERITY" ]]; then
GLOBALS+=("--drift-unexpected-severity=$DRIFTUNEXPECTEDSEVERITY")
if [[ -n "$DRIFTSEVERITYUNEXPECTED" ]]; then
GLOBALS+=("--drift-severity-unexpected=$DRIFTSEVERITYUNEXPECTED")
fi
if [[ -n "$DRIVER" ]]; then
GLOBALS+=("--driver=$DRIVER")
Expand Down Expand Up @@ -277,6 +269,18 @@ fi
if [[ -n "$PROPERTYPROVIDERCLASS" ]]; then
GLOBALS+=("--property-provider-class=$PROPERTYPROVIDERCLASS")
fi
if [[ -n "$REPORTSENABLED" ]]; then
GLOBALS+=("--reports-enabled=$REPORTSENABLED")
fi
if [[ -n "$REPORTSFORMAT" ]]; then
GLOBALS+=("--reports-format=$REPORTSFORMAT")
fi
if [[ -n "$REPORTSNAME" ]]; then
GLOBALS+=("--reports-name=$REPORTSNAME")
fi
if [[ -n "$REPORTSPATH" ]]; then
GLOBALS+=("--reports-path=$REPORTSPATH")
fi
if [[ -n "$SEARCHPATH" ]]; then
GLOBALS+=("--search-path=$SEARCHPATH")
fi
Expand Down
Loading

0 comments on commit 5320d08

Please sign in to comment.