Skip to content

Commit ae6e29b

Browse files
authored
chore(opensearch): update versions for release 26.7 (#1549)
* Add OpenSearch 3.6.0 * Disable FIPS mode (default) for security manager * review feedback * Revert "review feedback" This reverts commit fe1e8b1. * implement review feedback 2 * rename patch
1 parent a668055 commit ae6e29b

15 files changed

Lines changed: 2098 additions & 1 deletion

jdk-base/boil-config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ vector = "0.55.0"
33

44
[versions."24".local-images]
55
vector = "0.55.0"
6+
7+
[versions."25".local-images]
8+
vector = "0.55.0"

opensearch/boil-config.toml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,34 @@ jdk-base = "24"
6262
"opensearch-system-templates-plugin-version" = "3.4.0.0"
6363
"opensearch-ubi-plugin-version" = "3.4.0.0"
6464
"query-insights-plugin-version" = "3.4.0.0"
65+
66+
[versions."3.6.0".local-images]
67+
java-devel = "25"
68+
jdk-base = "25"
69+
"opensearch/security-plugin" = "3.6.0.0"
70+
"opensearch/opensearch-prometheus-exporter" = "3.6.0.0"
71+
72+
[versions."3.6.0".build-arguments]
73+
"opensearch-alerting-plugin-version" = "3.6.0.0"
74+
"opensearch-job-scheduler-plugin-version" = "3.6.0.0"
75+
"opensearch-anomaly-detection-plugin-version" = "3.6.0.0"
76+
"opensearch-asynchronous-search-plugin-version" = "3.6.0.0"
77+
"opensearch-cross-cluster-replication-plugin-version" = "3.6.0.0"
78+
"opensearch-custom-codecs-plugin-version" = "3.6.0.0"
79+
"opensearch-flow-framework-plugin-version" = "3.6.0.0"
80+
"opensearch-geospatial-plugin-version" = "3.6.0.0"
81+
"opensearch-index-management-plugin-version" = "3.6.0.0"
82+
"opensearch-knn-plugin-version" = "3.6.0.0"
83+
"opensearch-ml-plugin-version" = "3.6.0.0"
84+
"opensearch-neural-search-plugin-version" = "3.6.0.0"
85+
"opensearch-notifications-core-plugin-version" = "3.6.0.0"
86+
"opensearch-notifications-plugin-version" = "3.6.0.0"
87+
"opensearch-observability-plugin-version" = "3.6.0.0"
88+
"opensearch-reports-scheduler-plugin-version" = "3.6.0.0"
89+
"opensearch-search-relevance-plugin-version" = "3.6.0.0"
90+
"opensearch-security-analytics-plugin-version" = "3.6.0.0"
91+
"opensearch-skills-plugin-version" = "3.6.0.0"
92+
"opensearch-sql-plugin-version" = "3.6.0.0"
93+
"opensearch-system-templates-plugin-version" = "3.6.0.0"
94+
"opensearch-ubi-plugin-version" = "3.6.0.0"
95+
"query-insights-plugin-version" = "3.6.0.0"

opensearch/opensearch-prometheus-exporter/boil-config.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@ java-devel = "21"
55
# OpenSearch 3.4.0 bundles JDK 24, but the OpenSearch Prometheus Exporter can only be built with
66
# JDK 21.
77
java-devel = "21"
8+
9+
[versions."3.6.0.0".local-images]
10+
# OpenSearch 3.6.0 bundles JDK 25, but the OpenSearch Prometheus Exporter can only be built with
11+
# JDK 21.
12+
java-devel = "21"
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
From 523bb67bd099d627bd787c66cdb2a9501cf214c7 Mon Sep 17 00:00:00 2001
2+
From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com>
3+
Date: Fri, 19 Jun 2026 11:14:39 +0200
4+
Subject: Add CycloneDX plugin
5+
6+
---
7+
build.gradle | 13 +++++++++++--
8+
1 file changed, 11 insertions(+), 2 deletions(-)
9+
10+
diff --git a/build.gradle b/build.gradle
11+
index a0486c2..e6b1c3f 100644
12+
--- a/build.gradle
13+
+++ b/build.gradle
14+
@@ -30,8 +30,17 @@ buildscript {
15+
}
16+
}
17+
18+
-configurations {
19+
- zipArchive
20+
+plugins {
21+
+ id("org.cyclonedx.bom") version "3.2.4"
22+
+}
23+
+
24+
+cyclonedxBom {
25+
+ // Specified the type of project being built. Defaults to 'library'
26+
+ projectType = org.cyclonedx.model.Component.Type.APPLICATION
27+
+ // Specified the version of the CycloneDX specification to use. Defaults to VERSION_16.
28+
+ schemaVersion = org.cyclonedx.Version.VERSION_16
29+
+ jsonOutput = file("build/reports/cyclonedx/bom.json")
30+
+ xmlOutput.unsetConvention()
31+
}
32+
33+
apply plugin: 'java'
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
mirror = "https://github.com/stackabletech/opensearch-prometheus-exporter"
2+
base = "e270733405f43f40ddd46706713347c8670d6d83"

opensearch/security-plugin/Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,14 @@ cd "$(/stackable/patchable --images-repo-root=src checkout opensearch/security-p
1818

1919
# Create snapshot of the source code including custom patches
2020
tar -czf /stackable/opensearch-security-${PRODUCT_VERSION}-stackable${RELEASE_VERSION}-src.tar.gz .
21-
./gradlew clean assemble -Dbuild.snapshot=false
21+
22+
# Starting with version 3.6.0.0, the security plugin defaults to crypto.standard=FIPS-140-3 (gradle.properties),
23+
# which makes the build treat the BouncyCastle FIPS jars as compileOnly, expecting the OpenSearch core
24+
# distribution to provide them in lib/.
25+
# The Stackable OpenSearch build is not a FIPS build, so it does not ship those jars, and the plugin fails
26+
# at startup with NoClassDefFoundError: org/bouncycastle/jcajce/provider/BouncyCastleFipsProvider.
27+
# Build in non-FIPS mode (-Pcrypto.standard=any-supported) so the plugin bundles its own BouncyCastle jars.
28+
./gradlew clean assemble -Dbuild.snapshot=false -Pcrypto.standard=any-supported
2229
./gradlew cyclonedxBom --warning-mode=summary -Dbuild.snapshot=false
2330
EOF
2431

opensearch/security-plugin/boil-config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ java-devel = "21"
33

44
[versions."3.4.0.0".local-images]
55
java-devel = "24"
6+
7+
[versions."3.6.0.0".local-images]
8+
java-devel = "25"
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
From ef01276e08fe6d84c023bc30bca290def3da69c0 Mon Sep 17 00:00:00 2001
2+
From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com>
3+
Date: Fri, 19 Jun 2026 11:24:38 +0200
4+
Subject: Add CycloneDX plugin
5+
6+
---
7+
build.gradle | 13 +++++++++++++
8+
1 file changed, 13 insertions(+)
9+
10+
diff --git a/build.gradle b/build.gradle
11+
index 89a749af..273208ce 100644
12+
--- a/build.gradle
13+
+++ b/build.gradle
14+
@@ -70,11 +70,24 @@ plugins {
15+
id 'eclipse'
16+
id "com.github.spotbugs" version "6.4.8"
17+
id "com.google.osdetector" version "1.7.3"
18+
+ id "org.cyclonedx.bom" version "3.2.4"
19+
}
20+
21+
allprojects {
22+
group = "org.opensearch"
23+
version = opensearch_build
24+
+
25+
+ cyclonedxDirectBom {
26+
+ includeConfigs = ["runtimeClasspath"]
27+
+ skipConfigs = ["compileClasspath", "testCompileClasspath"]
28+
+ }
29+
+}
30+
+
31+
+cyclonedxBom {
32+
+ includeLicenseText = false
33+
+ projectType = "application"
34+
+ schemaVersion = org.cyclonedx.Version.VERSION_16
35+
+ componentVersion = opensearch_build
36+
}
37+
38+
apply plugin: 'opensearch.opensearchplugin'

0 commit comments

Comments
 (0)