No description or website provided.
Shell Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Gemfile
Gemfile.lock
README.md
fire.sh

README.md

herobu

herobu hits circleci nightly api with heroku in order to make pull request for bundle update periodically.

masutaka/circleci-bundle-update-pr makes pull request. herobu is a just trigger.

Usage

Preparation

  • Add circleci-bundle-update-pr gem in your project
  • Create circle.yml to your project like following
deployment:
  production:
    branch: master
    commands:
      - |
        if [ -z "${BUNDLE_UPDATE}" ] ; then
          ./bin/deploy.sh
        else
          bundle exec circleci-bundle-update-pr 'Git Usename' 'Git email address'
        fi
test:
  override:
    - |
      if [ -z "${BUNDLE_UPDATE}" ] ; then
        bundle exec rake
      fi

We're on

  • Create heroku application
  • Push this repository to there
  • Set environmental variable
    • PROJECT=your_github_name/your_project_name
    • CIRCLE_TOKEN=your_circleci_token
    • BRANCH=target_branch_name (default: master)
  • Add Heroku Scheduler and add task ./fire.sh

That's it!