From e08bf85edfa4f2fc39862232f301498a15d7c124 Mon Sep 17 00:00:00 2001 From: Yoni Bettan Date: Sat, 8 Jan 2022 11:41:13 +0200 Subject: [PATCH] ci: using --wait helm install flag instead of waiting manually Signed-off-by: Yoni Bettan --- .github/workflows/e2e-k3s.yaml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/e2e-k3s.yaml b/.github/workflows/e2e-k3s.yaml index 5719f169bd..4a2710c6e7 100644 --- a/.github/workflows/e2e-k3s.yaml +++ b/.github/workflows/e2e-k3s.yaml @@ -81,21 +81,15 @@ jobs: run: | helm dependency update deploy/kubernetes/platform helm install signoz deploy/kubernetes/platform/ -n platform --create-namespace \ + --wait --timeout 10m0s \ --set cloud=null \ --set frontend.service.type=LoadBalancer \ --set frontend.image.tag=$TAG \ --set query-service.image.tag=$TAG kubectl describe deploy/signoz-frontend -n platform | grep Image kubectl describe statefulset/signoz-query-service -n platform | grep Image - # comment the next 3 lines if you open an SSH connection for debugging - kubectl -n platform get deploy --output name | xargs -r -n1 -t kubectl -n platform rollout status --timeout=300s - kubectl -n platform get statefulset --output name | xargs -r -n1 -t kubectl -n platform rollout status --timeout=300s - kubectl -n platform get daemonset --output name | xargs -r -n1 -t kubectl -n platform rollout status --timeout=300s kubectl get pods -n platform kubectl get svc -n platform - # Uncomment for debugging using SSH - #- name: Setup upterm session - # uses: lhotari/action-upterm@v1 - name: Kick off a sample-app workload run: | kubectl create ns sample-application