Skip to content

Commit a2d68a4

Browse files
committed
chore: Add demo upgrade issue template
1 parent f8ef88d commit a2d68a4

File tree

1 file changed

+115
-0
lines changed

1 file changed

+115
-0
lines changed
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
---
2+
name: Pre-Release Demo Upgrade Testing from Stable to Nightly
3+
about: |
4+
This template can be used to track the upgrade testing of demos from stable to nightly leading
5+
up to the next Stackable release
6+
title: "chore(tracking): Test demos on nightly versions"
7+
labels: ['epic']
8+
assignees: ''
9+
---
10+
11+
<!--
12+
Make sure to update the link in '.github/ISSUE_TEMPLATE/release.md' when
13+
you change the filename.
14+
-->
15+
16+
<!--
17+
DO NOT REMOVE THIS COMMENT. It is intended for people who might copy/paste from the previous release issue.
18+
This was created by an issue template: https://github.com/stackabletech/issues/issues/new/choose.
19+
-->
20+
21+
## Pre-Release Demo Testing on Nightly
22+
23+
Part of <https://github.com/stackabletech/issues/issues/TRACKING_ISSUE>
24+
25+
This is testing:
26+
27+
1. The demos documented in nightly (with the updated product versions) still work.
28+
2. That the operators can be upgraded from the current release to the nightly release and do not
29+
negatively impact the products.
30+
31+
> [!NOTE]
32+
> Record any issues or anomalies during the process in a comment on this issue.
33+
> Eg:
34+
>
35+
> ```plain
36+
> :green_circle: **airflow-scheduled-job**
37+
>
38+
> The CRD had been updated and I needed to change the following in the manifest:
39+
> ...
40+
> ```
41+
42+
Replace the items in the task lists below with the applicable Pull Requests (if any).
43+
44+
<!--
45+
The following list was generated by:
46+
47+
# go to the demos repository, then run:
48+
yq '.demos | keys' demos/demos-v2.yaml \
49+
| sed -e 's/- //g' \
50+
| sort \
51+
| xargs -I {} echo "- [ ] [{}](https://docs.stackable.tech/home/nightly/demos/{})"
52+
-->
53+
54+
```[tasklist]
55+
### Testing Demos on Nightly
56+
- [ ] [airflow-scheduled-job](https://docs.stackable.tech/home/nightly/demos/airflow-scheduled-job)
57+
- [ ] [data-lakehouse-iceberg-trino-spark](https://docs.stackable.tech/home/nightly/demos/data-lakehouse-iceberg-trino-spark)
58+
- [ ] [end-to-end-security](https://docs.stackable.tech/home/nightly/demos/end-to-end-security)
59+
- [ ] [hbase-hdfs-load-cycling-data](https://docs.stackable.tech/home/nightly/demos/hbase-hdfs-load-cycling-data)
60+
- [ ] [jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data](https://docs.stackable.tech/home/nightly/demos/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data)
61+
- [ ] [logging](https://docs.stackable.tech/home/nightly/demos/logging)
62+
- [ ] [nifi-kafka-druid-earthquake-data](https://docs.stackable.tech/home/nightly/demos/nifi-kafka-druid-earthquake-data)
63+
- [ ] [nifi-kafka-druid-water-level-data](https://docs.stackable.tech/home/nightly/demos/nifi-kafka-druid-water-level-data)
64+
- [ ] [signal-processing](https://docs.stackable.tech/home/nightly/demos/signal-processing)
65+
- [ ] [spark-k8s-anomaly-detection-taxi-data](https://docs.stackable.tech/home/nightly/demos/spark-k8s-anomaly-detection-taxi-data)
66+
- [ ] [trino-iceberg](https://docs.stackable.tech/home/nightly/demos/trino-iceberg)
67+
- [ ] [trino-taxi-data](https://docs.stackable.tech/home/nightly/demos/trino-taxi-data)
68+
```
69+
70+
### Testing Instructions
71+
72+
These instructions are for deploying the nightly demo, as well as upgrading the operators and CRDS.
73+
74+
```shell
75+
# Install demo (stable operators)
76+
stackablectl demo install <DEMO_NAME>
77+
78+
# --- IMPORTANT ---
79+
# Run through the nightly demo instructions (refer to the tasklist below).
80+
81+
# Get a list of installed operators
82+
stackablectl operator installed --output=plain
83+
84+
# --- OPTIONAL ---
85+
# Sometimes it is necessary to upgrade Helm charts. Look for other Helm Charts
86+
# which might need updating.
87+
88+
# First, see which charts are installed. You can ignore the stackable-operator
89+
# charts, or anything that might have been installed outside of this demo.
90+
helm list
91+
92+
# Next, add the applicable Helm Chart repositories. For example:
93+
helm repo add minio https://charts.min.io/
94+
helm repo add bitnami https://charts.bitnami.com/bitnami
95+
96+
# Finally, upgrade the Charts. For example:
97+
helm upgrade minio minio/minio --version x.x.x
98+
helm upgrade postgresql-hive bitnami/postgresql --version x.x.x
99+
# --- OPTIONAL END ---
100+
101+
# Uninstall operators
102+
stackablectl release uninstall <CURRENT_RELEASE>
103+
104+
# Update CRDs to nightly version (on main)
105+
# Repeat this for every operator used by the demo
106+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/main/deploy/helm/commons-operator/crds/crds.yaml
107+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/...-operator/main/deploy/helm/...-operator/crds/crds.yaml
108+
109+
# Install nightly version of operators (use the list from the earlier step
110+
# before deleting the operators)
111+
stackablectl operator install commons ...
112+
113+
# Optionally update the product versions in the CRDs, e.g.:
114+
kubectl patch hbaseclusters/hbase --type='json' -p='[{"op": "replace", "path": "/spec/image/productVersion", "value":"x.x.x"}]' # changed
115+
```

0 commit comments

Comments
 (0)