Deployment Process
Each step produces a defined output that serves as the entry condition for the step that follows.
Process
Step 1: Environment readiness
The following must be in place before proceeding.
- Azure App Service resources provisioned and accessible.
- Key Vault access confirmed.
- SQL Server connectivity confirmed.
- Rating API connectivity confirmed, including authentication.
Step 2: Application deployment
Step 2a: Build pipeline execution
- In Azure DevOps, navigate to Pipelines.
- Run the web application build pipeline to produce the
owlsure-whatifwebZIP artifact. - Run the API build pipeline to produce the
owlsure-whatifapiZIP artifact. - Confirm both artifacts are available in ADO storage before proceeding.
Step 2b: Release pipeline execution
All pipeline variable values must be reviewed and confirmed for the target environment before the release is triggered.
- In Azure DevOps, navigate to Pipelines > Releases.
- Click Create release.
- Select the build artifacts produced by the build pipelines.
- Select the target environment.
- Review and confirm all variable values.
- Click Deploy.
The release pipeline provisions the App Service if required, substitutes configuration variables into server-computed.json and appsettings.json, configures CORS, deploys the application, applies App Service settings, and restarts the service. The full task breakdown is in Release Pipeline.