UNCLASSIFIED - NO CUI

Skip to content

Big Bang Release Airgap Automated Testing

Danny Gershman requested to merge airgap-automation into master

General MR

Summary

This adds supporting files that allow this MR to test a Big Bang Release. To summarize, the following will happen:

  1. Zarf will package up what is in zarf.yaml and store it in S3.
  2. Terraform will spin up an EC2 instance and execute zarf init setting up K3S and the Zarf required elements (registry, gitea, zarf-agent, etc).
  3. The internet connection gets cut, simulating an airgapped network for the most part. The Gitlab runner still needs access to communicate to the EC2.
  4. The Zarf package is pulled down from S3 and run on the instance.
  5. E2E tests are run after Zarf validates the installation was successful.
  6. The infrastructure is torn down, whether or not the jobs were successful.

Relevant logs/screenshots

Example successful job: https://repo1.dso.mil/big-bang/pipeline-templates/package-validation/-/pipelines/1858173

Edited by Danny Gershman

Merge request reports