Skip to content

Commit 1ce9155

Browse files
explicitly define check schema
1 parent 522aef2 commit 1ce9155

File tree

1 file changed

+2
-2
lines changed
  • Azure/Azure-Templatized-YML-Pipeline/flyway-11.14/templates

1 file changed

+2
-2
lines changed

Azure/Azure-Templatized-YML-Pipeline/flyway-11.14/templates/vars.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ variables:
2626

2727
# $userName is not defined, use integratedSecurity in JDBC
2828
${{ if gt(length(join('', variables['userName'])), 0) }}:
29-
FLYWAY: 'flyway -check.code.failOnError=false -check.regexEnabled=false -check.rulesConfig="$(Build.SourcesDirectory)\templates\sqlfluff.cfg" -installedBy="$(Build.BuildId)" -reportEnabled=true -environment=target -environments.target.schemas="$(schemas)" -environments.check.schemas="$(schemas)" -baselineOnMigrate=true -errorOverrides=S0001:0:I- -baselineVersion=$(BASELINE_VERSION) -email="$(FLYWAY_EMAIL)" -token="$(FLYWAY_TOKEN)" -workingDirectory="$(WORKING_DIRECTORY)" -locations="filesystem:$(WORKING_DIRECTORY)\$(Build.Repository.Name)\migrations" -configFiles="$(WORKING_DIRECTORY)\$(Build.Repository.Name)\flyway.toml"'
29+
FLYWAY: 'flyway -check.code.failOnError=false -check.regexEnabled=false -check.rulesConfig="$(Build.SourcesDirectory)\templates\sqlfluff.cfg" -installedBy="$(Build.BuildId)" -reportEnabled=true -environment=target -environments.target.schemas="$(schemas)" -environments.check.schemas="$(checkSchemas)" -baselineOnMigrate=true -errorOverrides=S0001:0:I- -baselineVersion=$(BASELINE_VERSION) -email="$(FLYWAY_EMAIL)" -token="$(FLYWAY_TOKEN)" -workingDirectory="$(WORKING_DIRECTORY)" -locations="filesystem:$(WORKING_DIRECTORY)\$(Build.Repository.Name)\migrations" -configFiles="$(WORKING_DIRECTORY)\$(Build.Repository.Name)\flyway.toml"'
3030

3131
# $userName is defined - password implicitly assumed defined
3232
${{ if le(length(join('', variables['userName'])), 0) }}:
33-
FLYWAY: 'flyway -check.code.failOnError=false -check.regexEnabled=false -check.rulesConfig="$(Build.SourcesDirectory)\templates\sqlfluff.cfg" -installedBy="$(Build.BuildId)" -reportEnabled=true -environment=target -environments.target.schemas="$(schemas)" -environments.check.schemas="$(schemas)" -baselineOnMigrate=true -errorOverrides=S0001:0:I- -baselineVersion=$(BASELINE_VERSION) -email="$(FLYWAY_EMAIL)" -token="$(FLYWAY_TOKEN)" -workingDirectory="$(WORKING_DIRECTORY)" -locations="filesystem:$(WORKING_DIRECTORY)\$(Build.Repository.Name)\migrations" -configFiles="$(WORKING_DIRECTORY)\$(Build.Repository.Name)\flyway.toml" -user="$(userName)" -password="$(password)"'
33+
FLYWAY: 'flyway -check.code.failOnError=false -check.regexEnabled=false -check.rulesConfig="$(Build.SourcesDirectory)\templates\sqlfluff.cfg" -installedBy="$(Build.BuildId)" -reportEnabled=true -environment=target -environments.target.schemas="$(schemas)" -environments.check.schemas="$(checkSchemas)" -environments.check.user="$(check_userName)" -environments.check.password="$(check_password)" -baselineOnMigrate=true -errorOverrides=S0001:0:I- -baselineVersion=$(BASELINE_VERSION) -email="$(FLYWAY_EMAIL)" -token="$(FLYWAY_TOKEN)" -workingDirectory="$(WORKING_DIRECTORY)" -locations="filesystem:$(WORKING_DIRECTORY)\$(Build.Repository.Name)\migrations" -configFiles="$(WORKING_DIRECTORY)\$(Build.Repository.Name)\flyway.toml" -user="$(userName)" -password="$(password)"'
3434

3535
BUILD_NAME: 'Repository-Snapshot'
3636
RELEASE_PREVIEW: 'Release-Preview.sql'

0 commit comments

Comments
 (0)