Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't repeat output #437

Merged
merged 1 commit into from
May 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions capz/run-capz-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,9 @@ create_cluster(){

log "Install cluster api azure onto management cluster"
"$TOOLS_BIN_DIR"/clusterctl init --infrastructure azure
log "wait for core CRDs to be installed"
kubectl wait --for=condition=ready pod --all -n capz-system --timeout -300s
# Wait for the core CRD resources to be "installed" onto the mgmt cluster before returning control
log "wait for core CRDs to be installed"
timeout --foreground 300 bash -c "until kubectl get clusters -A > /dev/null 2>&1; do sleep 3; done"
timeout --foreground 300 bash -c "until kubectl get azureclusters -A > /dev/null 2>&1; do sleep 3; done"
timeout --foreground 300 bash -c "until kubectl get kubeadmcontrolplanes -A > /dev/null 2>&1; do sleep 3; done"
Expand All @@ -210,7 +210,7 @@ create_cluster(){
"$TOOLS_BIN_DIR"/clusterctl generate cluster "${CLUSTER_NAME}" --kubernetes-version "$KUBERNETES_VERSION" --from "$SCRIPT_ROOT"/templates/windows-ci.yaml | kubectl apply -f -

log "wait for workload cluster config"
timeout --foreground 300 bash -c "until $TOOLS_BIN_DIR/clusterctl get kubeconfig ${CLUSTER_NAME} > ${CLUSTER_NAME}.kubeconfig; do sleep 3; done"
timeout --foreground 300 bash -c "until $TOOLS_BIN_DIR/clusterctl get kubeconfig ${CLUSTER_NAME} > ${CLUSTER_NAME}.kubeconfig 2>/dev/null; do sleep 3; done"

# copy generated template to logs
mkdir -p "${ARTIFACTS}"/clusters/bootstrap
Expand Down
Loading