File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed
helm-chart/eoapi/templates/services Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -74,14 +74,20 @@ jobs:
7474 oci://registry.developers.crunchydata.com/crunchydata/pgo \
7575 --version ${{ env.PGO_VERSION }}
7676
77- - name : helm render/install eoapi templates
77+ - name : helm output for debugging
7878 run : |
79- export GITSHA='${{github.sha}}'
80-
8179 cd helm-chart
82-
8380 helm dependency build eoapi
81+ helm template $RELEASE_NAME \
82+ -f ./eoapi/values.yaml \
83+ -f ./eoapi/test-k3s-unittest-values.yaml \
84+ ./eoapi
8485
86+ - name : helm render and install eoapi templates
87+ run : |
88+ export GITSHA='${{github.sha}}'
89+ cd helm-chart
90+ helm dependency upgrade eoapi
8591 helm install $RELEASE_NAME \
8692 -f ./eoapi/values.yaml \
8793 -f ./eoapi/test-k3s-unittest-values.yaml \
Original file line number Diff line number Diff line change 3939 - -c
4040 - |
4141 echo "Waiting for pgstacbootstrap job to complete..."
42+ {{- if $.Values.testing }}
43+ while ! kubectl -n {{ $.Release.Namespace }} wait --for=condition=complete job/{{ include "eoapi.pgstacHostName" $ }} --timeout=5s; do
44+ {{- else }}
4245 while ! kubectl -n {{ $.Release.Namespace }} wait --for=condition=complete job/pgstacbootstrap --timeout=5s; do
46+ {{- end }}
4347 echo "pgstacbootstrap job not completed yet. Checking again in 10 seconds..."
4448 sleep 10
4549 done
You can’t perform that action at this time.
0 commit comments