# README
Build
From the project root folder:
go build -v -o bin/integration github.com/openshift/machine-api-operator/test/integration
or
make build-integration
Run
Requires aws cli to get local credentials.
Assuming there's a kubernetes cluster running, e.g minikube start
/bin/integration --kubeconfig ~/.kube/config --mao-image machine-api-operator:integration --assets-path tests/integration --cluster-id testing
CI
# Functions
NewClient creates our client wrapper object for the actual AWS clients we use.
NewTestConfig creates new test config with clients.
PopulateTemplate receives a template file path and renders its content populated with the config.
# Constants
AwsCredsSecretAccessKey is secret key containing AWS Secret Key.
AwsCredsSecretIDKey is secret key containing AWS KeyId.
# Structs
AWSClient is the client to retrieve aws instances.
TestConfig stores clients for managing various resources.