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
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
#!/usr/bin/env bash
set -euo pipefail

# DO NOT EDIT THE SCRIPT
# Instead, update the j2 template, and regenerate it for dev:
# cat <<EOF | jinja2 --format yaml getting_started.sh.j2 -o getting_started.sh
# helm:
# repo_name: stackable-dev
# repo_url: https://repo.stackable.tech/repository/helm-dev/
# versions:
# commons: 0.0.0-dev
# listener: 0.0.0-dev
# secret: 0.0.0-dev
# zookeeper: 0.0.0-dev
# EOF

# This script contains all the code snippets from the guide, as well as some assert tests
# to test if the instructions in the guide work. The user *could* use it, but it is intended
# for testing only.
Expand Down Expand Up @@ -112,6 +125,7 @@ kubectl describe configmap simple-znode

cm_output=$(get_configmap)

# shellcheck disable=SC2181 # wont't fix this now, but ideally we should enable bash strict mode so we can avoid success checks.
if [[ $? == 0 ]]; then
echo "ConfigMap retrieved."
else
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
#!/usr/bin/env bash
set -euo pipefail

# DO NOT EDIT THE SCRIPT
# Instead, update the j2 template, and regenerate it for dev:
# cat <<EOF | jinja2 --format yaml getting_started.sh.j2 -o getting_started.sh
# helm:
# repo_name: stackable-dev
# repo_url: https://repo.stackable.tech/repository/helm-dev/
# versions:
# commons: 0.0.0-dev
# listener: 0.0.0-dev
# secret: 0.0.0-dev
# zookeeper: 0.0.0-dev
# EOF

# This script contains all the code snippets from the guide, as well as some assert tests
# to test if the instructions in the guide work. The user *could* use it, but it is intended
# for testing only.
Expand Down Expand Up @@ -112,6 +125,7 @@ kubectl describe configmap simple-znode

cm_output=$(get_configmap)

# shellcheck disable=SC2181 # wont't fix this now, but ideally we should enable bash strict mode so we can avoid success checks.
if [[ $? == 0 ]]; then
echo "ConfigMap retrieved."
else
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[INFO ] Installing commons operator in version 0.0.0-dev
[INFO ] Installing secret operator in version 0.0.0-dev
[INFO ] Installing listener operator in version 0.0.0-dev
[INFO ] Installing zookeeper operator in version 0.0.0-dev
Installed commons=0.0.0-dev operator
Installed secret=0.0.0-dev operator
Installed listener=0.0.0-dev operator
Installed zookeeper=0.0.0-dev operator
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[INFO ] Installing commons operator in version {{ versions.commons }}
[INFO ] Installing secret operator in version {{ versions.secret }}
[INFO ] Installing listener operator in version {{ versions.listener }}
[INFO ] Installing zookeeper operator in version {{ versions.zookeeper }}
Installed commons={{ versions.commons }} operator
Installed secret={{ versions.secret }} operator
Installed listener={{ versions.listener }} operator
Installed zookeeper={{ versions.zookeeper }} operator