talos/hack/test/e2e-gcp.sh
Noel Georgi d64ce44e46
chore(ci): e2e gcp
Add e2e-gcp.

Also drop other CAPI stuff.

Fixes: #8842

Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-09-06 19:07:20 +05:30

16 lines
417 B
Bash
Executable File

#!/usr/bin/env bash
set -eou pipefail
source ./hack/test/e2e.sh
cp "${ARTIFACTS}/e2e-gcp-talosconfig" "${TALOSCONFIG}"
cp "${ARTIFACTS}/e2e-gcp-kubeconfig" "${KUBECONFIG}"
# set the talosconfig to use the first controlplane ip
CONTROLPLANE0_NODE=$(${TALOSCTL} config info -o json | jq -r '.endpoints[0]')
${TALOSCTL} config node "${CONTROLPLANE0_NODE}"
run_talos_integration_test
run_kubernetes_integration_test