Skip to content

Conversation

@mark-vieira
Copy link
Contributor

This is a follow up to #45347 which didn't actually fix the problem.

Essentially the input normalization technique doesn't work here. Simply including the reaper.jar in the buildSrc.jar will cause the Gradle build classpath to constantly change. The workaround here is to only embed the JAR when building the build-tools.jar. When running inside the Elasticsearch build we instead just find the JAR on the classpath rather then copying it from inside the buildSrc jar itself. To ensure this works for external build-tools users we've introduced some test coverage here for that scenario.

Signed-off-by: Mark Vieira <portugee@gmail.com>
@mark-vieira mark-vieira added the :Delivery/Build Build or test infrastructure label Aug 9, 2019
@mark-vieira mark-vieira requested a review from rjernst August 9, 2019 18:48
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

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

LGTM

@mark-vieira
Copy link
Contributor Author

@elasticmachine run elasticsearch-ci/bwc

@mark-vieira
Copy link
Contributor Author

@elasticmachine update branch

@mark-vieira
Copy link
Contributor Author

@elasticmachine run elasticsearch-ci/1

@mark-vieira mark-vieira merged commit 788fece into elastic:master Aug 10, 2019
mark-vieira added a commit that referenced this pull request Aug 10, 2019
@mark-vieira mark-vieira deleted the reaper-cache-fix branch August 10, 2019 23:29
@pcsanwald
Copy link
Contributor

added v8.0.0 because I noticed this didn't have version label, if this wasn't the right thing to do, please LMK.

@mark-vieira
Copy link
Contributor Author

Thanks, @pcsanwald! I forgot to put the version labels on this one. This was backported to 7.x as well so I've added the correct label there too.

@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team v7.4.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants