Skip to content

Commit

Permalink
[Actions] Updated .github/actions/database-deploy/action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Sep 16, 2024
1 parent f8b49c4 commit 3d5c0c0
Showing 1 changed file with 0 additions and 45 deletions.
45 changes: 0 additions & 45 deletions .github/actions/database-deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,51 +29,6 @@ runs:
shell: bash
run: docker pull redgate/sqlcompare:latest

- name: "Build SQL change"
shell: bash
run: |
docker run \
"-v$GITHUB_WORKSPACE:$GITHUB_WORKSPACE" \
--net=host \
--rm redgate/sqlcompare:latest \
/IAgreeToTheEULA \
/filter:"$DB_FILTER" \
/options:CaseSensitiveObjectDefinition,ConsiderNextFilegroupInPartitionSchemes,DecryptPost2kEncryptedObjects,DoNotOutputCommentHeader,ForceColumnOrder,IgnoreCertificatesAndCryptoKeys,IgnoreDatabaseAndServerName,IgnoreUserProperties,IgnoreUsersPermissionsAndRoleMemberships,IgnoreWhiteSpace,IgnoreWithElementOrder,IncludeDependencies,NoDeploymentLogging,ThrowOnFileParseFailed,UseCompatibilityLevel \
/transactionIsolationLevel:SERIALIZABLE \
/include:staticData \
/scriptFile:"$DB_OUTPUT" \
/scripts1:"$DB_SOURCE" \
/showWarnings \
/include:Identical \
/report:"$DB_REPORT" \
/reportType:Xml \
/force \
/OutputWidth:1024 \
/empty2 \
/verbose
env:
DB_SOURCE: ${{inputs.DB_FOLDER}}
DB_OUTPUT: ${{github.workspace}}/update.test.sql
DB_LOG: ${{github.workspace}}/update.log
DB_REPORT: ${{github.workspace}}/update.xml
DB_FILTER: ${{inputs.DB_FOLDER}}/Filter.scpf
DOCKER_CONTENT_TRUST: 0

- name: "Run TSQL Lint"
shell: bash
run: dotnet tsqllint "${{inputs.DB_FOLDER}}"
env:
DOTNET_ROOT: "${{github.workspace}}/.dotnet/${{github.sha}}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}"
DOTNET_INSTALL_DIR: "${{github.workspace}}/.dotnet/${{github.sha}}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}"
DOTNET_MULTILEVEL_LOOKUP: "false"
DOTNET_NOLOGO: "true"
DOTNET_PRINT_TELEMETRY_MESSAGE: "false"
DOTNET_JitCollect64BitCounts: "1"
DOTNET_ReadyToRun: "0"
DOTNET_TC_QuickJitForLoops: "1"
DOTNET_TC_CallCountingDelayMs: "0"
DOTNET_TieredPGO: "1"
MSBUILDTERMINALLOGGER: "auto"

- name: "Build SQL Diff change"
shell: bash
Expand Down

0 comments on commit 3d5c0c0

Please sign in to comment.