utils

package
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package utils contains helper functions for the e2e tests

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupTestPlatform

func SetupTestPlatform(t *testing.T, platform *types.TestPlatform)

SetupTestPlatform uses Terratest to create an EC2 instance. It then (on the new instance) downloads the repo specified by env var REPO_URL at the ref specified by env var GIT_BRANCH, installs Zarf, logs into registry1.dso.mil using env vars REGISTRY1_USERNAME and REGISTRY1_PASSWORD, builds all the packages, and deploys the init package, the flux package, and the software factory package. It is finished when the zarf command returns from deploying the software factory package. It is the responsibility of the test being run to do the appropriate waiting for services to come up.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL