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

[Backport 1.x] build: introduce support for reproducible builds #2038

Merged
merged 1 commit into from
Feb 2, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Feb 2, 2022

Backport 6da253b from #1995

Reproducible builds is an initiative to create an independently-verifiable path from source to binary code [1]. This can be done by:
- Make all archive tasks in gradle reproducible by ignoring timestamp on files [2]
- Preserve the order in side the archives [2]
- Ensure GlobalBuildInfoPlugin.java use [SOURCE_DATE_EPOCH] when available

[SOURCE_DATE_EPOCH]: https://reproducible-builds.org/docs/source-date-epoch/
[1]: https://reproducible-builds.org/
[2]: https://docs.gradle.org/current/userguide/working_with_files.html#sec:reproducible_archives

Signed-off-by: Leonidas Spyropoulos <[email protected]>
(cherry picked from commit 6da253b)
@opensearch-ci-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@nknize nknize added Build Libraries & Interfaces enhancement Enhancement or improvement to existing feature or request v1.3.0 backport PRs or issues specific to backporting features or enhancments labels Feb 2, 2022
@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Check success 953ee5f
Log 2179

Reports 2179

@dblock dblock merged commit d715e18 into 1.x Feb 2, 2022
@VachaShah VachaShah deleted the backport/backport-1995-to-1.x branch February 7, 2022 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport PRs or issues specific to backporting features or enhancments Build Libraries & Interfaces enhancement Enhancement or improvement to existing feature or request v1.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants