stackabletech / issues

This repository is only for issues that concern multiple repositories or don't fit into any specific repository
2 stars 0 forks source link

Update products for 24.11 #626

Closed NickLarsenNZ closed 2 months ago

NickLarsenNZ commented 3 months ago

This issue has moved to https://github.com/stackabletech/docker-images/issues/831

The description below will no longer be updated with progress.


[!CAUTION] Please raise DEMO PRs against the next branch so that demos aren't broken (resolved in future by https://github.com/stackabletech/stackable-cockpit/issues/310).

This issue tracks the product versions and the changes we need to do to them in our SDP release 24.11.

The single source of truth for this data is a spreadsheet we filled colaboratively in a planning meeting.

Acceptance

These high level tasks need to be completed.

[!IMPORTANT] At the end, these should be checked based on the more granular criterea for each product/image below.

Base images

[!TIP] The Rust upgrades should be done as and when needed by developers, rather than being tied to the product selection for a release. Also, ensure make run-dev works before bumping the Rust version across the operators.

UBI8 Rust Builder

ubi8-rust-builder

### Related Pull Requests
- [ ] https://github.com/stackabletech/docker-images/pull/794
- [ ] https://github.com/stackabletech/docker-images/pull/807

UBI9 Rust Builder

ubi9-rust-builder

### Related Pull Requests
- [ ] https://github.com/stackabletech/docker-images/pull/794
- [ ] https://github.com/stackabletech/operator-rs/pull/827
- [ ] https://github.com/stackabletech/operator-templating/pull/416
- [ ] https://github.com/stackabletech/operator-templating/issues/415
- [ ] https://github.com/stackabletech/docker-images/pull/807

Vector

[!CAUTION] Any additions to the versions need to be there before updating the java-base.

Used as a base for java-base.

Actions to take:

### Related Pull Requests
- [ ] https://github.com/stackabletech/docker-images/pull/815
- [ ] https://github.com/stackabletech/druid-operator/pull/613 todo: bump to 0.40.1
- [ ] https://github.com/stackabletech/hbase-operator/pull/546 todo: bump to 0.40.1
- [ ] https://github.com/stackabletech/hdfs-operator/pull/572 todo: bump to 0.40.1
- [ ] https://github.com/stackabletech/hive-operator/pull/503 todo: bump to 0.40.1
- [ ] https://github.com/stackabletech/kafka-operator/pull/748 todo: bump to 0.40.1
- [ ] https://github.com/stackabletech/nifi-operator/pull/661 todo: bump to 0.40.1
- [ ] https://github.com/stackabletech/opa-operator/pull/618 todo: bump to 0.40.1
- [ ] https://github.com/stackabletech/spark-k8s-operator/pull/448 todo: bump to 0.40.1
- [ ] https://github.com/stackabletech/superset-operator/pull/526 todo: bump to 0.40.1
- [ ] https://github.com/stackabletech/zookeeper-operator/pull/851 todo: bump to 0.40.1
- [ ] https://github.com/stackabletech/demos/pull/87 todo: bump to 0.40.1

Java Base and Devel

[!CAUTION] Any additions to the java-base or java-devel versions need to be there before updating Java based products.

Actions to take:

### Related Pull Requests
- [ ] _Link to PR_

Stackable Base

stackable-base

### Related Pull Requests
- [ ] https://github.com/stackabletech/docker-images/pull/807

Product Images

Airflow

Actions to take:

### Related Pull Requests
- [ ] https://github.com/stackabletech/docker-images/pull/809
- [ ] https://github.com/stackabletech/airflow-operator/pull/494
- [ ] _Link to other operator PRs (getting_started / kuttl)_
- [ ] https://github.com/stackabletech/demos/pull/90

Druid

Actions to take:

### Related Pull Requests
- [ ] _Link to PR_
- [ ] _Link to operator PR (getting_started / kuttl)_
- [ ] _Link to other operator PRs (getting_started / kuttl)_
- [ ] _Link to demo PR (Do not merge until demos are released)_
- [ ] _Link to [druid-opa-authorizer](https://github.com/stackabletech/druid-opa-authorizer/) PR_

HBase, Phoenix, Omid

Actions to take:

### Related Pull Requests
- [ ] _Link to PR_
- [ ] _Link to operator PR (getting_started / kuttl)_
- [ ] _Link to other operator PRs (getting_started / kuttl)_
- [ ] _Link to demo PR (Do not merge until demos are released)_

HDFS

Actions to take:

### Related Pull Requests
- [ ] _Link to PR_
- [ ] _Link to operator PR (getting_started / kuttl)_
- [ ] _Link to other operator PRs (getting_started / kuttl)_
- [ ] _Link to demo PR (Do not merge until demos are released)_

Hive

Actions to take:

### Related Pull Requests
- [ ] https://github.com/stackabletech/docker-images/pull/818
- [ ] https://github.com/stackabletech/hive-operator/pull/508
- [ ] _Link to other operator PRs (getting_started / kuttl)_
- [ ] _Link to demo PR (Do not merge until demos are released)_

Kafka

Actions to take:

### Related Pull Requests
- [ ] https://github.com/stackabletech/docker-images/pull/813
- [ ] https://github.com/stackabletech/kafka-operator/pull/753
- [ ] _Link to other operator PRs (getting_started / kuttl)_
- [ ] _Link to demo PR (Do not merge until demos are released)_ - **no change to LTS version**

NiFi

Actions to take:

### Related Pull Requests
- [ ] _Link to PR_
- [ ] _Link to operator PR (getting_started / kuttl)_
- [ ] _Link to other operator PRs (getting_started / kuttl)_
- [ ] _Link to demo PR (Do not merge until demos are released)_

OpenPolicyAgent (OPA)

Actions to take:

### Related Pull Requests
- [ ] https://github.com/stackabletech/docker-images/pull/797
- [ ] https://github.com/stackabletech/opa-operator/pull/616
- [ ] _Link to other operator PRs (getting_started / kuttl)_
- [ ] https://github.com/stackabletech/demos/pull/85

Spark

Actions to take:

### Related Pull Requests
- [ ] _Link to PR_
- [ ] _Link to operator PR (getting_started / kuttl)_
- [ ] _Link to other operator PRs (getting_started / kuttl)_
- [ ] _Link to demo PR (Do not merge until demos are released)_

Superset

Actions to take:

### Related Pull Requests
- [ ] _Link to PR_
- [ ] _Link to operator PR (getting_started / kuttl)_
- [ ] _Link to other operator PRs (getting_started / kuttl)_
- [ ] _Link to demo PR (Do not merge until demos are released)_

Trino

Actions to take:

### Related Pull Requests
- [ ] https://github.com/stackabletech/docker-images/pull/822
- [ ] https://github.com/stackabletech/trino-operator/pull/638/
- [ ] https://github.com/stackabletech/demos/pull/93

ZooKeeper

Actions to take:

### Related Pull Requests
- [ ] _Link to PR_
- [ ] _Link to operator PR (getting_started / kuttl)_
- [ ] _Link to other operator PRs (getting_started / kuttl)_
- [ ] _Link to demo PR (Do not merge until demos are released)_
NickLarsenNZ commented 3 months ago

FYI, here is my workflow for the Vector upgrade. It could be helpful to anyone wanting to speed up repetitive tasks:


Find where replacements might be needed. In this this case I'm looking for the Vector chart version 0.34.0.

# cd into an operator or other stackable repo so that the relative paths work
rg -l -- '--version 0\.34\.0' | cut -d'/' -f1 | sed 's/^/pushd ..\//' | sort -r

Produces this list. Run these in a shell to add each directory in a stack in reverse (this will help with using popd to move to the next):

pushd ../zookeeper-operator
pushd ../superset-operator
pushd ../spark-k8s-operator
pushd ../opa-operator
pushd ../nifi-operator
pushd ../kafka-operator
pushd ../hive-operator
pushd ../hdfs-operator
pushd ../hbase-operator
pushd ../druid-operator

Then in each directory:

# stash any existing work
git stash -m "before vector 0.40.0 upgrade"
git checkout main
git pull
git checkout -b vector-0.40.0

# find files that might need changing
rg -l -- '--version 0\.34\.0'

# edit the file, change to chart 0.35.0

# Interactively stage the changes
git add -p

# Using this message will make the PR use the same message
git commit -s -m "chore: Bump Vector to 0.40.0" --no-verify # skip pre-commit hooks for trivial changes
git push

# move to the next repo
popd

Raise a PR with the following template (updating the dependency the link to the applicable docker-image PR for the product/image):

Part of https://github.com/stackabletech/issues/issues/626

```[tasklist]
### Depends on
- [ ] https://github.com/stackabletech/docker-images/pull/802
```

Set:

Create the PR and copy the link...

Refresh this page, and copy link to the this tracking issue.

NickLarsenNZ commented 2 months ago

Use https://github.com/stackabletech/docker-images/issues/831 from now on