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

Fix build to succeed with opensearch_version provided #52

Merged
merged 1 commit into from
Aug 20, 2021

Conversation

mch2
Copy link
Member

@mch2 mch2 commented Aug 20, 2021

Signed-off-by: Marc Handalian [email protected]

Is your feature request related to a problem? Please provide an existing Issue # , or describe.
The build is failing when opensearch version specified is not the same as the default value.

Describe the solution you are proposing
The cause of this problem is updateShas is invoked, which is a task in this project, during the doLast step of the buildRCA task. This task is not invoked with any properties passed in during the initial build command.
This change will execute this directly with finalizedBy instead of using doLast and executing from the command line.

Describe alternatives you've considered
passing the version string down to doLast. I would rather directly invoke the task without executing from shell.

closes #51

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • [ x] 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.

@mch2 mch2 force-pushed the fixVersionFlag branch 2 times, most recently from ed07f22 to cd5077c Compare August 20, 2021 06:32
@codecov-commenter
Copy link

Codecov Report

Merging #52 (eb9dfc8) into main (83aafb1) will not change coverage.
The diff coverage is n/a.

❗ Current head eb9dfc8 differs from pull request most recent head cd5077c. Consider uploading reports for the commit cd5077c to get more accurate results
Impacted file tree graph

@@            Coverage Diff            @@
##               main      #52   +/-   ##
=========================================
  Coverage     72.18%   72.18%           
  Complexity      356      356           
=========================================
  Files            44       44           
  Lines          2509     2509           
  Branches        160      160           
=========================================
  Hits           1811     1811           
  Misses          592      592           
  Partials        106      106           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 83aafb1...cd5077c. Read the comment docs.

@sruti1312 sruti1312 merged commit bcdbc22 into opensearch-project:main Aug 20, 2021
@mch2 mch2 deleted the fixVersionFlag branch August 20, 2021 16:50
sruti1312 pushed a commit that referenced this pull request Aug 25, 2021
sruti1312 added a commit that referenced this pull request Aug 25, 2021
* Create writer file if metrics are available (#31)

Signed-off-by: Sruti Parthiban <[email protected]>

* Add tests to check for writer file only if metrics are present (#35)

Signed-off-by: Sruti Parthiban <[email protected]>

* Merge pull request #36 from opensearch-project/khushbr-writer-purge-fix

Fixing Event Log file cleanup issue

* Moving deleteAllFiles() to inside scheduleExecutor()

* Fixing the Link Checker errors, updating the official documentation

* nit: Fixing spotlessJava indentation issue

* Merge pull request #37 from khushbr/feature/purge-fix

Handling purging of lingering files before scheduleExecutor start.

* Fix failing file handler test (#38)

Signed-off-by: Sruti Parthiban <[email protected]>

* Remove dependency on main branch when running spotless. (#47)

Signed-off-by: Marc Handalian <[email protected]>

* Updates to gradle build file (#48)

* Updates to gradle build file

Signed-off-by: Sruti Parthiban <[email protected]>

* Add ability to specify RCA branch

Signed-off-by: Sruti Parthiban <[email protected]>

* Fix build when opensearch_version flag is provided. (#52)

Signed-off-by: Marc Handalian <[email protected]>

* Update the version to 1.0.1

Signed-off-by: Sruti Parthiban <[email protected]>

Co-authored-by: Khushboo Rajput <[email protected]>
Co-authored-by: Khushboo Rajput <[email protected]>
Co-authored-by: Marc Handalian <[email protected]>
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.

Build fails when opensearch_version is provided that differs from default
4 participants