talos/hack/test/e2e-firecracker.sh
Andrew Rynhard 88667641df chore: refactor E2E scripts
This PR aims to simplify our E2E scripts.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2020-01-26 20:47:25 -08:00

25 lines
466 B
Bash
Executable File

#!/bin/bash
set -eou pipefail
source ./hack/test/e2e.sh
function create_cluster {
"${OSCTL}" cluster create \
--provisioner firecracker \
--name e2e-firecracker \
--masters=3 \
--mtu 1500 \
--memory 2048 \
--cpus 2.0 \
--cidr 172.20.0.0/24 \
--init-node-as-endpoint \
--wait \
--install-image docker.io/autonomy/installer:latest
}
create_cluster
get_kubeconfig
run_talos_integration_test
run_kubernetes_integration_test