From 9432fbf42e8da18ce2b7af0b76c7212faf687a7f Mon Sep 17 00:00:00 2001 From: Karan Kumar Date: Thu, 22 Aug 2024 18:44:41 +0530 Subject: [PATCH] increase rollout time for tekton to 3m Signed-off-by: Sascha Schwarze --- .github/workflows/ci.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6293f0737..31faa7574 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -120,8 +120,12 @@ jobs: TEKTON_VERSION: ${{ matrix.tekton }} run: | make kind-tekton - kubectl -n tekton-pipelines rollout status deployment tekton-pipelines-controller --timeout=1m - kubectl -n tekton-pipelines rollout status deployment tekton-pipelines-webhook --timeout=1m + if ! kubectl -n tekton-pipelines rollout status deployment tekton-pipelines-controller --timeout=3m; then + echo "[ERROR] Tekton installation did not complete. Debug info:" + kubectl -n tekton-pipelines get pod -o wide + exit 1 + fi + kubectl -n tekton-pipelines rollout status deployment tekton-pipelines-webhook --timeout=3m - name: Test run: | # host.docker.internal does not work in a GitHub action @@ -203,8 +207,12 @@ jobs: TEKTON_VERSION: ${{ matrix.tekton }} run: | make kind-tekton - kubectl -n tekton-pipelines rollout status deployment tekton-pipelines-controller --timeout=1m - kubectl -n tekton-pipelines rollout status deployment tekton-pipelines-webhook --timeout=1m + if ! kubectl -n tekton-pipelines rollout status deployment tekton-pipelines-controller --timeout=3m; then + echo "[ERROR] Tekton installation did not complete. Debug info:" + kubectl -n tekton-pipelines get pod -o wide + exit 1 + fi + kubectl -n tekton-pipelines rollout status deployment tekton-pipelines-webhook --timeout=3m - name: Install Registry run: | kubectl apply -f test/data/registry.yaml