Multi-Stage CI/CD Pipelines as Code with YAML For Azure DevOps

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 พ.ย. 2024

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

  • @NaadirAkhtar
    @NaadirAkhtar 4 ปีที่แล้ว +8

    Mohamed - this is amazing. I have moved from classic pipelines recently to yaml ones and this has opened my eyes. Extremely helpful.

  • @amjadmahmood5107
    @amjadmahmood5107 3 หลายเดือนก่อน

    Brilliant Video Radwan. Informative and easy to follow.

  • @Anubis10110
    @Anubis10110 2 ปีที่แล้ว

    Thanks Mohamed, very informative and straight to the point.

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

    Its really a great tutorial to get started with yaml based pipelines. Will be helpful while moving .ps1 based script into yaml.

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

      Glad it was helpful! Thank you!

    • @TechTalkWithMuke
      @TechTalkWithMuke 4 ปีที่แล้ว

      @@MRadwanMSF Can u please help me.. How can I write a pipeline in which I need to publish web app and webjobs on one app service for two dotnet core based projects which are in one solution.

    • @TechTalkWithMuke
      @TechTalkWithMuke 4 ปีที่แล้ว

      I have tried to create two different zip for each project in which webjob project path is DesktopBuildPackageLocation="$(build.artifactStagingDirectory)\App_Data\jobs\continuous\somethingApp.zip" but nothing is getting added into it

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

    Like this video - I would like to see how One triggers releases into multiple environmnets. I struggle with deployment strategy.
    Also - powershell core will work on both linux and windows. just need "get-childitem" command and you can get everything in current directory.

  • @galilioXX
    @galilioXX 4 ปีที่แล้ว +4

    Thanks Mohamed for this great tutorial!

    • @MRadwanMSF
      @MRadwanMSF  4 ปีที่แล้ว

      Glad it was helpful!

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

    Great video Mohamed, nice work

    • @MRadwanMSF
      @MRadwanMSF  4 ปีที่แล้ว

      Thanks Steven for your comment! I ham happy you like it!

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

    Thanks Mohamed. You are amazing !!

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

    It's Amazing - What to know the process of exact YAML script that we can run a job without Artifact

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

    Thanks a lot for this great tutorial on Azure yaml pipeline. Wonder if I can have access to the YAML code you built during the video.

    • @MRadwanMSF
      @MRadwanMSF  3 ปีที่แล้ว

      Thanks!
      Yes, you can, it's open source using demo generator I used in the video

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

    Just a tip, using "ls -R" in bash will do the same as "dir /s /b" in windows

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

    @
    Mohamed Radwan - DevOps I'm your Facebook friend. and you made an awesome video.

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

      Happy you like it! Thanks for your comment

  • @kenji3110
    @kenji3110 4 ปีที่แล้ว

    I'm usually using the classic view for developing the pipelines. But now I'd say it looks more clean when working with yaml files directly than classic (but this is more of a preference I guess). Using a yaml means you can track changes easier if you keep them in a repository.

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

    Can you please explain what is the explanation of having '@2' .. '@1' .. '@4' in the task names? Like "VSBuild@1" or "NugetCommand@2".

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

    Thank you so much Rawan

    • @MRadwanMSF
      @MRadwanMSF  3 ปีที่แล้ว

      You're welcome 😊

  • @AkashRajB4U
    @AkashRajB4U 2 ปีที่แล้ว

    Thanks for sharing your knowledge, i am facing one issue while downloading the the artifact from source file, below is the job. it says
    [error]Build type 'D:\tools\agent\_work\181\s\dist' is not recognized.
    - task: DownloadPipelineArtifact@2
    displayName: Download Build Artifact (EAR)
    inputs:
    source: $(Pipeline.Workspace)\s\dist
    artifact: "reps"
    pipeline: 20
    path: $(Build.ArtifactStagingDirectory)

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

    Hi Mohamed, thanks for the video, exactly what I am looking for.. Can you please make a video on create multiple environments and deploy to them using yaml?

    • @MRadwanMSF
      @MRadwanMSF  4 ปีที่แล้ว

      I am happy it was useful...I will..... Thanks for your comment!

    • @maidamsanthosh9612
      @maidamsanthosh9612 4 ปีที่แล้ว

      @@MRadwanMSF Thanks for the reply..

  • @journeyofmars5018
    @journeyofmars5018 2 ปีที่แล้ว

    in my class release pipeline, I have two stages: TEST and PROD which will deployed to different environment. the values for TEST and PROD are different, and TEST deployed automatically and PROD can only be deployed manually on release schedule. how do we handle that in YAML pipeline?

  •  4 ปีที่แล้ว +2

    Great video. Which tool do you recommend to create the diagrams? Min 05, Sec 20

    • @MRadwanMSF
      @MRadwanMSF  4 ปีที่แล้ว

      Thanks, happy you like it.
      I use PowerPoint to do that.

  • @rajivdixit2104
    @rajivdixit2104 2 ปีที่แล้ว

    Hi @Radwan
    How would I decide which VM image would be require... like you have selected Window server 2016 with VS 2017 not Window server 2019 with VS 2019.... similarly I have a Python package for that, which Image should select
    Please suggest

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

    It is a wonderful class demoed on internet. It looks like you are focusing more on YAML file, any video to example PS1 and SSH tasks on Linux servers as target of deployment? thanks a lot.

    • @MRadwanMSF
      @MRadwanMSF  4 ปีที่แล้ว

      Happy you like it! Thanks for your comment
      Not yet, keep connected, I may do it soon

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

    It is recommended that we use "publishPiplineArtifacts" now instead of 'publishBuildArtifacts' right now

    • @MRadwanMSF
      @MRadwanMSF  4 ปีที่แล้ว

      Great to know, thanks for your comment and sharing that!

  • @armandojorgelopezespinoza476
    @armandojorgelopezespinoza476 2 ปีที่แล้ว

    I rename name of server and database, but when change webconfig to this name doesn't work. Furthermore min 25:27 name of webconfig database es ParstUnlimitedWebsite but name in azure is only PartsUnlimited. And supose that localserver not changed. Rigth ? Help?

  • @rambevara5702
    @rambevara5702 3 ปีที่แล้ว

    Outstanding sir..please make the video on same with environments section.if already have , kindly share the link

  • @shibadattmishra8597
    @shibadattmishra8597 4 ปีที่แล้ว

    Hi, I am going thru a multi stage deployment(Dev-PPE-Prod) in CD pipeline where i have 1 web.config & 1 xyz.js file needs to be excluded from the deployment process. i know there is something called "Additional Arguments" under IIS Web App Deploy task in CD phase but not sure how to do this. Would appreciate your help on this

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

    Adding mutiple stages in one yaml requires us to copy paste or have duplicate tasks. Can we have a yaml file with one stage and reuse it for all environment?

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

      Excellent question! Yes, this is the YAML template, see the following link for more info:
      docs.microsoft.com/en-us/azure/devops/pipelines/process/templates?view=azure-devops

  • @ramcmishra6727
    @ramcmishra6727 2 ปีที่แล้ว

    Goood Vidio!

  • @yousefqasrawi660
    @yousefqasrawi660 4 ปีที่แล้ว

    Great job, but please record this series in Arabic because we don't have enough information about devops field recorded in Arabic

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

      Sure, I had some videos in Arabic here
      th-cam.com/channels/XL45yrrzvu3la8S9PM5Aug.html

  • @krupakarreddy8235
    @krupakarreddy8235 4 ปีที่แล้ว

    Please make a video of best branching strategy we can follow in azure devops

    • @MRadwanMSF
      @MRadwanMSF  4 ปีที่แล้ว

      Branch and merge is based on the project release and testing cycle so, you can do any one.
      See this video for Git tutorial
      th-cam.com/video/ZgCCnv9LxzA/w-d-xo.html

  • @subhankarpati8226
    @subhankarpati8226 4 ปีที่แล้ว

    I want to have the CI part in build pipeline and CD part in release pipeline using yaml..can you help me with the same?

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

    Thanks Mohamed!

    • @MRadwanMSF
      @MRadwanMSF  4 ปีที่แล้ว

      No problem Wouter and thanks for your comment!

    • @woutervanvegchel4472
      @woutervanvegchel4472 4 ปีที่แล้ว

      @@MRadwanMSF Hi Mohamed, is there another way of testing YAML pipelines then just running the pipeline?

    • @MRadwanMSF
      @MRadwanMSF  4 ปีที่แล้ว

      I found the syntax highlighted in the pipeline editor is not so bad but Unfortunately no other way

  • @aakashcinecreations8667
    @aakashcinecreations8667 4 ปีที่แล้ว

    Thanks a lot for detailed explanation but when following this method css,img,fonts and other few files are missing during build, when i change drop location to $(build.SourcesDirectory) no files are missing but getting error ##[error]Error: No package found with specified pattern: D:\a\1\a\drop\*.zipCheck if the package mentioned in the task is published as an artifact in the build or a previous stage and downloaded in the current job.

    • @aakashcinecreations8667
      @aakashcinecreations8667 4 ปีที่แล้ว

      i have not changed anything on pipeline apart $(build.SourcesDirectory), downloading artifacts fine but when fetching getting error

  • @kashifaliuk
    @kashifaliuk 4 ปีที่แล้ว

    Asak Radwan, I am struggling with indenting two tabs..not able to get rid of red underline error..please assist

    • @MRadwanMSF
      @MRadwanMSF  4 ปีที่แล้ว

      It's a tricky part, you just need to try it until you get it, never stop trying :)

  • @Robert-ht5kd
    @Robert-ht5kd ปีที่แล้ว

    Where is final code for the pipeline?

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

    do you have a course AZ-400?

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

    15:33

  • @johnike15
    @johnike15 4 ปีที่แล้ว

    github not working :(