Skip to content

Commit 402082c

Browse files
committed
Added more output.
1 parent c7b4754 commit 402082c

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/helm-tests.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@ jobs:
9393
-f ./eoapi/test-k3s-unittest-values.yaml \
9494
./eoapi
9595
96+
- name: get k8s resources
97+
run: |
98+
kubectl get pods
99+
kubectl get jobs
100+
96101
- name: sleep for 10s seconds while services boot
97102
shell: bash
98103
run: sleep 10s
@@ -112,15 +117,20 @@ jobs:
112117
echo "raster service has started, moving on..."
113118
while [[ -z "$(kubectl get pod | grep "^vector-$RELEASE_NAME-.*$" | cut -d' ' -f1 | xargs -I{} kubectl logs pod/{} | grep "GET /healthz" | head -n 1)" ]]; do
114119
echo "still waiting for vector service to start..."
120+
kubectl get svc -l postgres-operator.crunchydata.com/role=pgbouncer | cat
121+
kubectl get pods
122+
kubectl get jobs
115123
sleep 1
116124
done
117125
echo "vector service has started, moving on..."
118126
while [[ -z "$(kubectl get pod | grep "^stac-$RELEASE_NAME-.*$" | cut -d' ' -f1 | xargs -I{} kubectl logs pod/{} | grep "GET /_mgmt/ping" | head -n 1)" ]]; do
119127
echo "still waiting for stac service to start..."
128+
kubectl get pods
129+
kubectl get jobs
120130
sleep 1
121131
done
122132
echo "all services have started, moving on..."
123-
133+
124134
- name: cleanup if services fail to boot
125135
if: steps.watchservices.outcome == 'failure'
126136
run: |

0 commit comments

Comments
 (0)