File tree 4 files changed +36
-8
lines changed
docs/modules/zookeeper/examples/getting_started/code
4 files changed +36
-8
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
set -euo pipefail
3
3
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
+
4
17
# This script contains all the code snippets from the guide, as well as some assert tests
5
18
# to test if the instructions in the guide work. The user *could* use it, but it is intended
6
19
# for testing only.
@@ -112,6 +125,7 @@ kubectl describe configmap simple-znode
112
125
113
126
cm_output=$( get_configmap)
114
127
128
+ # shellcheck disable=SC2181 # wont't fix this now, but ideally we should enable bash strict mode so we can avoid success checks.
115
129
if [[ $? == 0 ]]; then
116
130
echo " ConfigMap retrieved."
117
131
else
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
set -euo pipefail
3
3
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
+
4
17
# This script contains all the code snippets from the guide, as well as some assert tests
5
18
# to test if the instructions in the guide work. The user *could* use it, but it is intended
6
19
# for testing only.
@@ -112,6 +125,7 @@ kubectl describe configmap simple-znode
112
125
113
126
cm_output=$( get_configmap)
114
127
128
+ # shellcheck disable=SC2181 # wont't fix this now, but ideally we should enable bash strict mode so we can avoid success checks.
115
129
if [[ $? == 0 ]]; then
116
130
echo " ConfigMap retrieved."
117
131
else
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