简体   繁体   English

Azure CICD for SQL 服务器数据库部署使用DbUp库

[英]Azure CICD for SQL Server database deployment using DbUp library

I am trying to deploy the database changes through Azure CICD using the DbUp library.我正在尝试使用 DbUp 库通过 Azure CICD 部署数据库更改。 But I don't really understand what are the steps to be followed are, and how to start off initially.但我真的不明白要遵循的步骤是什么,以及如何开始。

Can somebody share how we can deploy the SQL Server database changes using DbUp?有人可以分享我们如何使用 DbUp 部署 SQL 服务器数据库更改吗?

You may use extension - DbUp Migration您可以使用扩展 - DbUp 迁移

All what you need then it provide:然后它提供您所需要的一切:

  • connection string连接字符串
  • folder where you keep you script files保存脚本文件的文件夹
  • schema图式
  • table name where you are going to keep history您要保存历史记录的表名
- task: UpdateDatabaseWithDbUp@2
  inputs:
    ConnectionString: 'Server=$(DbUp.Server);Database=$(DbUp.Database);User ID=$(DbUp.UserId);Password=$(DbUp.Password);Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;'
    ScriptPath: 'scripts'
    JournalSchemaName: 'dbo'
    JournalTableName: '_SchemaVersions'

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 部署 Azure SQL 数据对象 使用 Terraform 使用 Azure Devops CICD - Deploy Azure SQL Data Objects Using Terraform using Azure Devops CICD Azure Synapse SQL 具有多种环境的 CICD - Azure Synapse SQL CICD with multiple environments AzureDevOps - Azure SQL 服务器部署问题及解决方案 - AzureDevOps - Azure SQL Server deployment Problems and Solution 如何使用 Azure DevOps 为 PostgreSQL 自动部署 Azure 数据库 - How to Automate Deployment of Azure Database for PostgreSQL using Azure DevOps 推荐Azure SQL服务器数据库配置 - Recommended Azure SQL Server Database Configuration 没有服务器证书信任 Azure SQL 数据库 - No server certificate trust in Azure SQL Database 使用迁移助手工具迁移多个数据库 - SQL SERVER to AZURE SQL Database - Migrating multiple Databases using Migration Assistant Tool - SQL SERVER to AZURE SQL Database 如何使用 Active Directory 身份验证从 Tableau Desktop 访问 Azure SQL 服务器/数据库 - How to Access Azure SQL Server/Database from Tableau Desktop using Active Directory Authentication GitLab CICD 部署与 GitLab 环境分支流程 - GitLab CICD deployment with GitLab Environment branches flow 如何使用azure数据工厂替换azure sql数据库中的数据? - how to replace data in azure sql database using azure data factory?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM