Skip to content

Commit

Permalink
auto generated v4.25.0
Browse files Browse the repository at this point in the history
  • Loading branch information
liquibot committed Nov 17, 2023
1 parent 2106af2 commit 16bfd21
Show file tree
Hide file tree
Showing 5 changed files with 168 additions and 150 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.24.0
FROM liquibase/liquibase:4.25.0
COPY drop_all.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 @@ Drop all database objects owned by the user
```yaml
steps:
- uses: actions/checkout@v3
- uses: liquibase-github-actions/drop-all@v4.24.0
- uses: liquibase-github-actions/drop-all@v4.25.0
with:
# The JDBC database connection URL
# string
Expand Down Expand Up @@ -60,7 +60,7 @@ The liquibase drop all action accepts all valid liquibase global options as opti
```yaml
steps:
- uses: actions/checkout@v3
- uses: liquibase-github-actions/drop-all@v4.24.0
- uses: liquibase-github-actions/drop-all@v4.25.0
with:
url: ""
headless: true
Expand Down
48 changes: 28 additions & 20 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ inputs:
username: # string
description: 'Username to use to connect to the database'
required: false
addEmptyMdcValues: # bool
description: 'If true, a subset of the MdcKeys, as defined by product, will be set to empty strings upon system startup.'
required: false
alwaysDropInsteadOfReplace: # bool
description: 'If true, drop and recreate a view instead of replacing it.'
required: false
Expand Down Expand Up @@ -75,21 +78,6 @@ inputs:
diffColumnOrder: # bool
description: 'Should Liquibase compare column order in diff operation?'
required: false
driftEnabled: # bool
description: 'Enable or disable drift detection'
required: false
driftSeverity: # int32
description: 'Global object drift severity'
required: false
driftSeverityChanged: # int32
description: 'Changed object drift severity'
required: false
driftSeverityMissing: # int32
description: 'Missing object drift severity'
required: false
driftSeverityUnexpected: # int32
description: 'Unexpected object drift severity'
required: false
duplicateFileMode: # string
description: 'How to handle multiple files being found in the search path that have duplicate paths. Options are WARN (log warning and choose one at random) or ERROR (fail current operation)'
required: false
Expand Down Expand Up @@ -117,6 +105,9 @@ inputs:
includeCatalogInSpecification: # bool
description: 'Should Liquibase include the catalog name when determining equality?'
required: false
includeRelationsForComputedColumns: # bool
description: 'If true, the parent relationship for computed columns is preserved in snapshot-dependent commands: snapshot and diff'
required: false
includeSystemClasspath: # bool
description: 'Include the system classpath when resolving classes at runtime'
required: false
Expand Down Expand Up @@ -174,6 +165,15 @@ inputs:
preserveSchemaCase: # bool
description: 'Should liquibase treat schema and catalog names as case sensitive?'
required: false
proForceOnPartialChanges: # bool
description: 'If true, rollback execution will be forced when having partial changes that needs to be rolled back. Defaults to false.'
required: false
proGlobalEndDelimiter: # string
description: '[PRO]The default end delimiter to use for all change sets'
required: false
proGlobalEndDelimiterPrioritized: # bool
description: '[PRO]If true, the global end delimiter overrides all other settings'
required: false
proLicenseKey: # string
description: 'DEPRECATED: Liquibase Pro license key used to unlock paid capabilities. Get a free trial at https://www.liquibase.com/protrial and use in CLI or add liquibase.pro.licenseKey=<yourKey> into your defaults file.'
required: false
Expand Down Expand Up @@ -219,6 +219,9 @@ inputs:
showBanner: # bool
description: 'If true, show a Liquibase banner on startup.'
required: false
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
sqlLogLevel: # string
description: 'Level to log SQL statements to'
required: false
Expand All @@ -231,6 +234,9 @@ inputs:
supportPropertyEscaping: # bool
description: 'Support escaping changelog parameters using a colon. Example: ${:user.name}'
required: false
uiService: # string
description: 'Changes the default UI Service Logger used by Liquibase. Options are CONSOLE or LOGGER.'
required: false
useProcedureSchema: # bool
description: 'If set to true (default value), createProcedure tags with a set schemaName will modify the procedure body with the given schema name.'
required: false
Expand All @@ -249,6 +255,7 @@ runs:
- ${{ inputs.schemas }}
- ${{ inputs.url }}
- ${{ inputs.username }}
- ${{ inputs.addEmptyMdcValues }}
- ${{ inputs.alwaysDropInsteadOfReplace }}
- ${{ inputs.alwaysOverrideStoredLogicSchema }}
- ${{ inputs.autoReorg }}
Expand All @@ -265,11 +272,6 @@ runs:
- ${{ inputs.ddlLockTimeout }}
- ${{ inputs.defaultsFile }}
- ${{ inputs.diffColumnOrder }}
- ${{ inputs.driftEnabled }}
- ${{ inputs.driftSeverity }}
- ${{ inputs.driftSeverityChanged }}
- ${{ inputs.driftSeverityMissing }}
- ${{ inputs.driftSeverityUnexpected }}
- ${{ inputs.duplicateFileMode }}
- ${{ inputs.errorOnCircularIncludeAll }}
- ${{ inputs.fileEncoding }}
Expand All @@ -279,6 +281,7 @@ runs:
- ${{ inputs.generatedChangesetIdsContainsDescription }}
- ${{ inputs.headless }}
- ${{ inputs.includeCatalogInSpecification }}
- ${{ inputs.includeRelationsForComputedColumns }}
- ${{ inputs.includeSystemClasspath }}
- ${{ inputs.licenseKey }}
- ${{ inputs.liquibaseCatalogName }}
Expand All @@ -298,6 +301,9 @@ runs:
- ${{ inputs.outputFileEncoding }}
- ${{ inputs.outputLineSeparator }}
- ${{ inputs.preserveSchemaCase }}
- ${{ inputs.proForceOnPartialChanges }}
- ${{ inputs.proGlobalEndDelimiter }}
- ${{ inputs.proGlobalEndDelimiterPrioritized }}
- ${{ inputs.proLicenseKey }}
- ${{ inputs.proMarkUnusedNotDrop }}
- ${{ inputs.proSqlInline }}
Expand All @@ -313,10 +319,12 @@ runs:
- ${{ inputs.shouldRun }}
- ${{ inputs.shouldSnapshotData }}
- ${{ inputs.showBanner }}
- ${{ inputs.showHiddenArgs }}
- ${{ inputs.sqlLogLevel }}
- ${{ inputs.sqlShowSqlWarnings }}
- ${{ inputs.strict }}
- ${{ inputs.supportPropertyEscaping }}
- ${{ inputs.uiService }}
- ${{ inputs.useProcedureSchema }}
- ${{ inputs.validateXmlChangelogFiles }}
branding:
Expand Down
148 changes: 78 additions & 70 deletions drop_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,55 +11,55 @@ SCHEMAS=${6}
URL=${7}
USERNAME=${8}
# Global Options
ALWAYSDROPINSTEADOFREPLACE=${9}
ALWAYSOVERRIDESTOREDLOGICSCHEMA=${10}
AUTOREORG=${11}
CHANGELOGLOCKPOLLRATE=${12}
CHANGELOGLOCKWAITTIMEINMINUTES=${13}
CHANGELOGPARSEMODE=${14}
CLASSPATH=${15}
CONVERTDATATYPES=${16}
CUSTOMLOGDATAFILE=${17}
CUSTOMLOGDATAFREQUENCY=${18}
DATABASECHANGELOGLOCKTABLENAME=${19}
DATABASECHANGELOGTABLENAME=${20}
DATABASECLASS=${21}
DDLLOCKTIMEOUT=${22}
DEFAULTSFILE=${23}
DIFFCOLUMNORDER=${24}
DRIFTENABLED=${25}
DRIFTSEVERITY=${26}
DRIFTSEVERITYCHANGED=${27}
DRIFTSEVERITYMISSING=${28}
DRIFTSEVERITYUNEXPECTED=${29}
DUPLICATEFILEMODE=${30}
ERRORONCIRCULARINCLUDEALL=${31}
FILEENCODING=${32}
FILTERLOGMESSAGES=${33}
FLOWVERBOSETOSTRING=${34}
GENERATECHANGESETCREATEDVALUES=${35}
GENERATEDCHANGESETIDSCONTAINSDESCRIPTION=${36}
HEADLESS=${37}
INCLUDECATALOGINSPECIFICATION=${38}
INCLUDESYSTEMCLASSPATH=${39}
LICENSEKEY=${40}
LIQUIBASECATALOGNAME=${41}
LIQUIBASESCHEMANAME=${42}
LIQUIBASETABLESPACENAME=${43}
LOGCHANNELS=${44}
LOGFILE=${45}
LOGFORMAT=${46}
LOGLEVEL=${47}
MIRRORCONSOLEMESSAGESTOLOG=${48}
MISSINGPROPERTYMODE=${49}
MONITORPERFORMANCE=${50}
NATIVEEXECUTOR=${51}
ONMISSINGINCLUDECHANGELOG=${52}
ONMISSINGSQLFILE=${53}
OUTPUTFILE=${54}
OUTPUTFILEENCODING=${55}
OUTPUTLINESEPARATOR=${56}
PRESERVESCHEMACASE=${57}
ADDEMPTYMDCVALUES=${9}
ALWAYSDROPINSTEADOFREPLACE=${10}
ALWAYSOVERRIDESTOREDLOGICSCHEMA=${11}
AUTOREORG=${12}
CHANGELOGLOCKPOLLRATE=${13}
CHANGELOGLOCKWAITTIMEINMINUTES=${14}
CHANGELOGPARSEMODE=${15}
CLASSPATH=${16}
CONVERTDATATYPES=${17}
CUSTOMLOGDATAFILE=${18}
CUSTOMLOGDATAFREQUENCY=${19}
DATABASECHANGELOGLOCKTABLENAME=${20}
DATABASECHANGELOGTABLENAME=${21}
DATABASECLASS=${22}
DDLLOCKTIMEOUT=${23}
DEFAULTSFILE=${24}
DIFFCOLUMNORDER=${25}
DUPLICATEFILEMODE=${26}
ERRORONCIRCULARINCLUDEALL=${27}
FILEENCODING=${28}
FILTERLOGMESSAGES=${29}
FLOWVERBOSETOSTRING=${30}
GENERATECHANGESETCREATEDVALUES=${31}
GENERATEDCHANGESETIDSCONTAINSDESCRIPTION=${32}
HEADLESS=${33}
INCLUDECATALOGINSPECIFICATION=${34}
INCLUDERELATIONSFORCOMPUTEDCOLUMNS=${35}
INCLUDESYSTEMCLASSPATH=${36}
LICENSEKEY=${37}
LIQUIBASECATALOGNAME=${38}
LIQUIBASESCHEMANAME=${39}
LIQUIBASETABLESPACENAME=${40}
LOGCHANNELS=${41}
LOGFILE=${42}
LOGFORMAT=${43}
LOGLEVEL=${44}
MIRRORCONSOLEMESSAGESTOLOG=${45}
MISSINGPROPERTYMODE=${46}
MONITORPERFORMANCE=${47}
NATIVEEXECUTOR=${48}
ONMISSINGINCLUDECHANGELOG=${49}
ONMISSINGSQLFILE=${50}
OUTPUTFILE=${51}
OUTPUTFILEENCODING=${52}
OUTPUTLINESEPARATOR=${53}
PRESERVESCHEMACASE=${54}
PROFORCEONPARTIALCHANGES=${55}
PROGLOBALENDDELIMITER=${56}
PROGLOBALENDDELIMITERPRIORITIZED=${57}
PROLICENSEKEY=${58}
PROMARKUNUSEDNOTDROP=${59}
PROSQLINLINE=${60}
Expand All @@ -75,12 +75,14 @@ SECUREPARSING=${69}
SHOULDRUN=${70}
SHOULDSNAPSHOTDATA=${71}
SHOWBANNER=${72}
SQLLOGLEVEL=${73}
SQLSHOWSQLWARNINGS=${74}
STRICT=${75}
SUPPORTPROPERTYESCAPING=${76}
USEPROCEDURESCHEMA=${77}
VALIDATEXMLCHANGELOGFILES=${78}
SHOWHIDDENARGS=${73}
SQLLOGLEVEL=${74}
SQLSHOWSQLWARNINGS=${75}
STRICT=${76}
SUPPORTPROPERTYESCAPING=${77}
UISERVICE=${78}
USEPROCEDURESCHEMA=${79}
VALIDATEXMLCHANGELOGFILES=${80}

if [[ -z "$URL" ]]; then
echo "url is required"
Expand Down Expand Up @@ -116,6 +118,9 @@ fi

GLOBALS=()

if [[ -n "$ADDEMPTYMDCVALUES" ]]; then
GLOBALS+=("--add-empty-mdc-values=$ADDEMPTYMDCVALUES")
fi
if [[ -n "$ALWAYSDROPINSTEADOFREPLACE" ]]; then
GLOBALS+=("--always-drop-instead-of-replace=$ALWAYSDROPINSTEADOFREPLACE")
fi
Expand Down Expand Up @@ -164,21 +169,6 @@ fi
if [[ -n "$DIFFCOLUMNORDER" ]]; then
GLOBALS+=("--diff-column-order=$DIFFCOLUMNORDER")
fi
if [[ -n "$DRIFTENABLED" ]]; then
GLOBALS+=("--drift-enabled=$DRIFTENABLED")
fi
if [[ -n "$DRIFTSEVERITY" ]]; then
GLOBALS+=("--drift-severity=$DRIFTSEVERITY")
fi
if [[ -n "$DRIFTSEVERITYCHANGED" ]]; then
GLOBALS+=("--drift-severity-changed=$DRIFTSEVERITYCHANGED")
fi
if [[ -n "$DRIFTSEVERITYMISSING" ]]; then
GLOBALS+=("--drift-severity-missing=$DRIFTSEVERITYMISSING")
fi
if [[ -n "$DRIFTSEVERITYUNEXPECTED" ]]; then
GLOBALS+=("--drift-severity-unexpected=$DRIFTSEVERITYUNEXPECTED")
fi
if [[ -n "$DUPLICATEFILEMODE" ]]; then
GLOBALS+=("--duplicate-file-mode=$DUPLICATEFILEMODE")
fi
Expand Down Expand Up @@ -206,6 +196,9 @@ fi
if [[ -n "$INCLUDECATALOGINSPECIFICATION" ]]; then
GLOBALS+=("--include-catalog-in-specification=$INCLUDECATALOGINSPECIFICATION")
fi
if [[ -n "$INCLUDERELATIONSFORCOMPUTEDCOLUMNS" ]]; then
GLOBALS+=("--include-relations-for-computed-columns=$INCLUDERELATIONSFORCOMPUTEDCOLUMNS")
fi
if [[ -n "$INCLUDESYSTEMCLASSPATH" ]]; then
GLOBALS+=("--include-system-classpath=$INCLUDESYSTEMCLASSPATH")
fi
Expand Down Expand Up @@ -263,6 +256,15 @@ fi
if [[ -n "$PRESERVESCHEMACASE" ]]; then
GLOBALS+=("--preserve-schema-case=$PRESERVESCHEMACASE")
fi
if [[ -n "$PROFORCEONPARTIALCHANGES" ]]; then
GLOBALS+=("--pro-force-on-partial-changes=$PROFORCEONPARTIALCHANGES")
fi
if [[ -n "$PROGLOBALENDDELIMITER" ]]; then
GLOBALS+=("--pro-global-end-delimiter=$PROGLOBALENDDELIMITER")
fi
if [[ -n "$PROGLOBALENDDELIMITERPRIORITIZED" ]]; then
GLOBALS+=("--pro-global-end-delimiter-prioritized=$PROGLOBALENDDELIMITERPRIORITIZED")
fi
if [[ -n "$PROLICENSEKEY" ]]; then
GLOBALS+=("--pro-license-key=$PROLICENSEKEY")
fi
Expand Down Expand Up @@ -308,6 +310,9 @@ fi
if [[ -n "$SHOWBANNER" ]]; then
GLOBALS+=("--show-banner=$SHOWBANNER")
fi
if [[ -n "$SHOWHIDDENARGS" ]]; then
GLOBALS+=("--show-hidden-args=$SHOWHIDDENARGS")
fi
if [[ -n "$SQLLOGLEVEL" ]]; then
GLOBALS+=("--sql-log-level=$SQLLOGLEVEL")
fi
Expand All @@ -320,6 +325,9 @@ fi
if [[ -n "$SUPPORTPROPERTYESCAPING" ]]; then
GLOBALS+=("--support-property-escaping=$SUPPORTPROPERTYESCAPING")
fi
if [[ -n "$UISERVICE" ]]; then
GLOBALS+=("--ui-service=$UISERVICE")
fi
if [[ -n "$USEPROCEDURESCHEMA" ]]; then
GLOBALS+=("--use-procedure-schema=$USEPROCEDURESCHEMA")
fi
Expand Down
Loading

0 comments on commit 16bfd21

Please sign in to comment.