Skip to content

Conversation

dervoeti
Copy link
Member

@dervoeti dervoeti commented Jul 22, 2025

Description

I had to use an older version of the cyclonedx-gradle-plugin for OpenSearch itself, since newer versions caused issues with the version of the com.networknt:json-schema-validator component used by the OpenSearch build process. Updating com.networknt:json-schema-validator to the latest version is also possible (then the most recent version of cyclonedx-gradle-plugin works), but I decided against it to prevent side effect on the OpenSearch build process.

--warning-mode=summary is passed to the cyclonedxBom subcommand to prevent it from failing because of deprecated features. The SBOM is generated correctly, it will probably not work with Gradle 9 but by then newer versions of OpenSearch and the cyclonedx-gradle-plugin might be ready that fix these warnings.

I also moved the COPY line of the security plugin further down to avoid rebuilding OpenSearch when changing something in the plugin.

Definition of Done Checklist

Note

Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant.

Please make sure all these things are done and tick the boxes

  • Changes are OpenShift compatible
  • All added packages (via microdnf or otherwise) have a comment on why they are added
  • Things not downloaded from Red Hat repositories should be mirrored in the Stackable repository and downloaded from there
  • All packages should have (if available) signatures/hashes verified
  • Add an entry to the CHANGELOG.md file
  • Integration tests ran successfully
TIP: Running integration tests with a new product image

The image can be built and uploaded to the kind cluster with the following commands:

bake --product <product> --image-version <stackable-image-version>
kind load docker-image <image-tagged-with-the-major-version> --name=<name-of-your-test-cluster>

See the output of bake to retrieve the image tag for <image-tagged-with-the-major-version>.

@dervoeti dervoeti moved this to Development: Waiting for Review in Stackable Engineering Jul 22, 2025
@dervoeti dervoeti self-assigned this Jul 22, 2025
@dervoeti dervoeti requested a review from labrenbe July 22, 2025 08:35
Copy link
Member

@labrenbe labrenbe left a comment

Choose a reason for hiding this comment

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

Thanks!

@labrenbe labrenbe merged commit 9ee4c40 into feat/opensearch Jul 22, 2025
2 checks passed
@labrenbe labrenbe deleted the feat/opensearch-sboms branch July 22, 2025 09:05
@labrenbe labrenbe moved this from Development: Waiting for Review to Development: Done in Stackable Engineering Jul 22, 2025
@lfrancke lfrancke moved this from Development: Done to Done in Stackable Engineering Jul 28, 2025
github-merge-queue bot pushed a commit that referenced this pull request Aug 1, 2025
* feat(opensearch): Add OpenSearch image

* feat(opensearch): Change JDK to version 17

* feat(jdk-base): Create a jdk-base image for OpenSearch

* feat(opensearch): Upgrade to version 2.19.0

* feat(opensearch): Upgrade to version 2.19.1 and install the plugin repository-s3

* wip: build from source

* feat: SBOMs for OpenSearch and opensearch-security-plugin (#1211)

feat: SBOMs for opensearch

* fix file structure in image and make multi-arch compatible

* install performance analyzer plugin

* remove legacy apply-patches file

* add changelog entry

* build plugins from source and stop building snapshots

* replace performance analyzer with telemetry-otel & address PR feedback

* simplify build process

* address feedback in PR

* fix copypaste errors

* add stackable-devel to build dependencies

---------

Co-authored-by: Siegfried Weber <mail@siegfriedweber.net>
Co-authored-by: Lukas Krug <lukas.voetmand@stackable.tech>
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