Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevchant/azuredevops-sqldatabaseinfabric
Template to perform CI/CD for SQL database in Fabric
https://github.com/kevchant/azuredevops-sqldatabaseinfabric
microsoft-fabric sql-db-in-fabric sql-db-project sql-server
Last synced: about 21 hours ago
JSON representation
Template to perform CI/CD for SQL database in Fabric
- Host: GitHub
- URL: https://github.com/kevchant/azuredevops-sqldatabaseinfabric
- Owner: kevchant
- License: mit
- Created: 2024-12-11T20:49:05.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-02-09T13:20:23.000Z (1 day ago)
- Last Synced: 2025-02-09T14:26:04.999Z (about 24 hours ago)
- Topics: microsoft-fabric, sql-db-in-fabric, sql-db-project, sql-server
- Language: TSQL
- Homepage: https://www.kevinrchant.com/2024/12/11/two-ways-to-perform-ci-cd-for-sql-databases-in-fabric-using-yaml-pipelines/
- Size: 13.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: Security/SalesLT.sql
Awesome Lists containing this project
README
# AzureDevOps-SQLDatabaseinFabric to perform CI/CD for SQL database in Fabric
Contains a template that you can use to perform CI/CD for SQL database in Fabric in two different ways. Based on a blog post I wrote called '[Two ways to perform CI/CD for SQL databases in Fabric using YAML Pipelines](https://www.kevinrchant.com/?p=12321)'.
A brief is below. However, there is also a [wiki for this project](https://github.com/kevchant/AzureDevOps-SQLDatabaseinFabric/wiki) that covers multiple topics.
Both methods use a YAML pipeline, which you can find in the AzureDevOpsTemplates folder.
In order to use them in Azure Pipelines you can either import or fork this repository into another GitHub repository or into Azure Repos.
Afterwards, you can select the YAML file in Azure Pipelines and tailor the pipeline to suit your needs.
## Method one
First method is by creating a dacpac file based on a [SQL database project](https://learn.microsoft.com/en-us/sql/tools/sql-database-projects/sql-database-projects?view=sql-server-ver16&WT.mc_id=DP-MVP-5004032%3Fview%3Dsql-server-ver16) to a SQL database in Fabric.Which is the database project you see in this repository.
You can find the template for the YAML pipeline in the '[AzureDevOpsTemplates/SQLDBinFabricDatabaseProject.yml](https://github.com/kevchant/AzDo-SQLDatabaseinFabric/blob/main/AzureDevOpsTemplates/SQLDBinFabricDatabaseProject.yml)'.
## Method two
Second method is by extracting the schema of an existing SQL database in Fabric into a dacpac file. Which you then deploy to another SQL database in Fabric.You can find the template for the YAML pipeline in the '[AzureDevOpsTemplates/SQLDBinFabricExtractSchematoDacpac.yml](https://github.com/kevchant/AzDo-SQLDatabaseinFabric/blob/main/AzureDevOpsTemplates/SQLDBinFabricExtractSchematoDacpac.yml)'.
This repository is provided "as is" based on the [MIT license](https://opensource.org/licenses/MIT). Basically, I am not responsible for your use of it.