Skip to content

Commit 7e39cb7

Browse files
committed
foo
1 parent 047ef9b commit 7e39cb7

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/helm-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ jobs:
111111
echo "vector service has started, moving on..."
112112
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
113113
echo "still waiting for stac service to start..."
114+
kubectl get pods
115+
kubectl get jobs
116+
kubectl get svc
114117
sleep 1
115118
done
116119
echo "all services have started, moving on..."

helm-chart/eoapi/templates/pgstacboostrap/job.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ spec:
1717
- name: wait-for-db
1818
image: busybox
1919
command:
20+
{{ if .Values.testing }}
21+
['sh', '-c', 'until nc -z {{ $.Release.Name }}-pgbouncer 5432; do echo waiting for db; sleep 10; done;']
22+
{{ else }}
2023
['sh', '-c', 'until nc -z eoapi-pgbouncer 5432; do echo waiting for db; sleep 10; done;']
24+
{{ end }}
2125
containers:
2226
- name: pgstacbootstrap
2327
image: {{ .Values.pgstacBootstrap.image.name }}:{{ .Values.pgstacBootstrap.image.tag }}

0 commit comments

Comments
 (0)