chore: add CAPI version to CI setup

This PR makes sure we pin to a known CAPI version because with the new
v0.4.x released, we'll fail until we support the v1alpha4 APIs.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
This commit is contained in:
Spencer Smith 2021-06-25 09:16:26 -04:00 committed by Spencer Smith
parent ad047a7dee
commit 2060ceaa0b

View File

@ -4,6 +4,7 @@ set -eou pipefail
source ./hack/test/e2e.sh
export CAPI_VERSION="0.3.19"
export CABPT_VERSION="0.2.0"
export CACPPT_VERSION="0.1.0"
export CAPA_VERSION="0.6.5"
@ -25,6 +26,7 @@ export AWS_B64ENCODED_CREDENTIALS=${AWS_SVC_ACCT}
set -x
${CLUSTERCTL} init \
--core "cluster-api:v${CAPI_VERSION}" \
--control-plane "talos:v${CACPPT_VERSION}" \
--infrastructure "aws:v${CAPA_VERSION},gcp:v${CAPG_VERSION}" \
--bootstrap "talos:v${CABPT_VERSION}"