-
Notifications
You must be signed in to change notification settings - Fork 7
Partner Team Quick Deployment Guide for Lower Environments
This guide outlines steps for VRO's partner teams to independently deploy and verify feature branch changes in dev
and qa
environments without the assistance of VRO engineers.
Note: this guide does not cover code releases or deployments to higher environments such as sandbox or prod, which require the use of signed Docker images. For more detailed documentation, visit here.
🆕 jump to Deploying with ArgoCD
- Visit
abd-vro
repo Github action here - Select your feature branch and click "Run workflow".
- Make sure your feature branch from the
abd-vro-internal
repo here has the latest commit hash.
Run SecRel workflow to publish the image
The 'Run SecRel and sign images' checkbox is necessary only for deployments in upper environments, such as sandbox
, prod-test
, and prod
.
- For the EE team, visit here.
- For the CC team, visit here.
- Select your feature branch from the dropdown.
- Select
dev
orqa
for the 'Target LHDI environment'. - Enter the first 7 characters of the commit hash or use
latest
. - Keep the rollback and shutdown chart completely checkboxes unchecked
- Click "Run workflow".
Datadog URL (requires PIV card)
The commit may be on any branch that has been pushed to the public abd-vro repository. Copy the first 7 characters of the unique ID.
For a listing of commits on the
develop
branch: Commits
Navigate to the configuration file specific for the app and environment(s):
- Contention Classification: dev.yaml, qa.yaml
- EP Merge: dev.yaml, qa.yaml
- Max CFI: dev.yaml, qa.yaml
- note: these are in private repository va-abd-rrd-argocd-applications-vault
Edit the file(s) so that image.tag
is assigned to the value determined in Step 1. If imageTag
is also defined, update its value, too. (Some configurations have both image.tag
and imageTag
; VRO is investigating whether the latter can be eliminated.) Commit the changes to a branch.
This example shows
image.tag
andimageTag
on lines 6 and 3, respectively:
Create a pull request (PR) for the branch.
Hold for the PR to be approved. Your team and the VRO team will automatically be notified of the pending PR (implemented through CODEOWNERS).
Merge the approved PR. ArgoCD will detect the change and execute the deployment as part of its auto-sync behavior. Its default polling interval: 3 minutes.
The deployment action will be visible on the Deployments by Image tag per Week
tile of the VRO on LHDI dashboard. Use the "namespace" and "deployment" filters on the top bar to filter the results.
This screenshot shows the deployments for EP Merge on the dev and qa environments:
VRO is exploring options for pushing deployment status updates to Slack (#3309).
The below gif shows an example of creating a pull request for a deployment of domain-xample
. Not shown: subsequent steps in GitHub and Datadog, as they are not unique to the deployment process.