@@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.
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
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.
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.
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)
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?
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
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
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.
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?
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
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?
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
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
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.
Mohamed - this is amazing. I have moved from classic pipelines recently to yaml ones and this has opened my eyes. Extremely helpful.
Thanks Naadir!
Brilliant Video Radwan. Informative and easy to follow.
Thanks Mohamed, very informative and straight to the point.
Its really a great tutorial to get started with yaml based pipelines. Will be helpful while moving .ps1 based script into yaml.
Glad it was helpful! Thank you!
@@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.
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
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.
Thanks Mohamed for this great tutorial!
Glad it was helpful!
Great video Mohamed, nice work
Thanks Steven for your comment! I ham happy you like it!
Thanks Mohamed. You are amazing !!
Thank you too!
It's Amazing - What to know the process of exact YAML script that we can run a job without Artifact
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.
Thanks!
Yes, you can, it's open source using demo generator I used in the video
Just a tip, using "ls -R" in bash will do the same as "dir /s /b" in windows
Thanks!
@
Mohamed Radwan - DevOps I'm your Facebook friend. and you made an awesome video.
Happy you like it! Thanks for your comment
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.
Can you please explain what is the explanation of having '@2' .. '@1' .. '@4' in the task names? Like "VSBuild@1" or "NugetCommand@2".
Thank you so much Rawan
You're welcome 😊
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)
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?
I am happy it was useful...I will..... Thanks for your comment!
@@MRadwanMSF Thanks for the reply..
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?
Great video. Which tool do you recommend to create the diagrams? Min 05, Sec 20
Thanks, happy you like it.
I use PowerPoint to do that.
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
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.
Happy you like it! Thanks for your comment
Not yet, keep connected, I may do it soon
It is recommended that we use "publishPiplineArtifacts" now instead of 'publishBuildArtifacts' right now
Great to know, thanks for your comment and sharing that!
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?
Outstanding sir..please make the video on same with environments section.if already have , kindly share the link
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
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?
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
Goood Vidio!
Great job, but please record this series in Arabic because we don't have enough information about devops field recorded in Arabic
Sure, I had some videos in Arabic here
th-cam.com/channels/XL45yrrzvu3la8S9PM5Aug.html
Please make a video of best branching strategy we can follow in azure devops
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
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?
Thanks Mohamed!
No problem Wouter and thanks for your comment!
@@MRadwanMSF Hi Mohamed, is there another way of testing YAML pipelines then just running the pipeline?
I found the syntax highlighted in the pipeline editor is not so bad but Unfortunately no other way
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.
i have not changed anything on pipeline apart $(build.SourcesDirectory), downloading artifacts fine but when fetching getting error
Asak Radwan, I am struggling with indenting two tabs..not able to get rid of red underline error..please assist
It's a tricky part, you just need to try it until you get it, never stop trying :)
Where is final code for the pipeline?
do you have a course AZ-400?
Soon
15:33
github not working :(
Thanks!