feat: update Helm charts to handle Hedera Docker container deterministic image by jeromy-cannon · Pull Request #968 · hashgraph/full-stack-testing · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/support/ci_test.sh
6 changes: 3 additions & 3 deletions charts/fullstack-deployment/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dependencies:
version: 0.2.0
- name: hedera-mirror
repository: https://hashgraph.github.io/hedera-mirror-node/charts
version: 0.110.1
version: 0.111.1
- name: tenant
repository: https://operator.min.io/
version: 5.0.12
Expand All @@ -14,5 +14,5 @@ dependencies:
- name: haproxy-ingress
repository: https://haproxy-ingress.github.io/charts
version: 0.14.5
digest: sha256:0e6897144860871142fd0db8c0a34fc113dc66121aa50c1482e89d932d323af8
generated: "2024-08-09T12:47:26.726721+01:00"
digest: sha256:ca8cade42bbfa3211fde7112cb0998e8c7c86587c9113b10f2cbd209683113b0
generated: "2024-09-06T10:44:29.620625+01:00"
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ spec:
task() {
mkdir -p /opt/hgcapp/recordStreams/record{{ $node.accountId }}/sidecar
chmod 777 /opt/hgcapp/recordStreams/record{{ $node.accountId }}/sidecar
curl network-{{ $node.name }}-0.network-{{ $node.name }}.{{ default $.Release.Namespace $.Values.global.namespaceOverride }}.svc.cluster.local:13133
}
task
failureThreshold: 30
Expand Down Expand Up @@ -537,8 +536,29 @@ spec:
{{- toYaml . | nindent 10 }}
{{- end }}
{{- end }}
{{- if gt $initContainersLength 0 }}
initContainers:
- name: init-hedera
image: curlimages/curl:8.9.1
command:
- "sh"
- "-c"
- |
loop=1
while [ "$loop" -ne 0 ]; do
loop=0;
{{- range $index, $node := $.Values.hedera.nodes }}
nslookup network-{{ $node.name }}-0.network-{{ $node.name }}.{{ default $.Release.Namespace $.Values.global.namespaceOverride }}.svc.cluster.local;
rc=$?;
if [ "$loop" -eq 0 -a "$rc" -eq 0 ]; then
loop=0;
else
loop=1;
fi
{{- end }}
sleep 5;
done
return 0
{{- if gt $initContainersLength 0 }}
{{- toYaml $.Values.hedera.initContainers | nindent 8 }}
{{- end }}
{{ end }}