Skip to content

AzureDevOps-fabric-cicd-with-automated-tests to show how to operationalize fabric-cicd to work with Microsoft Fabric and YAML Pipelines in Azure DevOps and perform automated tests

License

Notifications You must be signed in to change notification settings

kevchant/AzureDevOps-fabric-cicd-with-automated-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AzureDevOps-fabric-cicd-with-automated-tests to operationalize fabric-cicd to work with Microsoft Fabric and YAML Pipelines in Azure DevOps and perform automated tests

Contains three different YAML files which can be setup as YAML Pipelines in Azure DevOps. So that you can operationalize fabric-cicd to work with Microsoft Fabric and perform automated tests.

Initially created to accompany a blog post I published that shows how to automate testing Microsoft Fabric Data Pipelines with YAML Pipelines in Azure DevOps. If you wish to focus solely on deploying fabric-cicd with YAML pipelines without any testing you can view my AzureDevOps-fabric-cicd-sample repository

This repository currently contains the below three YAML files that you can configure for various scenarios:

  1. fabric-cicd-demo-variables.yml - Pipeline that is fully orchestrated Azure Pipeline variables. For scenarios where all the values are constant.
  2. fabric-cicd-demo-wsparameters.yml - Pipeline that contains parameters that affect workspace values. Including workspace ID and items to deploy.
  3. fabric-cicd-demo-gblparameters.yml - Pipeline that contains global parameters. Suited for Option four in the recommended CI/CD options article by Microsoft.

You can find all the YAML files in the AzureDevOpstemplate subfolder. All of files contain details about what variables and/or prarameters are required for each one.

Currently there is stage in each pipeline called Test Data Pipeline which caters for performing tests aginst the "Run Hello World" Data Pipeline. Based on the Data Factory Testing Framework .You can find the relevant python file in the "Tests" subfolder of the repository.

One quick way to get started is to import the repository into Azure DevOps. From there, create a pipeline from an existing YAML file.

All of the samples of Fabric items provided in the worskpace folder are from the original fabric-cicd repository. However, I do recommend testing with your own items stored in a repository that is the backend for a workspace configured with Microsoft Fabric Git integration.

In addition, you can customize the "parameter.yml" file to suit your requirements.

This repository is provided "as is" based on the MIT license. Basically, I am not responsible for your use of it.

About

AzureDevOps-fabric-cicd-with-automated-tests to show how to operationalize fabric-cicd to work with Microsoft Fabric and YAML Pipelines in Azure DevOps and perform automated tests

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages