Skip to content

Commit f37d0ed

Browse files
committed
chore(getting-started): add warning to generated script
1 parent 5a1e5e5 commit f37d0ed

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

docs/modules/zookeeper/examples/getting_started/code/getting_started.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
#!/usr/bin/env bash
22
set -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.

docs/modules/zookeeper/examples/getting_started/code/getting_started.sh.j2

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
#!/usr/bin/env bash
22
set -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.

0 commit comments

Comments
 (0)