File tree Expand file tree Collapse file tree 4 files changed +36
-8
lines changed
docs/modules/zookeeper/examples/getting_started/code Expand file tree Collapse file tree 4 files changed +36
-8
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -euo pipefail
33
4+ # DO NOT EDIT THE SCRIPT
5+ # Instead, update the j2 template, and regenerate it for dev:
6+ # cat <<EOF | jinja2 --format yaml getting_started.sh.j2 -o getting_started.sh
7+ # helm:
8+ # repo_name: stackable-dev
9+ # repo_url: https://repo.stackable.tech/repository/helm-dev/
10+ # versions:
11+ # commons: 0.0.0-dev
12+ # listener: 0.0.0-dev
13+ # secret: 0.0.0-dev
14+ # zookeeper: 0.0.0-dev
15+ # EOF
16+
417# This script contains all the code snippets from the guide, as well as some assert tests
518# to test if the instructions in the guide work. The user *could* use it, but it is intended
619# for testing only.
@@ -112,6 +125,7 @@ kubectl describe configmap simple-znode
112125
113126cm_output=$( get_configmap)
114127
128+ # shellcheck disable=SC2181 # wont't fix this now, but ideally we should enable bash strict mode so we can avoid success checks.
115129if [[ $? == 0 ]]; then
116130 echo " ConfigMap retrieved."
117131else
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -euo pipefail
33
4+ # DO NOT EDIT THE SCRIPT
5+ # Instead, update the j2 template, and regenerate it for dev:
6+ # cat <<EOF | jinja2 --format yaml getting_started.sh.j2 -o getting_started.sh
7+ # helm:
8+ # repo_name: stackable-dev
9+ # repo_url: https://repo.stackable.tech/repository/helm-dev/
10+ # versions:
11+ # commons: 0.0.0-dev
12+ # listener: 0.0.0-dev
13+ # secret: 0.0.0-dev
14+ # zookeeper: 0.0.0-dev
15+ # EOF
16+
417# This script contains all the code snippets from the guide, as well as some assert tests
518# to test if the instructions in the guide work. The user *could* use it, but it is intended
619# for testing only.
@@ -112,6 +125,7 @@ kubectl describe configmap simple-znode
112125
113126cm_output=$( get_configmap)
114127
128+ # shellcheck disable=SC2181 # wont't fix this now, but ideally we should enable bash strict mode so we can avoid success checks.
115129if [[ $? == 0 ]]; then
116130 echo " ConfigMap retrieved."
117131else
Original file line number Diff line number Diff line change 1- [INFO ] Installing commons operator in version 0.0.0-dev
2- [INFO ] Installing secret operator in version 0.0.0-dev
3- [INFO ] Installing listener operator in version 0.0.0-dev
4- [INFO ] Installing zookeeper operator in version 0.0.0-dev
1+ Installed commons= 0.0.0-dev operator
2+ Installed secret= 0.0.0-dev operator
3+ Installed listener= 0.0.0-dev operator
4+ Installed zookeeper= 0.0.0-dev operator
Original file line number Diff line number Diff line change 1- [INFO ] Installing commons operator in version {{ versions.commons }}
2- [INFO ] Installing secret operator in version {{ versions.secret }}
3- [INFO ] Installing listener operator in version {{ versions.listener }}
4- [INFO ] Installing zookeeper operator in version {{ versions.zookeeper }}
1+ Installed commons= {{ versions.commons }} operator
2+ Installed secret= {{ versions.secret }} operator
3+ Installed listener= {{ versions.listener }} operator
4+ Installed zookeeper= {{ versions.zookeeper }} operator
You can’t perform that action at this time.
0 commit comments