CDCgov / dibbs-query-connector

A FHIR client allowing public health agencies to query health care organizations directly or via a TEFCA QHIN
Creative Commons Zero v1.0 Universal
4 stars 0 forks source link

Automate deployment #163

Open shanice-skylight opened 6 days ago

shanice-skylight commented 6 days ago

PULL REQUEST

Summary

The full_cd.yaml file creates a workflow the ties together all of the actions and workflows to automate the deployment of the new image created by this repository to EKS. See the workflow details below:

  1. Build the image and push it to the dibbs-query-connector repository's registry.
  2. Trigger the workflow in the phdi-charts repository to update the chart version by creating a PR that automatically modifies the chart file version.
  3. Manually approve and merge the PR due to branch protection rules on the main branch, which require approval before merging.
  4. Trigger the workflow in the phdi-playground repository to deploy the new image created in Step 1.
  5. Pull the latest image from the GHCR in the dibbs-query-connector repository and deploy it to EKS.

Related Issue

Fixes # Automates most of the manual steps that were required in order to deploy a new image to the demo site.

Additional Information

Original Deployment Note: Manual means the developer has to go to Github actions to trigger the workflow QC Deployment Workflow-Original State drawio (2)

Current Deployment with this PR Note: This deployment would involve changing the individual workflows in the current deployment into actions that will be compiled together into one workflow and wait until the previous action is complete before moving to the next action. QC Deployment Workflow-End State v1 3 drawio

Interdependent on the following PR: - phdi-charts

Checklist