Skip to content

Commit

Permalink
don't repeat output
Browse files Browse the repository at this point in the history
Signed-off-by: James Sturtevant <[email protected]>
  • Loading branch information
jsturtevant committed May 31, 2024
1 parent 634ceb7 commit 2094a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capz/run-capz-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2094a46

Please sign in to comment.