talos/hack/test/e2e-azure.sh
Noel Georgi ee51f04af3
chore: azure e2e
Add code to support azure e2e

Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-03-23 17:30:36 +05:30

16 lines
421 B
Bash
Executable File

#!/usr/bin/env bash
set -eou pipefail
source ./hack/test/e2e.sh
cp "${ARTIFACTS}/e2e-azure-talosconfig" "${TALOSCONFIG}"
cp "${ARTIFACTS}/e2e-azure-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