Skip to content

Commit 23d1d9c

Browse files
authored
Merge branch 'main' into chore/add-openshift-test-issue-template
2 parents ac9005c + 630b5cd commit 23d1d9c

File tree

2 files changed

+103
-1
lines changed

2 files changed

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

.github/ISSUE_TEMPLATE/release.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ This will not be so crucial with release branches, but is nonetheless sensible a
4545

4646
```[tasklist]
4747
#### Technical tasks
48+
- [ ] Test stackable-utils scripts in dry-run mode (this can be done a week or so before the release)
49+
- [ ] Temporarily remove branch protection before pushing the release branches/tags
4850
- [ ] Create release branches for docker-images (see stackable-utils for script to create branches)
4951
- [ ] Create release tag(s) for docker-images (see stackable-utils for scripts to create tags)
5052
- [ ] Create release branches for operators (see stackable-utils for script to create branches)
@@ -73,7 +75,7 @@ This will not be so crucial with release branches, but is nonetheless sensible a
7375
- [ ] Upgrade guide: List supported k8s versions
7476
- [ ] Update version of main documentation repo
7577
- [ ] Set the release to "Released" in the Feature Tracker and create a new release
76-
- [ ] Update the getting-started page in the main docs and check it works with this release: https://github.com/stackabletech/documentation/blob/main/modules/ROOT/pages/getting_started.adoc
78+
- [ ] Update the getting-started page in the main docs and check it works with this release: https://github.com/stackabletech/documentation/blob/main/modules/ROOT/pages/getting-started.adoc
7779
```
7880

7981
Marketing tasks can now reference published documentation.

0 commit comments

Comments
 (0)