Skip to content

Commit fc532b2

Browse files
chore: Add a pre-release issue template (#775)
* chore: fix formatting of druid/versions.py * chore: make a pre-release issue template Co-authored-by: Techassi <[email protected]> * Apply suggestions from code review Co-authored-by: Techassi <[email protected]> * ci: temporarily disable running across all file unitl druid/stackable/bin/run-druid is fixed --------- Co-authored-by: Techassi <[email protected]>
1 parent 52806f5 commit fc532b2

File tree

3 files changed

+101
-23
lines changed

3 files changed

+101
-23
lines changed

.github/ISSUE_TEMPLATE/pre-release.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
---
2+
name: Pre-Release Container Image Updates
3+
about: This template can be used to track the container image updates leading up to the next Stackable release
4+
title: "chore: Update Container Images for Stackable Release XX.(X)X"
5+
labels: ['epic']
6+
assignees: ''
7+
---
8+
9+
<!--
10+
DO NOT REMOVE THIS COMMENT. It is intended for people who might copy/paste from the previous release issue.
11+
This was created by an issue template: https://github.com/stackabletech/issues/issues/new/choose.
12+
-->
13+
14+
## Container Image Updates for Stackable Release XX.(X)X
15+
16+
> [!NOTE]
17+
> Update the product versions based on what has been decided upon in the _Product Spreadsheet[^1]_.
18+
19+
[^1]: Currently this is a private spreadsheet
20+
21+
Replace the items in the task lists below with the applicable Pull Requests
22+
23+
<!--
24+
Find any other image directories not covered by the list above:
25+
26+
find . -name "versions.py" \
27+
| cut -d/ -f2 \
28+
| sort \
29+
| xargs -I {} echo "- [ ] https://github.com/stackabletech/docker-images/tree/main/{}/versions.py"
30+
-->
31+
32+
```[tasklist]
33+
### Product Container Images
34+
- [ ] https://github.com/stackabletech/docker-images/tree/main/airflow/versions.py
35+
- [ ] https://github.com/stackabletech/docker-images/tree/main/druid/versions.py
36+
- [ ] https://github.com/stackabletech/docker-images/tree/main/hadoop/versions.py
37+
- [ ] https://github.com/stackabletech/docker-images/tree/main/hbase/versions.py
38+
- [ ] https://github.com/stackabletech/docker-images/tree/main/hello-world/versions.py
39+
- [ ] https://github.com/stackabletech/docker-images/tree/main/hive/versions.py
40+
- [ ] https://github.com/stackabletech/docker-images/tree/main/java-base/versions.py
41+
- [ ] https://github.com/stackabletech/docker-images/tree/main/java-devel/versions.py
42+
- [ ] https://github.com/stackabletech/docker-images/tree/main/kafka/versions.py
43+
- [ ] https://github.com/stackabletech/docker-images/tree/main/kafka-testing-tools/versions.py
44+
- [ ] https://github.com/stackabletech/docker-images/tree/main/kcat/versions.py
45+
- [ ] https://github.com/stackabletech/docker-images/tree/main/krb5/versions.py
46+
- [ ] https://github.com/stackabletech/docker-images/tree/main/nifi/versions.py
47+
- [ ] https://github.com/stackabletech/docker-images/tree/main/omid/versions.py
48+
- [ ] https://github.com/stackabletech/docker-images/tree/main/opa/versions.py
49+
- [ ] https://github.com/stackabletech/docker-images/tree/main/spark-k8s/versions.py
50+
- [ ] https://github.com/stackabletech/docker-images/tree/main/stackable-base/versions.py
51+
- [ ] https://github.com/stackabletech/docker-images/tree/main/superset/versions.py
52+
- [ ] https://github.com/stackabletech/docker-images/tree/main/testing-tools/versions.py
53+
- [ ] https://github.com/stackabletech/docker-images/tree/main/tools/versions.py
54+
- [ ] https://github.com/stackabletech/docker-images/tree/main/trino/versions.py
55+
- [ ] https://github.com/stackabletech/docker-images/tree/main/trino-cli/versions.py
56+
- [ ] https://github.com/stackabletech/docker-images/tree/main/vector/versions.py
57+
- [ ] https://github.com/stackabletech/docker-images/tree/main/zookeeper/versions.py
58+
```
59+
60+
> [!NOTE]
61+
> Generally you will only need to update the rust-toolchain version (`RUST_DEFAULT_TOOLCHAIN_VERSION`).
62+
63+
<!--
64+
Find any other image directories not covered by the list above
65+
66+
comm -3 \
67+
<(find . -name "Dockerfile" | cut -d/ -f2 | sort) \
68+
<(find . -name "versions.py" | cut -d/ -f2 | sort) \
69+
| xargs -I {} echo "- [ ] https://github.com/stackabletech/docker-images/tree/main/{}/Dockerfile"
70+
-->
71+
72+
```[tasklist]
73+
### Other Container Images
74+
- [ ] https://github.com/stackabletech/docker-images/tree/main/ubi8-rust-builder/Dockerfile
75+
- [ ] https://github.com/stackabletech/docker-images/tree/main/ubi9-rust-builder/Dockerfile
76+
```

.github/workflows/pr_pre-commit.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ jobs:
1313
with:
1414
python-version: '3.12'
1515
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
16+
with:
17+
extra_args: "" # Disable --all-files until we have time to fix druid/stackable/bin/run-druid

druid/versions.py

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
versions = [
2-
{
3-
"product": "26.0.0",
4-
"java-base": "11",
5-
"java-devel": "11",
6-
"authorizer": "0.5.0"
7-
},
8-
{
9-
"product": "28.0.1",
10-
# Java 17 should be fully supported as of 27.0.0 https://github.com/apache/druid/releases#27.0.0-highlights-java-17-support
11-
# Did not work in a quick test due to reflection error:
12-
# Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class
13-
# java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError
14-
"java-base": "11",
15-
"java-devel": "11",
16-
"authorizer": "0.5.0"
17-
},
18-
{
19-
"product": "30.0.0",
20-
# https://druid.apache.org/docs/30.0.0/operations/java/
21-
"java-base": "17",
22-
"java-devel": "17",
23-
"authorizer": "0.5.0"
24-
}
2+
{
3+
"product": "26.0.0",
4+
"java-base": "11",
5+
"java-devel": "11",
6+
"authorizer": "0.5.0",
7+
},
8+
{
9+
"product": "28.0.1",
10+
# Java 17 should be fully supported as of 27.0.0 https://github.com/apache/druid/releases#27.0.0-highlights-java-17-support
11+
# Did not work in a quick test due to reflection error:
12+
# Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class
13+
# java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError
14+
"java-base": "11",
15+
"java-devel": "11",
16+
"authorizer": "0.5.0",
17+
},
18+
{
19+
"product": "30.0.0",
20+
# https://druid.apache.org/docs/30.0.0/operations/java/
21+
"java-base": "17",
22+
"java-devel": "17",
23+
"authorizer": "0.5.0",
24+
},
2525
]

0 commit comments

Comments
 (0)