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

[2.9] Updates common-utils version in integ test script #3018

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

DarshitChanpura
Copy link
Member

Description

  • Category : Maintenance

Issues Resolved

Check List

  • New functionality includes testing
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
@codecov
Copy link

codecov bot commented Jul 17, 2023

Codecov Report

Merging #3018 (c7a37cb) into 2.9 (cc8cce9) will decrease coverage by 0.09%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                2.9    #3018      +/-   ##
============================================
- Coverage     62.30%   62.22%   -0.09%     
+ Complexity     3317     3309       -8     
============================================
  Files           264      264              
  Lines         19468    19468              
  Branches       3326     3326              
============================================
- Hits          12129    12113      -16     
- Misses         5718     5726       +8     
- Partials       1621     1629       +8     

see 11 files with indirect coverage changes

@DarshitChanpura DarshitChanpura changed the title Updates common-utils version in integ test script [2.9] Updates common-utils version in integ test script Jul 17, 2023
@peterzhuamazon
Copy link
Member

Hi,

I just have offline talk with @DarshitChanpura on this and suggest:

  1. Remove -u since the build repo python code never pick that param up.
  2. Make COMMON_UTILS_VERSION env var dynamically taking value from gradle properties so you dont need to manually update every release.
  3. This should be temporarily resolve the issue in jenkins integTest.

Thanks.

@DarshitChanpura DarshitChanpura merged commit d548cd2 into opensearch-project:2.9 Jul 17, 2023
52 of 53 checks passed
DarshitChanpura added a commit that referenced this pull request Aug 9, 2023
…n from build.gradle (#3122)


Fixes integTestRemote task to dynamically fetch common-utils version
from build.gradle instead of hard-coding it in the shell script

* Category : Refactoring

* Why these changes are required?
A temporary fix (#3018) was added to resolve CI failures in RC
generation caused due to out-of-date common-utils version being used in
the sanity test.

### Issues Resolved
Related to comment:
#3018 (comment)

**This changes addresses the issue permanently by modifying
integTestRemote task to fetch the common-utils version dynamically from
build.gradle, and prevent blocking RC builds in future due to such
issue**


Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
DarshitChanpura added a commit to DarshitChanpura/security that referenced this pull request Aug 9, 2023
…n from build.gradle (opensearch-project#3122)

Fixes integTestRemote task to dynamically fetch common-utils version
from build.gradle instead of hard-coding it in the shell script

* Category : Refactoring

* Why these changes are required?
A temporary fix (opensearch-project#3018) was added to resolve CI failures in RC
generation caused due to out-of-date common-utils version being used in
the sanity test.

Related to comment:
opensearch-project#3018 (comment)

**This changes addresses the issue permanently by modifying
integTestRemote task to fetch the common-utils version dynamically from
build.gradle, and prevent blocking RC builds in future due to such
issue**

Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
(cherry picked from commit 46989b5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2.9.0 v2.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants