Skip to content

Commit 51d8119

Browse files
committed
chore: Adjust demo upgrade instructions
1 parent 303556a commit 51d8119

File tree

1 file changed

+17
-9
lines changed

1 file changed

+17
-9
lines changed

.github/ISSUE_TEMPLATE/pre-release-nightly-testing.md

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Pre-Release Demo Upgrade Testing from Stable to Nightly
33
about: |
44
This template can be used to track the upgrade testing of demos from stable to nightly leading
55
up to the next Stackable release
6-
title: "chore(tracking): Test demos on nightly versions"
6+
title: "chore(tracking): Test demos on nightly versions for XX.(X)X"
77
labels: ['epic']
88
assignees: ''
99
---
@@ -71,9 +71,17 @@ Replace the items in the task lists below with the applicable Pull Requests (if
7171

7272
These instructions are for deploying the nightly demo, as well as upgrading the operators and CRDS.
7373

74+
<!--
75+
Make sure to update the version mentioned below when creating the issue.
76+
-->
77+
7478
```shell
75-
# Install demo (stable operators)
76-
stackablectl demo install <DEMO_NAME>
79+
# Install demo (stable operators) for the previous release (24.7)
80+
# For now, we have to deploy from the release branch, otherwise we get new changes.
81+
# Stackablectl doesn't yet support deploying a demo from a branch
82+
git checkout release-24.7
83+
git pull
84+
stackablectl --stack-file=stacks/stacks-v2.yaml --demo-file=demos/demos-v2.yaml demo install <DEMO_NAME>
7785

7886
# --- IMPORTANT ---
7987
# Run through the nightly demo instructions (refer to the tasklist below).
@@ -93,23 +101,23 @@ helm list
93101
helm repo add minio https://charts.min.io/
94102
helm repo add bitnami https://charts.bitnami.com/bitnami
95103

96-
# Finally, upgrade the Charts. For example:
104+
# Finally, upgrade the Charts to what is defined in `main`.
105+
# For example:
97106
helm upgrade minio minio/minio --version x.x.x
98107
helm upgrade postgresql-hive bitnami/postgresql --version x.x.x
99108
# --- OPTIONAL END ---
100109

101110
# Uninstall operators
102-
stackablectl release uninstall <CURRENT_RELEASE>
111+
stackablectl release uninstall 24.7
103112

104113
# Update CRDs to nightly version (on main)
105-
# Repeat this for every operator used by the demo
114+
# Repeat this for every operator used by the demo (use the list from the earlier step before deleting the operators)
106115
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/main/deploy/helm/commons-operator/crds/crds.yaml
107116
kubectl replace -f https://raw.githubusercontent.com/stackabletech/...-operator/main/deploy/helm/...-operator/crds/crds.yaml
108117

109-
# Install nightly version of operators (use the list from the earlier step
110-
# before deleting the operators)
118+
# Install nightly version of operators (use the list from the earlier step before deleting the operators)
111119
stackablectl operator install commons ...
112120

113-
# Optionally update the product versions in the CRDs, e.g.:
121+
# Optionally update the product versions in the CRDs (to the latest non-experimental version for the new release), e.g.:
114122
kubectl patch hbaseclusters/hbase --type='json' -p='[{"op": "replace", "path": "/spec/image/productVersion", "value":"x.x.x"}]' # changed
115123
```

0 commit comments

Comments
 (0)