|
| 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 | +``` |
0 commit comments