Closed Liero closed 3 years ago
Sure.
Download this directory and invoke the script like this:
. .\Update-DatabaseWithDbUp.ps1
Update-DatabaseWithDbUp `
-ConnectionString $connectionString `
-ScriptPath $scriptPath `
-Journal $journal `
-JournalSchemaName $journalSchemaName `
-JournalTableName $journalTableName `
-Filter $scriptFileFilter `
-Encoding $encoding `
-TransactionStrategy $transactionStrategy `
-Logging $logging `
-SearchMode $searchMode `
-Order $order `
-VariableSubstitution $variableSubstitution `
-VariableSubstitutionPrefix $variableSubstitutionPrefix
Check the parameters of Update-DatabaseWithDbUp. Some have default values and some only accept enum input.
If you are after a way of executing a DevOps pipeline locally, I am afraid that this is not possible.
But I made a fast search on google, and apparently there seams to be a preview feature which lets you install an agent locally and have it invoke the pipeline using a "local mode".
Closing due to inactivity. Please open if this is still an issue.
I'm curious whether I can run the generated command locally on my dev machine?