Skip to content

[Merged by Bors] - Fix/docs test nightly to dev #220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
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
17 changes: 11 additions & 6 deletions docs/modules/spark-k8s/examples/getting_started/getting_started.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,23 @@ echo "Adding 'stackable-dev' Helm Chart repository"
# tag::helm-add-repo[]
helm repo add stackable-dev https://repo.stackable.tech/repository/helm-dev/
# end::helm-add-repo[]
echo "Updating Helm repo"
helm repo update

echo "Installing Operators with Helm"
# tag::helm-install-operators[]
helm install --wait commons-operator stackable-dev/commons-operator --version 0.5.0-nightly
helm install --wait secret-operator stackable-dev/secret-operator --version 0.7.0-nightly
helm install --wait spark-k8s-operator stackable-dev/spark-k8s-operator --version 0.7.0-nightly
helm install --wait commons-operator stackable-dev/commons-operator --version 0.0.0-dev
helm install --wait secret-operator stackable-dev/secret-operator --version 0.0.0-dev
helm install --wait spark-k8s-operator stackable-dev/spark-k8s-operator --version 0.0.0-dev
# end::helm-install-operators[]
;;
"stackablectl")
echo "installing Operators with stackablectl"
# tag::stackablectl-install-operators[]
stackablectl operator install \
commons=0.5.0-nightly \
secret=0.7.0-nightly \
spark-k8s=0.7.0-nightly
commons=0.0.0-dev \
secret=0.0.0-dev \
spark-k8s=0.0.0-dev
# end::stackablectl-install-operators[]
;;
*)
Expand Down Expand Up @@ -76,6 +79,8 @@ spec:
EOF
# end::install-sparkapp[]

sleep 15

echo "Waiting for job to complete ..."
# tag::wait-for-job[]
kubectl wait pods -l 'job-name=pyspark-pi' \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ echo "Adding '{{ helm.repo_name }}' Helm Chart repository"
# tag::helm-add-repo[]
helm repo add {{ helm.repo_name }} {{ helm.repo_url }}
# end::helm-add-repo[]
echo "Updating Helm repo"
helm repo update

echo "Installing Operators with Helm"
# tag::helm-install-operators[]
helm install --wait commons-operator {{ helm.repo_name }}/commons-operator --version {{ versions.commons }}
Expand Down Expand Up @@ -76,6 +79,8 @@ spec:
EOF
# end::install-sparkapp[]

sleep 15

echo "Waiting for job to complete ..."
# tag::wait-for-job[]
kubectl wait pods -l 'job-name=pyspark-pi' \
Expand Down
6 changes: 3 additions & 3 deletions docs/templating_vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ helm:
repo_name: stackable-dev
repo_url: https://repo.stackable.tech/repository/helm-dev/
versions:
commons: 0.5.0-nightly
secret: 0.7.0-nightly
spark: 0.7.0-nightly
commons: 0.0.0-dev
secret: 0.0.0-dev
spark: 0.0.0-dev