I created a pipeline that builds react app and upload it to S3. My new question is, what's the difference between Azure Pipelines > Pipelines and Azure Pipelines > Releases? What I would like to achieve now is to trigger a pipeline to deploy my app whenever there is a pull request accepted for a certain branch. Any ideas?
Well, basically the Pipelines/Builds section is the CI and Pipelines/Releases section is the CD. The result of a build pipeline is a build artifact. You can use Release pipelines to deploy the build artifact, possibly to different environments (dev/staging/prod), and with different configurations for each. When defining a deployment environment in a release pipeline, you can configure the triggers for that pipeline. You can make it auto deploy to specific environments whenever a new build artifact is available from a specific branch. You can also keep it manual, or setup approvals and stuff like that.
There are many kinds of tasks that you can define in a Release pipeline, including for example a simple SSH task which you can use to run a script you write on a machine you own, to pull from S3 and deploy you app.
Azure pipelines consists both build and release pipeline, although they have removed build node from the pipelines side bar. Once you create build pipeline, you can publish build result in azure artifacts. When you create release pipeline, you can trigger azure build.
Thank you very much, and excuse me for the late reply. After reading this I could successfully set it up and its up and running. Thank you again.
Thank you. I got it working now. I dont understand why they changed the name "Build" to Pipeline. It was very confusing to understand how it works by just looking at its interface now.
Обсуждают сегодня