Skip to content

Commit c41023a

Browse files
chore(nifi): Add 2.4.0, remove 2.2.0 (#1114)
* chore(nifi): Remove 2.2.0 * chore(nifi): Add 2.4.0 * chore: Reorganise the changelog * chore: Remove leftover from revert (#1115) * chore: Bump nifi-iceberg-bundle to 0.0.4 for proper Nifi 2.4.0 support * Apply suggestions from code review Co-authored-by: Sebastian Bernauer <[email protected]> --------- Co-authored-by: Sebastian Bernauer <[email protected]> Co-authored-by: Sebastian Bernauer <[email protected]>
1 parent 7fea119 commit c41023a

7 files changed

+21
-77
lines changed

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ All notable changes to this project will be documented in this file.
2323
`check-permissions-ownership.sh` provided in stackable-base image ([#1041]).
2424
- nifi: check for correct permissions and ownerships in /stackable folder via
2525
`check-permissions-ownership.sh` provided in stackable-base image ([#1027]).
26+
- nifi: Add [nifi-iceberg-bundle] for NiFi `2.4.0` ([#1060], [#1106]).
27+
- nifi: Add `2.4.0` ([#1114]).
2628
- opa: check for correct permissions and ownerships in /stackable folder via
2729
`check-permissions-ownership.sh` provided in stackable-base image ([#1038]).
2830
- opa: Add `1.4.2` ([#1103]).
@@ -35,7 +37,6 @@ All notable changes to this project will be documented in this file.
3537
`check-permissions-ownership.sh` provided in stackable-base image ([#1025]).
3638
- zookeeper: check for correct permissions and ownerships in /stackable folder via
3739
`check-permissions-ownership.sh` provided in stackable-base image ([#1043]).
38-
- nifi: Add [nifi-iceberg-bundle](https://github.com/stackabletech/nifi-iceberg-bundle) for NiFi `2.2.0` ([#1060], [#1106]).
3940
- java: Add JDK 24 ([#1097]).
4041
- ci: Add golang image to mirror workflow ([#1103]).
4142

@@ -81,7 +82,9 @@ All notable changes to this project will be documented in this file.
8182
- opa: Remove `0.67.1` ([#1103]).
8283
- opa: Remove legacy bundle-builder from container build ([#1103]).
8384
- druid: Remove `30.0.0` ([#1110]).
85+
- nifi: Remove `2.2.0` ([#1114]).
8486

87+
[nifi-iceberg-bundle]: https://github.com/stackabletech/nifi-iceberg-bundle
8588
[#1025]: https://github.com/stackabletech/docker-images/pull/1025
8689
[#1027]: https://github.com/stackabletech/docker-images/pull/1027
8790
[#1028]: https://github.com/stackabletech/docker-images/pull/1028
@@ -112,6 +115,7 @@ All notable changes to this project will be documented in this file.
112115
[#1106]: https://github.com/stackabletech/docker-images/pull/1106
113116
[#1108]: https://github.com/stackabletech/docker-images/pull/1108
114117
[#1110]: https://github.com/stackabletech/docker-images/pull/1110
118+
[#1114]: https://github.com/stackabletech/docker-images/pull/1114
115119
[#1116]: https://github.com/stackabletech/docker-images/pull/1116
116120

117121
## [25.3.0] - 2025-03-21

nifi/Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ if [[ "${PRODUCT}" != 1.* ]] ; then
8181
curl "https://github.com/stackabletech/nifi-iceberg-bundle/archive/refs/tags/${NIFI_ICEBERG_BUNDLE}.tar.gz" | tar -xzC .
8282
cd nifi-iceberg-bundle-${NIFI_ICEBERG_BUNDLE} || exit
8383

84+
sed -i -e "s/{{ NIFI_VERSION }}/${PRODUCT}/g" pom.xml
85+
8486
mvn \
8587
--batch-mode \
8688
--no-transfer-progress\

nifi/stackable/patches/2.2.0/0002-Allow-bypassing-check-for-host-header.patch

-62
This file was deleted.
+5-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
From 450dee471deaad0d154cc722b11054ba5fa3a084 Mon Sep 17 00:00:00 2001
2-
From: Malte Sander <[email protected]>
3-
Date: Fri, 17 May 2024 15:38:33 +0200
4-
Subject: Disable zip assembly to save disk space
1+
From cef2caa1141df8974ff853ce3bf55736cc22af4f Mon Sep 17 00:00:00 2001
2+
From: Nick Larsen <[email protected]>
3+
Date: Mon, 17 Feb 2025 17:26:20 +0100
4+
Subject: no zip assembly
55

66
---
77
nifi-assembly/pom.xml | 1 -
88
1 file changed, 1 deletion(-)
99

1010
diff --git a/nifi-assembly/pom.xml b/nifi-assembly/pom.xml
11-
index c04e1c8650..adcecd6206 100644
11+
index 41bab2ad37..4ebb494613 100644
1212
--- a/nifi-assembly/pom.xml
1313
+++ b/nifi-assembly/pom.xml
1414
@@ -66,7 +66,6 @@ language governing permissions and limitations under the License. -->

nifi/stackable/patches/2.2.0/0003-Add-CycloneDX-plugin.patch renamed to nifi/stackable/patches/2.4.0/0002-add-cyclonedx-plugin.patch

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
From 5fb37840eb45dc2b159089e75e2d0ef3054ac03d Mon Sep 17 00:00:00 2001
2-
From: Lukas Voetmand <lukas.voetmand@stackable.tech>
3-
Date: Fri, 6 Sep 2024 17:53:52 +0200
4-
Subject: Add CycloneDX plugin
1+
From a9fc3a2eea5add80ca03e8fba97d83d2952f2e5d Mon Sep 17 00:00:00 2001
2+
From: Nick Larsen <nick.larsen@stackable.tech>
3+
Date: Mon, 17 Feb 2025 17:31:17 +0100
4+
Subject: add cyclonedx plugin
55

66
---
77
pom.xml | 18 ++++++++++++++++++
88
1 file changed, 18 insertions(+)
99

1010
diff --git a/pom.xml b/pom.xml
11-
index 7885e6c208..07e03e66cd 100644
11+
index 78f53a9aab..fdcc97cd51 100644
1212
--- a/pom.xml
1313
+++ b/pom.xml
14-
@@ -1007,6 +1007,24 @@
14+
@@ -1013,6 +1013,24 @@
1515
</rulesets>
1616
</configuration>
1717
</plugin>
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
base = "b33ffac8aa10992482f7fa54e6cfccc46a5e8e27"
21
mirror = "https://github.com/stackabletech/nifi.git"
2+
base = "65c7732e46cdfcb17afe0dd7b0a3e0956226bcbb"

nifi/versions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"java-devel": "11",
1111
},
1212
{
13-
"product": "2.2.0",
13+
"product": "2.4.0",
1414
"java-base": "21",
1515
"java-devel": "21",
16-
"nifi_iceberg_bundle": "0.0.3",
16+
"nifi_iceberg_bundle": "0.0.4",
1717
},
1818
]

0 commit comments

Comments
 (0)