You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice the absoulte path to RVM. In opensearch-project/opensearch-build@01613af the path where RVM gets installed to got changed, so this invocation doesn't work anymore. If $CONTAINER_USER_HOME is available in this script, that should be used instead.
publishToRubyGems should be able to switch to available Ruby versions
Screenshots
No response
Host / Environment
No response
Additional context
No response
Relevant log output
/var/jenkins/workspace/opensearch-ruby-gems-release@tmp/durable-1e102f6a/script.sh: line 3: /usr/share/opensearch/.rvm/scripts/rvm: No such file or directory
The text was updated successfully, but these errors were encountered:
Describe the bug
Here's the action being run:
opensearch-build-libraries/vars/publishToRubyGems.groovy
Lines 25 to 35 in 6d35e94
Notice the absoulte path to RVM. In opensearch-project/opensearch-build@01613af the path where RVM gets installed to got changed, so this invocation doesn't work anymore. If
$CONTAINER_USER_HOME
is available in this script, that should be used instead.This issue prevents opensearch-ruby from releasing a new version. Also see opensearch-project/opensearch-build#4624 and opensearch-project/opensearch-ruby#238.
Here is a successful pipeline: https://build.ci.opensearch.org/blue/organizations/jenkins/opensearch-ruby-gems-release/detail/opensearch-ruby-gems-release/29/pipeline/
This one is not able to switch ruby versions because RVM isn't at the expected path: https://build.ci.opensearch.org/blue/organizations/jenkins/opensearch-ruby-gems-release/detail/opensearch-ruby-gems-release/31/pipeline/
To reproduce
ssh into one of the https://github.com/opensearch-project/opensearch-build docker images and try to execute the script from
publishToRubyGems
without errors.Expected behavior
publishToRubyGems
should be able to switch to available Ruby versionsScreenshots
No response
Host / Environment
No response
Additional context
No response
Relevant log output
The text was updated successfully, but these errors were encountered: