Deploying the application
Creating a pipeline in Azure.
- Create a new pipeline in the Cova Web Project.
- New Pipeline
- Save the pipeline
- Rename the pipeline to remove
RetailInnovationLabsfor clarity in the list.
Running Pipelines
The pipeline will run under the following conditions:
- A Pull Request created on the
mainbranch. This will build the project but not deploy it to any environment. - A Pull Request is merged to the
mainbranch.
The following link provides the key concepts of using Azure Pipelines.
The first time you run the pipeine, it will build the project, and deploy it to the DEV (and then INT environment), adding an entry to the import map for each environment.
In order to be able to visable on this environment, a new entry in the Web.Routes project is required for each environment.
The pipeline build will pause, awaiting approval at both the RC and PROD steps.
On a newly created pipeline, there is likely a need to authorize access to each of the environments via a prompt in the UI. If you don't have sufficient access to do this yourself then ask one the Web Team to do this action. It is a once only step for each pipeline.