mirror of
				https://github.com/siderolabs/talos.git
				synced 2025-10-31 16:31:13 +01:00 
			
		
		
		
	This probably fixes the incompatibility with 1.24.0-beta.0. Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
		
			
				
	
	
		
			40 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/env bash
 | |
| 
 | |
| set -eou pipefail
 | |
| 
 | |
| source ./hack/test/e2e.sh
 | |
| 
 | |
| export CAPI_VERSION="${CAPI_VERSION:-1.1.3}"
 | |
| export CAPA_VERSION="${CAPA_VERSION:-1.2.0}"
 | |
| export CAPG_VERSION="${CAPG_VERSION:-1.0.0}"
 | |
| 
 | |
| # We need to override this here since e2e.sh will set it to ${TMP}/capi/kubeconfig.
 | |
| export KUBECONFIG="/tmp/e2e/docker/kubeconfig"
 | |
| 
 | |
| # CABPT
 | |
| export CABPT_NS="cabpt-system"
 | |
| 
 | |
| # Install envsubst
 | |
| apk add --no-cache gettext
 | |
| 
 | |
| # Env vars for cloud accounts
 | |
| set +x
 | |
| export GCP_B64ENCODED_CREDENTIALS=${GCE_SVC_ACCT}
 | |
| export AWS_B64ENCODED_CREDENTIALS=${AWS_SVC_ACCT}
 | |
| set -x
 | |
| 
 | |
| ${CLUSTERCTL} init \
 | |
|     --config hack/test/clusterctl.yaml \
 | |
|     --core "cluster-api:v${CAPI_VERSION}" \
 | |
|     --control-plane "talos" \
 | |
|     --infrastructure "aws:v${CAPA_VERSION},gcp:v${CAPG_VERSION}" \
 | |
|     --bootstrap "talos"
 | |
| 
 | |
| # Wait for the talosconfig
 | |
| timeout=$(($(date +%s) + ${TIMEOUT}))
 | |
| until ${KUBECTL} wait --timeout=1s --for=condition=Ready -n ${CABPT_NS} pods --all; do
 | |
|   [[ $(date +%s) -gt $timeout ]] && exit 1
 | |
|   echo 'Waiting to CABPT pod to be available...'
 | |
|   sleep 5
 | |
| done
 |