Day-5/16 Azure DevOps Release Pipelines | Blue Green Deployment | Azure DevOps Zero to Hero series
ฝัง
- เผยแพร่เมื่อ 11 ต.ค. 2024
- Welcome to Day 5/16 for the Azure DevOps Zero to Hero series. In this video, we will deep dive into Azure Release pipelines and understand every related concept while doing the hands-on demo. We will automate the CI/CD of a TH-cam Clone website written in React for the demo.
📌By the end of this video, you will learn the following:
How to create a multi-stage Release Pipelines in Azure DevOps
Continuous Deployment Triggers
Continuous delivery using deployment slots to enable Blue-Green deployment
Deployment gates such as Query Work Items and Approvals before the prod deployment
Update the code to test the entire CICD process with the Build and Release pipeline
This series isn't just about theoretical concepts; it's about hands-on learning, real-time projects, and providing you with all the resources you need to succeed.
✅𝗔𝗹𝗹 𝘁𝗵𝗲 𝗰𝗼𝘂𝗿𝘀𝗲 𝗼𝘂𝘁𝗹𝗶𝗻𝗲 𝗵𝗮𝘀 𝗯𝗲𝗲𝗻 𝘂𝗽𝗹𝗼𝗮𝗱𝗲𝗱 𝘁𝗼 𝗺𝘆 𝗚𝗶𝘁𝗵𝘂𝗯 𝗿𝗲𝗽𝗼𝘀𝗶𝘁𝗼𝗿𝘆
github.com/piy...
✅ 𝗔𝗹𝗹 𝘁𝗵𝗲 𝗻𝗼𝘁𝗲𝘀 𝗮𝗻𝗱 𝗱𝗶𝗮𝗴𝗿𝗮𝗺𝘀 𝗼𝗳 𝘁𝗵𝗶𝘀 𝘃𝗶𝗱𝗲𝗼 𝗵𝗮𝘃𝗲 𝗯𝗲𝗲𝗻 𝘂𝗽𝗹𝗼𝗮𝗱𝗲𝗱 𝘁𝗼 𝘁𝗵𝗲 𝗗𝗮𝘆5 𝗳𝗼𝗹𝗱𝗲𝗿: github.com/piy...
Please support me and join me in this learning marathon. Your engagement, questions, and feedback will be invaluable as we embark on this journey together.
𝗩𝗜𝗗𝗘𝗢 𝗖𝗛𝗔𝗣𝗧𝗘𝗥𝗦 👀
𝗖𝗢𝗠𝗣𝗟𝗘𝗧𝗘 𝗧𝗨𝗧𝗢𝗥𝗜𝗔𝗟 𝗦𝗘𝗥𝗜𝗘𝗦 👌 It’s 🅵🆁🅴🅴 ⛳
#10WeeksOfCloudOps
• 10WeeksOfCloudOps Chal...
#Azure900WithPiyush
• AZ900WithPiyush - Azur...
Namaste Google Cloud | GCP Tutorial for beginners, a complete playlist for Associate Cloud Engineer Certification Exam:
• Namaste Google Cloud, ...
DevOps Tutorial for Beginners
• DevOps Tutorial for be...
AWS tutorial for beginners
• AWS (Amazon Web Servic...
Azure Data fundamentals DP 900 full course
• Microsoft Azure Data F...
Jenkins Tutorial for Beginners
• Jenkins Tutorial For B...
DevOps and Cloud Podcasts:
• DevOps and Cloud Podcasts
Subscribe to our channel to get notified about the latest videos.
🔥 / techtutorialswithpiyush
-----------------------------------------------------------------------------------------------------------------------
Connect me Here:👇👇
🔥TH-cam ▶ / techtutorialswithpiyush
⛳LinkedIn ▶ / piyush-sachdeva
🚀Instagram ▶ / techtutorialswithpiyush
🌍Twitter ▶ / techie_piyush
👨💻 Github ▶ github.com/piy...
✍ Medium.com ▶ / piyush.sachdeva055
📚 dev.to: ▶ dev.to/piyushs...
✨Discord ▶ / discord
-----------------------------------------------------------------------------------------------------------------------
References 📚:
#devops #techtutorialswithpiyush
azure devops pipelines
azure devops release pipelines
azure repos tutorial
azure tutorial for beginners
azure devops tutorial
azure devops zero to hero
azure devops full course
azure devops tutorial for beginners
azure tutorial
version control azure repo
azure devops
devops
build and deploy youtube clone
youtube clone
azure pipelines
azure devops pipeline
azure devops ci cd pipeline step by step
azure devops ci cd
azure devops ci/cd pipeline
azure devops ci
✅ 𝗔𝗹𝗹 𝘁𝗵𝗲 𝗰𝗼𝘂𝗿𝘀𝗲 𝗼𝘂𝘁𝗹𝗶𝗻𝗲 𝗵𝗮𝘀 𝗯𝗲𝗲𝗻 𝘂𝗽𝗹𝗼𝗮𝗱𝗲𝗱 𝘁𝗼 𝗺𝘆 𝗚𝗶𝘁𝗵𝘂𝗯 𝗿𝗲𝗽𝗼𝘀𝗶𝘁𝗼𝗿𝘆
github.com/piyushsachdeva/AzureDevOps-Zero-to-Hero
✅ 𝗔𝗹𝗹 𝘁𝗵𝗲 𝗻𝗼𝘁𝗲𝘀 𝗮𝗻𝗱 𝗱𝗶𝗮𝗴𝗿𝗮𝗺𝘀 𝗼𝗳 𝘁𝗵𝗶𝘀 𝘃𝗶𝗱𝗲𝗼 𝗵𝗮𝘃𝗲 𝗯𝗲𝗲𝗻 𝘂𝗽𝗹𝗼𝗮𝗱𝗲𝗱 𝘁𝗼 𝘁𝗵𝗲 𝗗𝗮𝘆5 𝗳𝗼𝗹𝗱𝗲𝗿: github.com/piyushsachdeva/AzureDevOps-Zero-to-Hero/tree/main/Day5
I am following them, Thankyou so much for your time and knowledge.
@@The_Purpose_is Good luck and thank you for the feedback
Great Going Piyush bhai 🚀🚀
Thank you so much bhai for the support and for the inspiration before this initiative
really great video . thanks a lot Sir for your constant dedication. most of the things related to azure devops i am learning from here in better way before also learnt but here i am learning in a proper way as expected as real time environment.
Thank you so much for your feedback 😊
Love you bhai. Your videos are very informative and easy to understand. God bless you with good health.
Thank you so much bhai for the wishes ❤️
great learning videos, thanks a lot for putting so much effort into this. and i really like your positive attitude, makes it super fun to follow your tutorials!!!
So nice of you to say words like these. Thank you so much!
Really helpful and precise information. Thank you 🙏
welcome 🙂
after clicking Gate , add the query"P1_Tasks" , when i click let Add the jobs , expect to naviage where i will select Azure subscription but it just black page
Can you join our discord server(link in the description) and share the details over there, including the screenshot of error you are getting?
Thanks for the effort and sharing !
My pleasure!
Good Explanation 😄 Waiting for next
Thanks Buddy, working on next , should be published by tomorrow
Amazing explanation, it was very useful to fulfill my exact requirement, Thanks a lot. keep it up :)
You are most welcome, I am glad that you found it helpful.
Brother your course is very useful, just a feedback if you could shorten your camera frame and try to refrain from zooming in the part that you select but highlight with red square, that would be very easy to understand at one go only, else have to go back repeat almost every part again and again concluding more time consumption hence one ending up leaving from the middle of a video only of the course...
Thank you for the wonderful feedback, yes I don't do the zoom in and out anymore. Also, I have separated the camera from the screen, if you check my latest video day 42 of the cka series, you will see the changes. Again, thank you for taking out time and sharing the wonderful feedback, truly appreciate it
@@TechTutorialswithPiyush Thank ye so much, May The God bless ye my brother!
@@azdevops ❤️🙏😇
Hello Piyush, I am following your series and i till this video in this videos you have created two stage in Release pipeline one for Test and one for Production government, as i am using free subscription i will not able to create slot option, in this case no need to create Production stage and deploy on it right ?
Not having standard and premium account will it affect in later videos as well cause i have seen that you have done lot's of changes base on slots and all ? in day 7 video at start you are removing publish artefact and adding artifact which will release code (web app) on Production environment ? should i continue next video or from which video should start again ?
Replied to this query on Day7 video
Very helpful
Glad to hear that
@Piyush one feedback do a project using azure devops deploy to aws eks
Hello, I will do that for sure, may be not as part of this series but I will create a seperate video for that
@@TechTutorialswithPiyush thanks brother it will surely help
Hii sir thanks for such a quality content could you provide the date of video when you upload that
Hey, Thank you so much. I will update the next video tomorrow. My goal is to complete the entire series in next 10-15 days at max
bro u did good job please correct me if i am wrong, in previuos video from the repo we build andd generated artifacts in CI and in this we use those artifacts in CD to test and deploy in productiin right ?? and alsoo i have a questions
Y cant we implement both in single yaml y we need seperate release pipeline for productions?
There will be enough time for each version release? should we need to generate separte pipe line for each new version ??as shown in prev video ?
That's a good question. I wanted to show you all the steps using both build and release pipeline also, it's better to keep build and release pipeline seperate to avoid any accidental deplyment on production. We also store the build in artifacts which helps us version control similar to why we use git for codebase, so that we can track the build changes, who deployed, what were the changes, commit message etc
Hello Piyush, seems they changed the process of creating Pipeline. I dont see the options to create stages like you shown. Can you make a video with new process in Devops?
Hello Karthik, I just checked and I see no difference. The option might have been disabled in your organization. Can you go to your org settings --> pipeline --> settings and ensure that release pipeline creation is not disabled?
@@TechTutorialswithPiyush Oh ok. Thanks for checking. Actually In my personal devops, I dont see releases under Pipeline. Instead it asks me to create it using YAML file.
@@karthikeyans8922 You can use build pipelines and add a deploy stage within the same. I have used it in many videos of this series
@@TechTutorialswithPiyush Hey Piyush, i just figured it out. In organization settings, we can enable or disable the "Disable creation of classic build pipelines" and "Disable creation of classic release pipelines" Under Pipeplines -> Settings to get the GUI based Pipeline release creation like, Dev, stage, prod.
@@karthikeyans8922 That's what I said 😊 but I'm glad that you figured it out
Does ADO support release pipeline as YAML script?
Unfortunately no, that is the reason many companies prefer build pipeline over release pipelines
thank you so much for your playlist it help us a lot to crack interviews
Glad it was helpful! I wish you all the best ❤️
hi piyush,
I guess the slot option is not available for free account only standard and premium has the option of slots
Hello Chinmaya, Yes, that is correct, Its not available for free tier.
No version is available for or the latest version has no artifacts to publish.
version is not available
I have no idea what you are trying to do. Please join the discord community and share the complete details along with your pipeline code, error logs, steps performed etc
Sir , i have one doubt both staging slot and production slot having latest code as per your pipeline design ,how roll back strategy will work ? , one scenario i am facing an issue in production , i need to roll back to old version here both has the latest version ,please guide me here. How the swap will work here
Hello Faiz, That's a good question. The way it works , you deploy the older version to the green environment , do your testing and validation and then do a swap with blue.
I don’t see release pipeline in pipeline section. Just created azure devops free account. Any guidance is appreciated thanks
You can go to org settings-- pipeline settings and then enable it
i have written release for Linux production with Laravel code
good job
In pipelines, I cant see release option.
Should we have premium account, something like that?
It should be available, I'm using the free version. can you join our discord server and share the screenshot of what you see
@@TechTutorialswithPiyush I will revisit the previous session and comeback. Thanks for the quick reply.
Same for me also@@The_Purpose_is
@@The_Purpose_is Not a problem, Let me know if you face any issues!
@@TechTutorialswithPiyush I found a way to enable them from project settings.
Thanks Piyush sir, but I getting one error in my Terraform pipeline...I set up the pipeline that you suggested the steps like build and release but my Terraform confirmation files in sit folder in git repo so release pipeline showing no configuration files in default path, I tried everything but not getting resolved, can anyone suggest me how to change path in Terraform pipeline.
Thanks in advance
You're most welcome. If the terraform is complaining no files that means you are running the script in incorrect folder. Enable debug logs of terraform and see where you have extracted the files, check the complete path and compare it with the path where you are running your tf commands.
Hi piyush are you Taking class
Hello Vivek, No I don't take classes. You can join our discord community if you have any queries or need any guidance, this is free