department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
278 stars 194 forks source link

Deploy Proofing Agent App to LHDI DEV Region - CI #68453

Closed porta-antiporta closed 2 months ago

porta-antiporta commented 8 months ago

Context

We have a repo for our proofing app work which now has the code for Hello World, let's deploy it to QA

Acceptance Criteria

Update: We are splitting this ticket into a CI ticket and differentiating it from CD tasks which will be captured in [insert ticket]. See comments below for more info.

Updated AC for CI

rdvyas commented 6 months ago

Worked with LHDI team contact Tyler, we were able to resolve the issues with Lightkeeper CLI that was preventing us from working with the LHDI infrastructure.

We have resolved these blockers (issue was related to creating the k8s config on CAG environment, we were provided with a one of script to get around our issue. This has been logged as a ticket with LHDI team to prevent future issues with teams on CAG)

Next step is to perform the manual deployment of IPP App to Dev region.

rdvyas commented 6 months ago
rdvyas commented 2 months ago

@skirkman16 - After working on this ticket, I think it would make make sense to decompose this ticket into smaller tickets to better track and move the work items through the queue.

The goal of this ticket was to track the SecDevOps efforts for the CI/CD pipeline targeting the DEV environment. We could then use this same pipeline to promote to higher environments.

We should split this into two tickets, one for Ci, the other for CD portion of the process.

Currently we have accomplished all of the tasks noted in Green in the diagram below:

image.png

Namely we have completed the following CI tasks:

  1. Checkout build
  2. Run automated processes: unit tests, CodeQL, linting, formatting
  3. Push to VA GH Container Registry

The results of this is that we have a Docker image pushed to the VA GHCR which we can now use for the deployment activities:

IPP Docker Package

tl;dr - would recommend splitting the pipeline work into CI and CD tickets, the activities above could be captured in CI portion. Create a new ticket for CD.