Skip to content

Conversation

@nicoloboschi
Copy link
Contributor

@nicoloboschi nicoloboschi commented Feb 4, 2022

Master issue: #3025

Motivation

BookKeeper has been running with JDK11 for a long time. The official docker image is using JDK11 so it's much better to verify the codebase using JDK11

Changes

  • Update all the checks to using jdk11 temurin distro, except for backward compatibility tests which uses old clients that do no support jdk11

@nicoloboschi
Copy link
Contributor Author

rerun failure checks

@nicoloboschi
Copy link
Contributor Author

rerun failure checks

@nicoloboschi
Copy link
Contributor Author

rerun failure checks

1 similar comment
@nicoloboschi
Copy link
Contributor Author

rerun failure checks

@nicoloboschi
Copy link
Contributor Author

rerun failure checks

1 similar comment
@nicoloboschi
Copy link
Contributor Author

rerun failure checks

@nicoloboschi
Copy link
Contributor Author

@eolivelli @dlg99 @merlimat PTAL

@zymap
Copy link
Member

zymap commented Feb 15, 2022

Can we use a matrix to run both the jdk1.8 and jdk11?

@nicoloboschi
Copy link
Contributor Author

nicoloboschi commented Feb 15, 2022

The matrix adds a significant overhead for every pull request since the tests execution is doubled.
I don't see any relevant motivation to keep the entire CI with both the jdk's.
I left a couple of jobs using JDK8, they ensure JDK8 compile compatibility.

Also, from a mid-term perspective, when we will upgrade to JDK 17 (or next lts) it's not a good idea to duplicate the CI jobs another time.

@nicoloboschi
Copy link
Contributor Author

@dlg99 I think we could merge this before the release branch creation

Copy link
Contributor

@dlg99 dlg99 left a comment

Choose a reason for hiding this comment

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

Awesome!

@eolivelli eolivelli merged commit 1a56bd8 into apache:master Mar 2, 2022
dlg99 added a commit to dlg99/bookkeeper that referenced this pull request Mar 22, 2022
eolivelli pushed a commit that referenced this pull request Mar 24, 2022
* Revert "[build] remove Maven POM files (#3009)"

This reverts commit e089b51.

* rxjava: add maven dependency

(cherry picked from commit ac73541)

* Bring guava to the same version as gradle

* ignore deprecation warnings in tests

* mockito-inline, as in gradle + suppress warnings

* suppressed warning

* Exclude site3/ from RAT check

* CI to use (mostly) maven

* OWASP check with maven

* Up'd versions to match gradle, corrected license files: looks like gradle build didn't force versions consistently

* Removed current-version-image to match #3027

* Shading patetrn to match gradle

* Fixed/suppressed CVEs

* Attempt to fix failing tests in CompactionByEntriesWithMetadataCacheTest

Co-authored-by: lushiji <lushiji@didiglobal.com>
Ghatage pushed a commit to sijie/bookkeeper that referenced this pull request Jul 12, 2024
Ghatage pushed a commit to sijie/bookkeeper that referenced this pull request Jul 12, 2024
* Revert "[build] remove Maven POM files (apache#3009)"

This reverts commit e089b51.

* rxjava: add maven dependency

(cherry picked from commit ac73541)

* Bring guava to the same version as gradle

* ignore deprecation warnings in tests

* mockito-inline, as in gradle + suppress warnings

* suppressed warning

* Exclude site3/ from RAT check

* CI to use (mostly) maven

* OWASP check with maven

* Up'd versions to match gradle, corrected license files: looks like gradle build didn't force versions consistently

* Removed current-version-image to match apache#3027

* Shading patetrn to match gradle

* Fixed/suppressed CVEs

* Attempt to fix failing tests in CompactionByEntriesWithMetadataCacheTest

Co-authored-by: lushiji <lushiji@didiglobal.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants