Azure DevOps Pipelines and Bicep

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ส.ค. 2024
  • In this video, we build on DevOps repos by creating an Azure DevOps pipeline that deploys Azure Bicep template files. We start by creating a service connection, allowing DevOps to deploy resources to Azure. Next, we create multiple pipeline jobs, splitting the deployment into two parts, or jobs, that run sequentially. One job deploys resources to Azure and the other removes the resources. A dependency is used to only run the second job if the first is successful. Azure Bicep files are used for this example. We review the modular deployment then create a parameters file to set configuration parameters for the deployment.
    00:00 - Start
    01:33 - Bicep Files
    04:57 - Create a Service Connection
    06:28 - Create the Pipeline with Jobs
    07:43 - Create the Deployment Job
    10:54 - Validate the Deployment
    11:37 - Deploy Resources in a Pipeline
    12:39 - Create a Clean Up Job with Dependencies
    15:25 - Deploy and Remove Resources
    Links:
    Azure Bicep Playlist
    • Bicep
    Files on GitHub
    github.com/tsrob50/PublicDevO...
    Zero to Hero with Azure Virtual Desktop
    www.udemy.com/course/zero-to-...
    Hybrid Identity with Windows AD and Azure AD
    www.udemy.com/course/hybrid-i...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 9

  • @Ed.E
    @Ed.E 6 หลายเดือนก่อน +1

    Incredibly useful, thank you

  • @mohammadanas4377
    @mohammadanas4377 6 หลายเดือนก่อน

    Thank you Travis. It is a great video

  • @robinstahlwarelius1845
    @robinstahlwarelius1845 11 หลายเดือนก่อน

    Thx! Great video :)

  • @FelipeAugusto-xh8zc
    @FelipeAugusto-xh8zc 2 ปีที่แล้ว +4

    Hi Travis, I'd recommend you use only commands whenever is possible and forget about tasks. In this scenario, for example, you will probably face a problem if you need to deploy a hub-spoke in different subs because you can't reference it properly. Nice video, and keep it up.

    • @Ciraltos
      @Ciraltos  2 ปีที่แล้ว +2

      Thanks for the tip!

  • @holaconn1754
    @holaconn1754 ปีที่แล้ว +1

    Thank you for the awesome video. When we deploy more resources together via bicep, which resource get to deploy first? does it have an order ?

  • @jandresjn
    @jandresjn 9 หลายเดือนก่อน

    Thanks. I have a doubt. Why you use pipelines instead of the delivery section to deploy resources.

  • @dankitch
    @dankitch ปีที่แล้ว

    How do you handle the scenario where you want to create a pull request into the master branch and deploy the resources without cleaning them up?
    For example, I am happy with my deployment and I want to deploy it into production?

    • @heheh6345
      @heheh6345 9 หลายเดือนก่อน

      The Job called Clean Up Resources is just for testing purposes. You'd remove that Job so that the resources will remain