Skip to content

[7.x] config time improvements#54994

Merged
mark-vieira merged 1 commit intoelastic:7.xfrom
mark-vieira:7.x-config-time-improvements
Apr 8, 2020
Merged

[7.x] config time improvements#54994
mark-vieira merged 1 commit intoelastic:7.xfrom
mark-vieira:7.x-config-time-improvements

Conversation

@mark-vieira
Copy link
Copy Markdown
Contributor

Backport of #54611

This commit includes a number of changes to reduce overall build
configuration time. These optimizations include:

- Removing the usage of the 'nebula.info-scm' plugin. This plugin
   leverages jgit to load read various pieces of VCS information. This
   is mostly overkill and we have our own minimal implementation for
   determining the current commit id.
- Removing unnecessary build dependencies such as perforce and jgit
   now that we don't need them. This reduces our classpath considerably.
- Expanding the usage lazy task creation, particularly in our
   distribution projects. The archives and packages projects create
   lots of tasks with very complex configuration. Avoiding the creation
   of these tasks at configuration time gives us a nice boost.
@mark-vieira mark-vieira added :Delivery/Build Build or test infrastructure backport v7.8.0 labels Apr 8, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

@mark-vieira mark-vieira merged commit dd73a14 into elastic:7.x Apr 8, 2020
@mark-vieira mark-vieira deleted the 7.x-config-time-improvements branch April 8, 2020 23:47
mark-vieira added a commit that referenced this pull request Apr 8, 2020
This commit includes a number of changes to reduce overall build
configuration time. These optimizations include:

- Removing the usage of the 'nebula.info-scm' plugin. This plugin
   leverages jgit to load read various pieces of VCS information. This
   is mostly overkill and we have our own minimal implementation for
   determining the current commit id.
- Removing unnecessary build dependencies such as perforce and jgit
   now that we don't need them. This reduces our classpath considerably.
- Expanding the usage lazy task creation, particularly in our
   distribution projects. The archives and packages projects create
   lots of tasks with very complex configuration. Avoiding the creation
   of these tasks at configuration time gives us a nice boost.
@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

backport :Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team v7.8.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants