File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
helm-chart/eoapi/templates/pgstacboostrap Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff 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..."
Original file line number Diff line number Diff line change 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 }}
You can’t perform that action at this time.
0 commit comments