Big Bang Release Airgap Automated Testing
General MR
Summary
This adds supporting files that allow this MR to test a Big Bang Release. To summarize, the following will happen:
- Zarf will package up what is in zarf.yaml and store it in S3.
- Terraform will spin up an EC2 instance and execute
zarf init
setting up K3S and the Zarf required elements (registry, gitea, zarf-agent, etc). - The internet connection gets cut, simulating an airgapped network for the most part. The Gitlab runner still needs access to communicate to the EC2.
- The Zarf package is pulled down from S3 and run on the instance.
- E2E tests are run after Zarf validates the installation was successful.
- 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