Skip to content
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

chore: Add pre-release nightly demo testing issue template #609

Merged
merged 6 commits into from
Jul 22, 2024

Conversation

Techassi
Copy link
Member

@Techassi Techassi commented Jul 19, 2024

Part of #602

Preview (on f1bcd78)

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:
...
# Install demo (stable)
stackablectl demo install <DEMO_NAME>

# Get a list of installed operators
stackablectl operator installed

# Sometimes it is necessary to upgrade Helm charts
# First, add the Helm repositories
helm repo add minio https://charts.min.io/
helm repo add bitnami https://charts.bitnami.com/bitnami

# Next, upgrade the charts, i.e.:
helm upgrade minio minio/minio --version x.x.x
helm upgrade postgresql-hive bitnami/postgresql --version x.x.x
helm upgrade postgresql-hive-iceberg bitnami/postgresql --version x.x.x
helm upgrade postgresql-superset bitnami/postgresql --version x.x.x

# Uninstall operators
stackablectl release uninstall <CURRENT_RELEASE>

# 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
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

Copy link
Member

@NickLarsenNZ NickLarsenNZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are also helm upgrades (sometimes)

# add helm repos for upgrades
helm repo add minio https://charts.min.io/
helm repo add bitnami https://charts.bitnami.com/bitnami

# upgrade postgresql and redis versions
helm upgrade minio minio/minio --version 5.2.0
helm upgrade postgresql-hive bitnami/postgresql --version 15.5.16
helm upgrade postgresql-hive-iceberg bitnami/postgresql --version 15.5.16
helm upgrade postgresql-superset bitnami/postgresql --version 15.5.16

Copy link
Member

@NickLarsenNZ NickLarsenNZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hit submit too soon and forgot this in the last review.

@Techassi Techassi requested a review from NickLarsenNZ July 19, 2024 11:48
Copy link
Member

@NickLarsenNZ NickLarsenNZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, last batch, I promise

Copy link
Member

@NickLarsenNZ NickLarsenNZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, one non-blocking nit

@Techassi Techassi merged commit 3efa6cb into main Jul 22, 2024
1 check passed
@Techassi Techassi deleted the chore/add-nightly-demos-issue-template branch July 22, 2024 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants