Skip to content

Allows rubybench to be run on shopify heroku #2

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

Open
wants to merge 26 commits into
base: master
Choose a base branch
from

Conversation

jerryliu55
Copy link

Main changes:

  • github webhook verification on branch name and secret token
  • change some remote jobs to reflect our usage
  • support multiple organizations per repo (ex. github/ruby and ruby/ruby)
  • heroku specific configurations

@jerryliu55 jerryliu55 changed the title This allows rubybench to be run on heroku Allows rubybench to be run on shopify heroku Feb 16, 2017
@jerryliu55 jerryliu55 force-pushed the run-on-heroku branch 2 times, most recently from 2d3db6d to 4c2fc9e Compare February 16, 2017 23:05
@jerryliu55 jerryliu55 force-pushed the run-on-heroku branch 2 times, most recently from 8425df8 to c2131b3 Compare February 21, 2017 18:47
tgxworld and others added 16 commits February 22, 2017 10:49
Install phantomJS 2.1.1 manually to fix travis
* remove special log paths (they weren't working on heroku)
* change UNICORN_PORT -> PORT since heroku uses PORT
* uncomment production database config since we're not using 'pups' to
uncomment it
* update redis url to use REDISCLOUD_URL
* remove redis from procfile since rediscloud doesn't need it
* add a sidekiq worker with 10 concurrencies
* add API_URL to POST to shopify-rubybench.herokuapp.com
* use shopifydockerhub/rubybench_ruby_trunk docker image
* add ORGANIZATION env variable to all remote jobs since we support
multiple organizations per repo (ex. github/ruby, ruby/ruby)
ex. github/ruby and ruby/ruby
@tgxworld
Copy link

Hi @jerryliu55, is shopify running ruby-bench-web internally as well? 😃 To be honest, I've been struggling to find time to improve ruby-bench-web on a consistent basis so I'll love to see how we can collaborate on this. If you don't mind, could you start a topic on http://community.rubybench.org and we can discuss about ways we might be able to centralize the efforts on RubyBench?

@jerryliu55
Copy link
Author

@tgxworld Yep, we're running ruby-bench internally! We're mainly looking for the minimum viable solution to aggregate benchmarks on custom performance-patched builds of ruby.

Past the JSON API, we're not planning on making many more changes. That being said, if there's a small project you'd like help on, we'd love to set aside some time for that 😄

Jerry Liu added 5 commits February 24, 2017 15:40
For now, we are using Shopify/ruby-mirror as a way to trigger benchmark runs
for ruby/ruby
Since we sometimes change the `organization` variable
* only run benchmarks on branches: master, trunk, benchmark<something>
* use github secret token instead of user/pass via ApiController
Changes to remote_server_job and github_event_handler (secret token) broke some tests
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.

2 participants