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

Support switching ruby gems version and fix regex #119

Merged
merged 3 commits into from
Feb 2, 2023

Conversation

gaiksaya
Copy link
Member

@gaiksaya gaiksaya commented Feb 1, 2023

Signed-off-by: Sayali Gaikawad gaiksaya@amazon.com

Description

The recent run for rubyGems failed for logstash-output-opensearch because instead of ruby it is build on jruby. https://build.ci.opensearch.org/job/logstash-output-opensearch-release/3/console
In order to fix that, this change adds the enhancement to install any ruby or jruby version as a parameter and installs it on the go.
It is required only for gem signature validation and not for building.
This change also fixes the regex which is used to retrieve the gem name.

Issues Resolved

related: opensearch-project/opensearch-build#3139

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: Sayali Gaikawad <gaiksaya@amazon.com>
@gaiksaya gaiksaya requested a review from a team as a code owner February 1, 2023 03:24
Copy link

@sshivanii sshivanii left a comment

Choose a reason for hiding this comment

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

Thanks!

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
@codecov-commenter
Copy link

codecov-commenter commented Feb 2, 2023

Codecov Report

Merging #119 (2b072d3) into main (ea7a7cc) will not change coverage.
The diff coverage is n/a.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff            @@
##               main     #119   +/-   ##
=========================================
  Coverage     83.41%   83.41%           
  Complexity       24       24           
=========================================
  Files            68       68           
  Lines           193      193           
  Branches         11       11           
=========================================
  Hits            161      161           
  Misses           25       25           
  Partials          7        7           
Impacted Files Coverage Δ
.../jenkins/jobs/PublishToRubyGemWithArgs_Jenkinsfile 100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@gaiksaya gaiksaya changed the title Support installing ruby gems version and fix regex Support switching ruby gems version and fix regex Feb 2, 2023
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
@gaiksaya gaiksaya merged commit c66bc1c into opensearch-project:main Feb 2, 2023
@gaiksaya gaiksaya deleted the fix-ruby branch February 2, 2023 02:17
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 2, 2023
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
(cherry picked from commit c66bc1c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
gaiksaya pushed a commit that referenced this pull request Feb 2, 2023
(cherry picked from commit c66bc1c)

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
gaiksaya pushed a commit that referenced this pull request Feb 6, 2023
(cherry picked from commit c66bc1c)

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants