Skip to content

Commit b3e8fd8

Browse files
authored
docs: fix race-condition in getting-started script (#834)
1 parent b982aa8 commit b3e8fd8

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

‎docs/modules/hbase/examples/getting_started/getting_started.sh‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ case "$1" in
2424
"helm")
2525
echo "Installing Operators with Helm"
2626
# tag::helm-install-operators[]
27-
helm install --wait zookeeper-operator oci://oci.stackable.tech/sdp-charts/zookeeper-operator --version 0.0.0-dev &
28-
helm install --wait hdfs-operator oci://oci.stackable.tech/sdp-charts/hdfs-operator --version 0.0.0-dev &
2927
helm install --wait commons-operator oci://oci.stackable.tech/sdp-charts/commons-operator --version 0.0.0-dev &
3028
helm install --wait secret-operator oci://oci.stackable.tech/sdp-charts/secret-operator --version 0.0.0-dev &
3129
helm install --wait listener-operator oci://oci.stackable.tech/sdp-charts/listener-operator --version 0.0.0-dev &
30+
wait
31+
helm install --wait zookeeper-operator oci://oci.stackable.tech/sdp-charts/zookeeper-operator --version 0.0.0-dev &
32+
helm install --wait hdfs-operator oci://oci.stackable.tech/sdp-charts/hdfs-operator --version 0.0.0-dev &
3233
helm install --wait hbase-operator oci://oci.stackable.tech/sdp-charts/hbase-operator --version 0.0.0-dev &
3334
wait
3435
# end::helm-install-operators[]

‎docs/modules/hbase/examples/getting_started/getting_started.sh.j2‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ case "$1" in
2424
"helm")
2525
echo "Installing Operators with Helm"
2626
# tag::helm-install-operators[]
27-
helm install --wait zookeeper-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/zookeeper-operator --version {{ versions.zookeeper }} &
28-
helm install --wait hdfs-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/hdfs-operator --version {{ versions.hdfs }} &
2927
helm install --wait commons-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/commons-operator --version {{ versions.commons }} &
3028
helm install --wait secret-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/secret-operator --version {{ versions.secret }} &
3129
helm install --wait listener-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/listener-operator --version {{ versions.listener }} &
30+
wait
31+
helm install --wait zookeeper-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/zookeeper-operator --version {{ versions.zookeeper }} &
32+
helm install --wait hdfs-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/hdfs-operator --version {{ versions.hdfs }} &
3233
helm install --wait hbase-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/hbase-operator --version {{ versions.hbase }} &
3334
wait
3435
# end::helm-install-operators[]

0 commit comments

Comments
 (0)