From 65da349caa4ffb3dafb6cd1e87035fbe65002cc9 Mon Sep 17 00:00:00 2001 From: DongWoo Lee Date: Wed, 4 Jan 2023 23:54:58 -0800 Subject: [PATCH] add more time for pods --- .github/workflows/k3d-log-ci.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/k3d-log-ci.yaml b/.github/workflows/k3d-log-ci.yaml index 6952e91a..c42dd8bc 100644 --- a/.github/workflows/k3d-log-ci.yaml +++ b/.github/workflows/k3d-log-ci.yaml @@ -52,16 +52,17 @@ jobs: # check the auto-generated password for elastic while kubectl get secret btrixlog-es-elastic-user -n btrix-admin -o go-template='{{.data.elastic | base64decode}}'; ret=$?; [ $ret -ne 0 ]; do sleep 5; done - - name: Test Ingress - run: | - curl --retry 10 --retry-delay 5 --retry-connrefused -k https://myhost/kibana - - name: Test Kibana run: | + sleep 30 kubectl port-forward service/btrixlog-kb-http -n btrix-admin 5601:5601 & - sleep 3 - curl --retry 10 --retry-delay 5 --retry-connrefused -k --header "Host: myhost" https://localhost:5601/kibana - + sleep 5 + curl --retry 10 --retry-delay 5 --retry-connrefused -k -v --header "Host: myhost" https://localhost:5601/kibana + + # - name: Test Ingress + # run: | + # curl --retry 10 --retry-delay 5 --retry-connrefused -k https://myhost/kibana + # - name: Clean up # run: | # helm uninstall btrix-admin-log