Skip to content

Remove JDK configuration from CI#492

Merged
orangejulius merged 1 commit intomasterfrom
remove-jdk-configuration
Feb 11, 2025
Merged

Remove JDK configuration from CI#492
orangejulius merged 1 commit intomasterfrom
remove-jdk-configuration

Conversation

@orangejulius
Copy link
Member

For quite some time we have configured a specific version of the JDK in our CI.

As far as I understand it, modern versions of Elasticsearch use a bundled version of the JDK so this configuration may no longer be relevant.

On a practical/security note: it also looks like the scripts used to switch JDK versions are over 4 years old, and just calling a bash script from a 3rd party repository is a bit scary.

I don't see any changes due to the removal of this option, is it possible we don't need it anymore? @missinglink what do you think?

@missinglink
Copy link
Member

Yeah I'm fine to remove this.

The original reason was in order to be able to test different versions of the JDK in a split-test production environment.

I think that can also be achieved through custom Docker files.

For quite some time we have configured a specific version of the JDK in
our CI.

As far as I understand it, modern versions of Elasticsearch use a
bundled version of the JDK so this configuration may no longer be
relevant.

On a practical/security note: it also looks like [the
scripts](https://github.com/michaelklishin/jdk_switcher) used to switch
JDK versions are over 4 years old, and just calling a bash script from a
3rd party repository is a bit scary.

I don't see any changes due to the removal of this option, is it
possible we don't need it anymore?
@orangejulius orangejulius force-pushed the remove-jdk-configuration branch from 7898072 to 45bec95 Compare February 11, 2025 18:37
@orangejulius
Copy link
Member Author

I found this old PR and updated it. Seems like it's still a good thing to merge.

@orangejulius orangejulius merged commit 4d6d74d into master Feb 11, 2025
16 checks passed
@orangejulius orangejulius deleted the remove-jdk-configuration branch February 11, 2025 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants