# 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

https://github.com/openshift/aos-cd-jobs/blob/bb4406f13992e7ba8885af08a7b1e25651795b40/sjb/config/test_cases/ci-kubernetes-machine-api-operator.yml

# 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.