Deployment
Environments
Investec has 4 environments: test, staging, beta, prod. Developers are allowed to deploy to test and staging at any time.
beta and prod will require different steps and approval set out below.
Via the angular CLI, the platform is build using 3 different configurations: test, staging and prod.
e.g. ng build --project app-platform-pc -c staging
Note: -c being shorthand for --configuration
testconfiguration is used for thetestenvironmentstagingconfiguration is used for thetestANDstagingenvironmentprodconfiguration is used for thebetaANDprodenvironment
Note that there "configurations" are what is used for feature toggling
Deploying Test
Developers may autiomatically deploy to Test via an Azure Devops pipeline trigger Azure DevOps
Deploying Staging
Developers may manually or automatically deploy to Staging via an Azure Devops pipeline trigger or manual run Azure DevOps
Deploying Beta
Your project can either implement the Stamp Azure Devops task or you will need to create a SNOW request to deploy the platform to Beta via SNOW
Also the you as the developer, will need to manually click deploy to Beta via Azure DevOps Pipelines which will create a deployment request.
Deploying Production
Your project can either implement the Stamp Azure Devops task or you will need to create a SNOW request to deploy the platform to Beta via SNOW
Also the you as the developer, will need to manually click deploy to Prod via Azure DevOps Pipelines which will create a deployment request.