Skip to content

Use native git for git-commit-id-plugin to speed up build#10881

Merged
suneet-s merged 6 commits intoapache:masterfrom
2bethere:native_git_id
Feb 12, 2021
Merged

Use native git for git-commit-id-plugin to speed up build#10881
suneet-s merged 6 commits intoapache:masterfrom
2bethere:native_git_id

Conversation

@2bethere
Copy link
Contributor

Currently, git-commit-id-plugin takes a lot of time during the build
image

git-commit-id has support for 'native git', this is a config option. After this change:
image

To use this, added a configuration option in pom file to turn on native git.

@2bethere 2bethere changed the title Native git Use native git for git-commit-id-plugin to speed up build Feb 11, 2021
Copy link
Member

@clintropolis clintropolis left a comment

Choose a reason for hiding this comment

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

🚀

@clintropolis clintropolis added the Area - Dev For items related to the project itself, like dev docs and checklists, but not CI label Feb 12, 2021
@suneet-s
Copy link
Contributor

@2bethere how did you generate those pie charts? And what do the measurements mean?

@2bethere
Copy link
Contributor Author

I used https://github.com/intuit/maven-build-scanner

Original blog:
https://medium.com/@alex_collins/10x-faster-maven-builds-at-intuit-5b7bb60c65e6

The # on the pie chart is cumulative ms during the build.

Copy link
Contributor

@suneet-s suneet-s left a comment

Choose a reason for hiding this comment

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

+1 after CI - I restarted the last flaky test

@suneet-s suneet-s merged commit c8d2654 into apache:master Feb 12, 2021
@clintropolis clintropolis added this to the 0.22.0 milestone Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area - Dev For items related to the project itself, like dev docs and checklists, but not CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants