How could I build a simple CI/CD for a pipeline

Zhuoqiong Mo 40 Reputation points
2024-07-30T15:54:10.82+00:00

Hallo all,

I have an existing CI/CD pipelines and release in my Azure DevOps, and I create a new pipeline in the azure synapse workspace, and i want to do the CI/CD for this new pipeline in Azure DevOps. Could anyone tell me how to do it? Here is my thoughts:

  1. set up a yml file for stages and jobs and steps for the new pipeline in DevOps.
  2. write a azure powershell script for lauching the pipeline in azure synapse workspace.
  3. create a new release

I am confused about the first and the second steps.

Many thanks in advance,

Joan

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,703 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Achraf Ben Alaya 971 Reputation points MVP
    2024-07-30T16:29:58.77+00:00

    Hello ,

    I have found this link for you : https://purple.telstra.com/blog/how-to-setup-ci-cd-for-synapse-analytics-on-azure-devops

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.

    0 comments No comments

  2. Kasun Rajapakse 351 Reputation points
    2024-07-30T16:35:09.3033333+00:00

    Hi Joan,

    Not sure, what you need to include in the Azure DevOps Pipeline. But following getting started guide will help you to get started with Azure DevOps YAML pipeline.

    Simple YAML CI/CD

    For the second point, Yes you can create a PowerShell script, and from CI/CD pipeline, you can run the script. This can be done via a PowerShell task in the YAML pipeline

    PowerShell@2 - PowerShell v2 task

    For the last point you can use Azure DevOps environment to designate different stages of your CI/CD such as Dev, Staging, Production.

    Azure DevOps Environments

    Hope this will help for you. If this helpful and answer the question mark them as answered

    0 comments No comments

  3. Marcin Policht 18,420 Reputation points MVP
    2024-07-30T16:40:28.0233333+00:00

    Follow https://techcommunity.microsoft.com/t5/data-architecture-blog/ci-cd-in-azure-synapse-analytics-part-4-the-release-pipeline/ba-p/2034434


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    0 comments No comments