/rubyfarmer

A docker build machine for each commit of ruby trunk branch

Primary LanguageRuby

rubyfarmer

https://raw.github.com/wiki/yukisov/web-sindan-crawler/

This is a tool for updating rubylang/rubyfarm.

How to use rubylang/rubyfarm

$ docker pull rubylang/rubyfarm:latest
$ docker run --rm -ti rubylang/rubyfarm:latest
# ruby -v
ruby 2.7.0dev (2019-02-13 trunk 67066) [x86_64-linux]

How to setup rubyfarmer

  1. docker login
  2. Test it manually: ruby rubyfarmer.rb
  3. Set it as a cron job:
0 * * * * SLACK_WEBHOOK_URL=https://hooks.slack.com/services/XXX/XXX/XXX /path/to/rubyfarmer.rb