Skip to content

Commit

Permalink
change kurator clusters exist wait time
Browse files Browse the repository at this point in the history
Signed-off-by: LiZhenCheng9527 <lizhencheng6@huawei.com>
  • Loading branch information
LiZhenCheng9527 committed Jan 29, 2024
1 parent 330429e commit 84d9716
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ jobs:
uses: azure/setup-helm@v3
with:
version: v3.10.1
# - name: Install Kubectl
# uses: actions-hub/kubectl@v1.27.3
# with:
# KUBE_CONFIG
- name: Init kurator cluster
run: |
hack/e2e-test/install.sh
Expand Down
2 changes: 1 addition & 1 deletion hack/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ function util::check_clusters_ready() {
local context_name=${2}

echo "Waiting for kubeconfig file ${kubeconfig_path} and clusters ${context_name} to be ready..."
util::wait_file_exist "${kubeconfig_path}" 300
util::wait_file_exist "${kubeconfig_path}" 600
util::wait_for_condition 'running' "docker inspect --format='{{.State.Status}}' ${context_name}-control-plane &> /dev/null" 300

kubectl config rename-context "kind-${context_name}" "${context_name}" --kubeconfig="${kubeconfig_path}"
Expand Down

0 comments on commit 84d9716

Please sign in to comment.