mirror of
https://github.com/siderolabs/talos.git
synced 2025-10-17 10:31:19 +02:00
This PR pulls in the latest version of our CAPI providers, as well as makes some minor tweaks to our bash scripts to disable terminal output of commands during certain actions. Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
23 lines
691 B
Bash
Executable File
23 lines
691 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eou pipefail
|
|
|
|
source ./hack/test/e2e.sh
|
|
|
|
function setup {
|
|
set +x
|
|
echo ${GCE_SVC_ACCT} | base64 -d > ${TMP}/svc-acct.json
|
|
gcloud auth activate-service-account --key-file ${TMP}/svc-acct.json
|
|
set -x
|
|
|
|
gsutil cp ${ARTIFACTS}/gcp.tar.gz gs://talos-e2e/gcp-${SHA}.tar.gz
|
|
gcloud --quiet --project talos-testbed compute images delete talos-e2e-${SHA} || true
|
|
gcloud --quiet --project talos-testbed compute images create talos-e2e-${SHA} --source-uri gs://talos-e2e/gcp-${SHA}.tar.gz
|
|
sed -e "s/{{TAG}}/${SHA}/" ${PWD}/hack/test/capi/cluster-gcp.yaml > ${TMP}/cluster.yaml
|
|
}
|
|
|
|
setup
|
|
create_cluster_capi gcp
|
|
run_talos_integration_test
|
|
run_kubernetes_integration_test
|