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

Ensure dependency report task depends on upstream reporting tasks #56853

Merged
merged 1 commit into from
May 18, 2020

Conversation

mark-vieira
Copy link
Contributor

When the release manager generates the dependencies report, it does so as a single execution of ./gradlew dependenciesInfo :distribution:generateDependenciesReport. The issue with this is that the later task has no dependency, or ordering rule on the former. Couple that with parallel task execution and you run into an issue where we generate incomplete dependency reports.

This PR fixes this issue by adding the correct task dependencies here. Now running ./gradlew generateDependenciesReport is sufficient enough to enough all individual project reports are created before concatenating them into the single master report.

cc @mgreau

Closes https://github.com/elastic/infra/issues/20424

@mark-vieira mark-vieira added the :Delivery/Build Build or test infrastructure label May 15, 2020
@mark-vieira mark-vieira requested a review from rjernst May 15, 2020 22:14
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Build)

@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label May 15, 2020
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 mark-vieira merged commit 3555a94 into elastic:master May 18, 2020
@mark-vieira mark-vieira deleted the dependency-report-fix branch May 18, 2020 14:19
@mark-vieira mark-vieira added Team:Delivery Meta label for Delivery team and removed Team:Core/Infra Meta label for core/infra team labels 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.7.1 v7.8.1 v7.9.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants