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 2.x] Add support for reproducible builds #499

Merged
merged 1 commit into from
Aug 2, 2022

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport a27d5a2 from #472

@opensearch-trigger-bot opensearch-trigger-bot bot requested a review from a team July 26, 2022 23:16
@codecov-commenter
Copy link

codecov-commenter commented Jul 26, 2022

Codecov Report

Merging #499 (914a3d9) into 2.x (173753f) will increase coverage by 0.04%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                2.x     #499      +/-   ##
============================================
+ Coverage     76.73%   76.78%   +0.04%     
  Complexity      176      176              
============================================
  Files           166      166              
  Lines          8370     8370              
  Branches       1232     1232              
============================================
+ Hits           6423     6427       +4     
+ Misses         1342     1340       -2     
+ Partials        605      603       -2     
Impacted Files Coverage Δ
...destinationmigration/DestinationConversionUtils.kt 70.00% <0.00%> (ø)
...ain/kotlin/org/opensearch/alerting/AlertService.kt 78.46% <0.00%> (+0.47%) ⬆️
...rch/alerting/opensearchapi/OpenSearchExtensions.kt 55.40% <0.00%> (+1.35%) ⬆️
...nationmigration/DestinationMigrationCoordinator.kt 68.08% <0.00%> (+4.25%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us.

As per gradle [docs] add support to remove timestamps and package with same order which is required from
[reproducible] builds

[docs]: https://docs.gradle.org/current/userguide/working_with_files.html#sec:archives
[reproducible]: https://reproducible-builds.org/

Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
(cherry picked from commit a27d5a2)
Signed-off-by: prudhvigodithi <pgodithi@amazon.com>
@prudhvigodithi prudhvigodithi force-pushed the backport/backport-472-to-2.x branch from 8bae1dc to 914a3d9 Compare July 27, 2022 14:09
@AWSHurneyt AWSHurneyt merged commit ec1fc0c into 2.x Aug 2, 2022
@github-actions github-actions bot deleted the backport/backport-472-to-2.x branch August 2, 2022 17:42
AWSHurneyt pushed a commit to AWSHurneyt/OpenSearch-Alerting that referenced this pull request Aug 5, 2022
…rch-project#499)

As per gradle [docs] add support to remove timestamps and package with same order which is required from
[reproducible] builds

[docs]: https://docs.gradle.org/current/userguide/working_with_files.html#sec:archives
[reproducible]: https://reproducible-builds.org/

Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
(cherry picked from commit a27d5a2)
Signed-off-by: prudhvigodithi <pgodithi@amazon.com>

Co-authored-by: Leonidas Spyropoulos <artafinde@gmail.com>
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
eirsep added a commit that referenced this pull request Oct 10, 2022
* Added 2.1 release notes. (#485) (#487)

* Added 2.1 release notes.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Added 2.1 release notes.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
(cherry picked from commit 9f3c393)

Co-authored-by: AWSHurneyt <hurneyt@amazon.com>

* Staging for version increment automation (#489) (#503)

* Version increment automation

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Version increment automation: task rename updateVersion

Signed-off-by: pgodithi <pgodithi@amazon.com>
(cherry picked from commit 3b8bfe7)
Signed-off-by: prudhvigodithi <pgodithi@amazon.com>

Co-authored-by: Prudhvi Godithi <pgodithi@amazon.com>

* Add support for reproducible builds (#472) (#499)

As per gradle [docs] add support to remove timestamps and package with same order which is required from
[reproducible] builds

[docs]: https://docs.gradle.org/current/userguide/working_with_files.html#sec:archives
[reproducible]: https://reproducible-builds.org/

Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
(cherry picked from commit a27d5a2)
Signed-off-by: prudhvigodithi <pgodithi@amazon.com>

Co-authored-by: Leonidas Spyropoulos <artafinde@gmail.com>

* Refactored backwards compatibility tests to point to the OpenSearch 1.1.0.0 zip following deprecation of ODFE. (#510) (#512)

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
(cherry picked from commit fea6b4a)

Co-authored-by: AWSHurneyt <hurneyt@amazon.com>

* Bumping 2.x branch version from 2.1.0 to 2.2.0. Bumped mockito-core version from 4.3.1 to 4.6.1. (#506)

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Added 2.2 release notes. (#514)

* Added 2.2 release notes.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Added 2.2 release notes.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Bumped 2.x branch from version 2.2.0 to 2.3.0. (#547)

* Bumped 2.x branch from version 2.2.0 to 2.3.0.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Bumped mockito core version.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Deprecate the Master nomenclature (#548) (#549)

Signed-off-by: Subhobrata Dey <sbcd90@gmail.com>

* Added 2.3 release notes. (#551)

* Added 2.3 release notes.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Added 2.3 release notes.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* moving over data models from alerting to common-utils (#556)

Signed-off-by: Subhobrata Dey <sbcd90@gmail.com>

* backport monitor datasources to 2.x (#558)

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>

* expose delete monitor api from alerting (#568)

Signed-off-by: Subhobrata Dey <sbcd90@gmail.com>

* Use findings and alerts models, dtos from common utils (#569)

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>

* Disable ktlint for alerting as it has errors on Windows (#570) (#571)

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
(cherry picked from commit 3a844f8)

Co-authored-by: Peter Zhu <zhujiaxi@amazon.com>

* Recreate request object from writeable for Get alerts and get findings (#577)

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>

* Use alerting models and dtos from common-utils dependencies

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>

* port over datasources alert index usage correctly

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
Signed-off-by: Subhobrata Dey <sbcd90@gmail.com>
Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>
Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Co-authored-by: AWSHurneyt <hurneyt@amazon.com>
Co-authored-by: Prudhvi Godithi <pgodithi@amazon.com>
Co-authored-by: Leonidas Spyropoulos <artafinde@gmail.com>
Co-authored-by: Subhobrata Dey <sbcd90@gmail.com>
Co-authored-by: Peter Zhu <zhujiaxi@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants