mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-22 07:01:12 +02:00
This reverts commit 11f8392e53986da6c124037ffab06064ec04aedd. Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
20 lines
321 B
Bash
Executable File
20 lines
321 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eou pipefail
|
|
|
|
export TMP="$(mktemp -d)"
|
|
export OSCTL="${PWD}/build/osctl-linux-amd64"
|
|
export TALOSCONFIG="${TMP}/talosconfig"
|
|
export KUBECONFIG="${TMP}/kubeconfig"
|
|
|
|
|
|
cleanup() {
|
|
${OSCTL} cluster destroy --name integration
|
|
rm -rf ${TMP}
|
|
}
|
|
trap cleanup EXIT
|
|
|
|
./hack/test/osctl-cluster-create.sh
|
|
|
|
exit 0
|