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

JRuby releases #44

Closed
wants to merge 3 commits into
base: master
from
File filter...
Filter file types
Jump to file or symbol
Failed to load files and symbols.
+838 −1
Diff settings

Always

Just for now

Copy path View file
@@ -285,6 +285,12 @@ def get_mem(pid)
form_results = {}
form_results["benchmark_run[result][rss_kb]"] = mem

if ENV['RUBY_COMMIT_HASH']
form_results["commit_hash"] = ENV['RUBY_COMMIT_HASH']
elsif ENV['RUBY_VERSION']
form_results["version"] = ENV['RUBY_VERSION']
end

request.basic_auth(ENV["API_NAME"], ENV["API_PASSWORD"])

request.set_form_data({
@@ -294,7 +300,6 @@ def get_mem(pid)
'benchmark_type[script_url]' => "https://raw.githubusercontent.com/discourse/discourse/#{ENV['DISCOURSE_COMMIT_HASH']}/script/bench.rb",
'benchmark_type[digest]' => generate_digest,
'benchmark_run[environment]' => environment.to_yaml,
'version' => ENV['RUBY_COMMIT_HASH'] || ENV['RUBY_VERSION'],
'repo' => 'ruby',
'organization' => 'ruby'
}.merge(form_results))
Oops, something went wrong.
ProTip! Use n and p to navigate between commits in a pull request.