-
Notifications
You must be signed in to change notification settings - Fork 0
chore: Add pre-release nightly demo testing issue template #609
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
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
6bd8007
chore: Add pre-release nightly demo testing issue template
Techassi 1ba5d9f
Apply suggestions
Techassi 3a9ef57
chore: Add command to list installed operators
Techassi f1bcd78
chore: Add Helm update commands
Techassi 6569488
Apply suggestions
Techassi 70794e3
chore: Adjust optional Helm update commands
Techassi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
--- | ||
name: Pre-Release Demo Upgrade Testing from Stable to Nightly | ||
about: This template can be used to track the upgrade testing of demos from stable to nightly leading up to the next Stackable release | ||
title: "chore(tracking): Test demos on nightly versions" | ||
labels: ['epic'] | ||
assignees: '' | ||
--- | ||
|
||
<!-- | ||
Make sure to update the link in '.github/ISSUE_TEMPLATE/release.md' when | ||
you change the front matter above. | ||
--> | ||
|
||
<!-- | ||
DO NOT REMOVE THIS COMMENT. It is intended for people who might copy/paste from the previous release issue. | ||
This was created by an issue template: https://github.com/stackabletech/issues/issues/new/choose. | ||
--> | ||
|
||
## Pre-Release Demo Testing on Nightly | ||
|
||
Part of <https://github.com/stackabletech/issues/issues/TRACKING_ISSUE> | ||
|
||
For each demo, run the following commands: | ||
|
||
> [!NOTE] | ||
> Record any issues or anomalies during the process in a comment on this issue. | ||
> Eg: | ||
> ``` | ||
> :green_circle: **airflow-scheduled-job** | ||
> | ||
> The CRD had been updated and I needed to change the following in the manifest: | ||
> ... | ||
> ``` | ||
|
||
```shell | ||
Techassi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
# Install demo (stable) | ||
stackablectl demo install <DEMO_NAME> | ||
|
||
# Get a list of installed operators | ||
stackablectl operator installed --output=plain | ||
|
||
# --- OPTIONAL --- | ||
# Sometimes it is necessary to upgrade Helm charts. Look for other Helm Charts | ||
# which might need updating. | ||
|
||
# First, see which charts are installed. You can ignore the stackable-operator | ||
# charts, or anything that might have been installed outside of this demo. | ||
helm list | ||
|
||
# Next, add the applicable Helm Chart repositories. For example: | ||
helm repo add minio https://charts.min.io/ | ||
helm repo add bitnami https://charts.bitnami.com/bitnami | ||
|
||
# Finally, upgrade the Charts. For example: | ||
helm upgrade minio minio/minio --version x.x.x | ||
helm upgrade postgresql-hive bitnami/postgresql --version x.x.x | ||
# --- OPTIONAL END --- | ||
|
||
# Uninstall operators | ||
stackablectl release uninstall <CURRENT_RELEASE> | ||
NickLarsenNZ marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
# Update CRDs to nightly version (on main) | ||
# Repeat this for every operator used by the demo | ||
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/main/deploy/helm/commons-operator/crds/crds.yaml | ||
Techassi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
kubectl replace -f https://raw.githubusercontent.com/stackabletech/...-operator/main/deploy/helm/...-operator/crds/crds.yaml | ||
|
||
# Install nightly version of operators (use the list from the earlier step | ||
# before deleting the operators) | ||
stackablectl operator install commons ... | ||
|
||
# Optionally update the product versions in the CRDs, e.g.: | ||
kubectl patch hbaseclusters/hbase --type='json' -p='[{"op": "replace", "path": "/spec/image/productVersion", "value":"x.x.x"}]' # changed | ||
|
||
``` | ||
|
||
<!-- | ||
The following list was generated by: | ||
|
||
# go to the demos repository, then run: | ||
yq '.demos | keys' demos/demos-v2.yaml \ | ||
| sed -e 's/- //g' \ | ||
| sort \ | ||
| xargs -I {} echo "- [ ] [{}](https://docs.stackable.tech/home/nightly/demos/{})" | ||
--> | ||
|
||
```[tasklist] | ||
### Testing Demos on Nightly | ||
- [ ] [airflow-scheduled-job](https://docs.stackable.tech/home/nightly/demos/airflow-scheduled-job) | ||
- [ ] [data-lakehouse-iceberg-trino-spark](https://docs.stackable.tech/home/nightly/demos/data-lakehouse-iceberg-trino-spark) | ||
- [ ] [end-to-end-security](https://docs.stackable.tech/home/nightly/demos/end-to-end-security) | ||
- [ ] [hbase-hdfs-load-cycling-data](https://docs.stackable.tech/home/nightly/demos/hbase-hdfs-load-cycling-data) | ||
- [ ] [jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data](https://docs.stackable.tech/home/nightly/demos/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data) | ||
- [ ] [logging](https://docs.stackable.tech/home/nightly/demos/logging) | ||
- [ ] [nifi-kafka-druid-earthquake-data](https://docs.stackable.tech/home/nightly/demos/nifi-kafka-druid-earthquake-data) | ||
- [ ] [nifi-kafka-druid-water-level-data](https://docs.stackable.tech/home/nightly/demos/nifi-kafka-druid-water-level-data) | ||
- [ ] [signal-processing](https://docs.stackable.tech/home/nightly/demos/signal-processing) | ||
- [ ] [spark-k8s-anomaly-detection-taxi-data](https://docs.stackable.tech/home/nightly/demos/spark-k8s-anomaly-detection-taxi-data) | ||
- [ ] [trino-iceberg](https://docs.stackable.tech/home/nightly/demos/trino-iceberg) | ||
- [ ] [trino-taxi-data](https://docs.stackable.tech/home/nightly/demos/trino-taxi-data) | ||
``` |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.