Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gradle] Make rolling upgrade tests configuration cache compatible #119577

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

breskeby
Copy link
Contributor

@breskeby breskeby commented Jan 6, 2025

With this, all rolling upgrade tests that involve a nextNodeToNextVersion update are gradle configuration cache compatible.

Simplify API around test cluster registry and cc compatible usage of test cluster in TestClusterAware tasks.

@breskeby breskeby requested a review from a team as a code owner January 6, 2025 11:29
@breskeby breskeby added >non-issue :Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team auto-backport Automatically create backport pull requests when merged v9.0.0 v8.17.1 v8.18.0 v8.16.3 labels Jan 6, 2025
@breskeby breskeby self-assigned this Jan 6, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-delivery (Team:Delivery)

@breskeby
Copy link
Contributor Author

breskeby commented Jan 6, 2025

Example run with configuration cache enabled: https://gradle-enterprise.elastic.co/s/4xkjqhtp4wgdg
Example run without configuration cache: https://gradle-enterprise.elastic.co/s/elvtqyfrsilyy

@breskeby breskeby marked this pull request as draft January 6, 2025 11:41
@breskeby breskeby force-pushed the rolling-upgrade-cc-compatibility branch from c6e6ba3 to b153a40 Compare January 6, 2025 11:42
@@ -26,7 +26,7 @@ public interface TestClustersAware extends Task {
Collection<ElasticsearchCluster> getClusters();

@ServiceReference(REGISTRY_SERVICE_NAME)
Property<TestClustersRegistry> getRegistery();
Property<TestClustersRegistry> getRegistry();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

fix typo on the way

@breskeby breskeby force-pushed the rolling-upgrade-cc-compatibility branch 3 times, most recently from 38ba572 to f095bb1 Compare January 7, 2025 17:45
@breskeby breskeby marked this pull request as ready for review January 7, 2025 19:55
systemProperty 'tests.bwc_nodes_version', bwcVersion.toString().replace('-SNAPSHOT', '')
systemProperty 'tests.new_nodes_version', project.version.toString().replace('-SNAPSHOT', '')
// onlyIf("BWC tests disabled") { project.bwc_tests_enabled }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

reinstantiated as we walk by

@breskeby breskeby force-pushed the rolling-upgrade-cc-compatibility branch from d08c6c6 to 0f25872 Compare January 7, 2025 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged :Delivery/Build Build or test infrastructure >non-issue Team:Delivery Meta label for Delivery team v8.16.4 v8.17.2 v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants