...
Deployment DevOps Pipelines | Descriptions |
---|---|
Azure Resources Deployment 1 (Initial) | Will deploy container registry, keyvault and appserviceplan resources for Safsecsur and Eregistry |
Azure Resources Deployment 2 (Safsecsur) | Will deploy app service (for work management and LOV management, LOV and service bus processing service), redisCache, appInsights, postgreSQL, cosmosDB, apim, serviceBus, storageAccount resources for Safsecsur |
Azure Resources Deployment 3 (Eregistry) | Will deploy app service (for Vessel Registry internal , and external website and service bus processing service) resources for Eregistry |
Review bicep deployment files (azuredeploy. *) under project repository folder AzureDeployment
Review
sku
values for resources and update as necessary. The sku values are inside of bicep templates in repository: Infrastructure/AzureDeployment/azuredeploy.*.bicepIn the same bicep files optionally set
deployment
flag to false if the associated resource did not need to be deployed. It is set to true by default.
Configure the variables for each azure resource deployment DevOps pipelines
Edit DevOps pipelines under Pipelines → All → Azure Deployment folder
Configure variables listed for each deployment pipeline in Appendix section 1. For secured variables, need to re-create the value and check “Keep this value secret” checkbox after adding the value
Run the first deployment pipeline Azure Resources Deployment 1 (Initial). This will create container registry, keyvault and app service plan resources
Create a folder by environment name in DevOps pipeline and Clone or clone/create DevOps CI/CD pipelines for Vessel Registry and Shared (Dsd Marine) app services.
Configure new cloned or /created DevOps CI/CD pipelines for specified resource groups, container image name and container image tag. Then build the pipelines. Please refer to the Appendix section 2 for the container name, image name and image tag.
Update the deployment pipeline variables and run the remaining two deployment pipelines: Azure Resources Deployment 2 (Safsecsur) ,and Azure Resources Deployment 3 (Eregistry). Verify the resources has been deployed successfully in Azure Portal → Resource Group → Deployments
Add keyvault secrets used for applications from created resources. Please refer to the Appendix section 3 for the required application secrets
Create a Variable group in DevOps → Pipelines → Library. Toggle “Link Secrets” option, select appropriate Azure subscription → KeyVault name, add all the necessary keys and save the variable group
Link and save the new variable group in all the DevOps CI/CD pipelines
Make sure to use the correct branch(Develop/Master) on all the DevOps CI/CD pipelines
Migrate LOV Azure Cosmos DB data using Microsoft tool or Console App
Create Application Registration for Vessel Registration internal and external websites. Please refer to below Application Registration section.
Run DevOps CI/CD pipelines again and verify the applications runs as expected.
...