Skip to content

Commit

Permalink
auto generated v4.28.0
Browse files Browse the repository at this point in the history
  • Loading branch information
liquibot committed May 24, 2024
1 parent fc9c24b commit f18e665
Show file tree
Hide file tree
Showing 5 changed files with 111 additions and 75 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.27.0
FROM liquibase/liquibase:4.28.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 @@ -6,7 +6,7 @@ Official GitHub Action to run Liquibase Flow Validate in your GitHub Action Work
```yaml
steps:
- uses: actions/checkout@v3
- uses: liquibase-github-actions/flow-validate@v4.27.0
- uses: liquibase-github-actions/flow-validate@v4.28.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 @@ -40,7 +40,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.27.0
- uses: liquibase-github-actions/flow-validate@v4.28.0
with:
headless: true
licenseKey: ${{ secrets.LIQUIBASE_LICENSE_KEY }}
Expand Down
16 changes: 16 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ inputs:
mirrorConsoleMessagesToLog: # bool
description: 'When set to true, the console messages are mirrored to the logs as [liquibase.ui] to provide a more complete picture of liquibase operations to log analysis tools. Set to false to change this behavior.'
required: false
mirrorOutputToConsole: # bool
description: '[PRO]When set to true, console output will be mirrored to both the specified output-file and the console. If output-file is not set, the "mirror-output-to-console" argument has no effect.'
required: false
missingPropertyMode: # string
description: 'How to handle changelog property expressions where a value is not set. For example, a string "${address}" when no "address" property was defined. Values can be: "preserve" which leaves the string as-is, "empty" which replaces it with an empty string, or "error" which stops processing with an error.'
required: false
Expand Down Expand Up @@ -202,6 +205,9 @@ inputs:
proSynonymsDropPublic: # bool
description: 'If false, do not drop public synonyms in diffChangeLog/dropAll'
required: false
proStrict: # bool
description: '[PRO]If true, the Liquibase operations will fail when specified paths to Pro resource files (flow files, checks settings files, native executor conf files, etc) or rollback scripts are missing or empty.'
required: false
promptForNonLocalDatabase: # bool
description: 'Should Liquibase prompt if a non-local database is being accessed'
required: false
Expand All @@ -217,6 +223,9 @@ inputs:
reportsName: # string
description: 'The name of the reports.'
required: false
reportsOpen: # bool
description: 'Open the newly generated report in your default browser.'
required: false
reportsPath: # string
description: 'The path to the directory to generate the reports.'
required: false
Expand All @@ -238,6 +247,9 @@ inputs:
showHiddenArgs: # bool
description: 'If true, all command arguments marked as hidden will be shown in the help output, ignoring the hidden flag. NOTE, due to the order of value provider loading at such an early point in Liquibase startup, you MUST set this as a environment variable. Command line parameters will not be recognized.'
required: false
sqlAlwaysSetFetchSize: # bool
description: 'If true, all queries will have their fetch size set to the fetch size defined in their database implementation. This has the effect of informing the driver how many rows should be fetched when processing the result set. This is not guaranteed to be respected by the driver, but if respected, should improve query performance significantly.'
required: false
sqlLogLevel: # string
description: 'Level to log SQL statements to'
required: false
Expand Down Expand Up @@ -316,6 +328,7 @@ runs:
- ${{ inputs.logFormat }}
- ${{ inputs.logLevel }}
- ${{ inputs.mirrorConsoleMessagesToLog }}
- ${{ inputs.mirrorOutputToConsole }}
- ${{ inputs.missingPropertyMode }}
- ${{ inputs.monitorPerformance }}
- ${{ inputs.nativeExecutor }}
Expand All @@ -332,18 +345,21 @@ runs:
- ${{ inputs.proMarkUnusedNotDrop }}
- ${{ inputs.proSqlInline }}
- ${{ inputs.proSynonymsDropPublic }}
- ${{ inputs.proStrict }}
- ${{ inputs.promptForNonLocalDatabase }}
- ${{ inputs.propertyProviderClass }}
- ${{ inputs.reportsEnabled }}
- ${{ inputs.reportsFormat }}
- ${{ inputs.reportsName }}
- ${{ inputs.reportsOpen }}
- ${{ inputs.reportsPath }}
- ${{ inputs.searchPath }}
- ${{ inputs.secureParsing }}
- ${{ inputs.shouldRun }}
- ${{ inputs.shouldSnapshotData }}
- ${{ inputs.showBanner }}
- ${{ inputs.showHiddenArgs }}
- ${{ inputs.sqlAlwaysSetFetchSize }}
- ${{ inputs.sqlLogLevel }}
- ${{ inputs.sqlShowSqlWarnings }}
- ${{ inputs.strict }}
Expand Down
88 changes: 52 additions & 36 deletions flow_validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,42 +53,46 @@ LOGFILE=${47}
LOGFORMAT=${48}
LOGLEVEL=${49}
MIRRORCONSOLEMESSAGESTOLOG=${50}
MISSINGPROPERTYMODE=${51}
MONITORPERFORMANCE=${52}
NATIVEEXECUTOR=${53}
ONMISSINGINCLUDECHANGELOG=${54}
ONMISSINGSQLFILE=${55}
OUTPUTFILE=${56}
OUTPUTFILEENCODING=${57}
OUTPUTLINESEPARATOR=${58}
PRESERVESCHEMACASE=${59}
PROFORCEONPARTIALCHANGES=${60}
PROGLOBALENDDELIMITER=${61}
PROGLOBALENDDELIMITERPRIORITIZED=${62}
PROLICENSEKEY=${63}
PROMARKUNUSEDNOTDROP=${64}
PROSQLINLINE=${65}
PROSYNONYMSDROPPUBLIC=${66}
PROMPTFORNONLOCALDATABASE=${67}
PROPERTYPROVIDERCLASS=${68}
REPORTSENABLED=${69}
REPORTSFORMAT=${70}
REPORTSNAME=${71}
REPORTSPATH=${72}
SEARCHPATH=${73}
SECUREPARSING=${74}
SHOULDRUN=${75}
SHOULDSNAPSHOTDATA=${76}
SHOWBANNER=${77}
SHOWHIDDENARGS=${78}
SQLLOGLEVEL=${79}
SQLSHOWSQLWARNINGS=${80}
STRICT=${81}
SUPPORTPROPERTYESCAPING=${82}
UISERVICE=${83}
USEPROCEDURESCHEMA=${84}
VALIDATEXMLCHANGELOGFILES=${85}
WORKAROUNDORACLECLOBCHARACTERLIMIT=${86}
MIRROROUTPUTTOCONSOLE=${51}
MISSINGPROPERTYMODE=${52}
MONITORPERFORMANCE=${53}
NATIVEEXECUTOR=${54}
ONMISSINGINCLUDECHANGELOG=${55}
ONMISSINGSQLFILE=${56}
OUTPUTFILE=${57}
OUTPUTFILEENCODING=${58}
OUTPUTLINESEPARATOR=${59}
PRESERVESCHEMACASE=${60}
PROFORCEONPARTIALCHANGES=${61}
PROGLOBALENDDELIMITER=${62}
PROGLOBALENDDELIMITERPRIORITIZED=${63}
PROLICENSEKEY=${64}
PROMARKUNUSEDNOTDROP=${65}
PROSQLINLINE=${66}
PROSYNONYMSDROPPUBLIC=${67}
PROSTRICT=${68}
PROMPTFORNONLOCALDATABASE=${69}
PROPERTYPROVIDERCLASS=${70}
REPORTSENABLED=${71}
REPORTSFORMAT=${72}
REPORTSNAME=${73}
REPORTSOPEN=${74}
REPORTSPATH=${75}
SEARCHPATH=${76}
SECUREPARSING=${77}
SHOULDRUN=${78}
SHOULDSNAPSHOTDATA=${79}
SHOWBANNER=${80}
SHOWHIDDENARGS=${81}
SQLALWAYSSETFETCHSIZE=${82}
SQLLOGLEVEL=${83}
SQLSHOWSQLWARNINGS=${84}
STRICT=${85}
SUPPORTPROPERTYESCAPING=${86}
UISERVICE=${87}
USEPROCEDURESCHEMA=${88}
VALIDATEXMLCHANGELOGFILES=${89}
WORKAROUNDORACLECLOBCHARACTERLIMIT=${90}


PARAMS=()
Expand Down Expand Up @@ -246,6 +250,9 @@ fi
if [[ -n "$MIRRORCONSOLEMESSAGESTOLOG" ]]; then
GLOBALS+=("--mirror-console-messages-to-log=$MIRRORCONSOLEMESSAGESTOLOG")
fi
if [[ -n "$MIRROROUTPUTTOCONSOLE" ]]; then
GLOBALS+=("--mirror-output-to-console=$MIRROROUTPUTTOCONSOLE")
fi
if [[ -n "$MISSINGPROPERTYMODE" ]]; then
GLOBALS+=("--missing-property-mode=$MISSINGPROPERTYMODE")
fi
Expand Down Expand Up @@ -294,6 +301,9 @@ fi
if [[ -n "$PROSYNONYMSDROPPUBLIC" ]]; then
GLOBALS+=("--pro-synonyms-drop-public=$PROSYNONYMSDROPPUBLIC")
fi
if [[ -n "$PROSTRICT" ]]; then
GLOBALS+=("--pro-strict=$PROSTRICT")
fi
if [[ -n "$PROMPTFORNONLOCALDATABASE" ]]; then
GLOBALS+=("--prompt-for-non-local-database=$PROMPTFORNONLOCALDATABASE")
fi
Expand All @@ -309,6 +319,9 @@ fi
if [[ -n "$REPORTSNAME" ]]; then
GLOBALS+=("--reports-name=$REPORTSNAME")
fi
if [[ -n "$REPORTSOPEN" ]]; then
GLOBALS+=("--reports-open=$REPORTSOPEN")
fi
if [[ -n "$REPORTSPATH" ]]; then
GLOBALS+=("--reports-path=$REPORTSPATH")
fi
Expand All @@ -330,6 +343,9 @@ fi
if [[ -n "$SHOWHIDDENARGS" ]]; then
GLOBALS+=("--show-hidden-args=$SHOWHIDDENARGS")
fi
if [[ -n "$SQLALWAYSSETFETCHSIZE" ]]; then
GLOBALS+=("--sql-always-set-fetch-size=$SQLALWAYSSETFETCHSIZE")
fi
if [[ -n "$SQLLOGLEVEL" ]]; then
GLOBALS+=("--sql-log-level=$SQLLOGLEVEL")
fi
Expand Down
Loading

0 comments on commit f18e665

Please sign in to comment.