Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

release_robot

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

release_robot

  • 0.1.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

release_robot

Installation

$ rake install
$ release_robot

Usage

This requires your Github username and password to authenticate and requires that you do not have 2-factor auth setup for Github. The gem will prompt you for those credentials on first run and store them in ~/.release_robot_settings.yml.

What it does

Currently, this gem will scan all repositories in the MammothHR Github account, collect any Pull Requests that are labeled with "Ready for Thursday Release" or "Ready for Immediate Release," change the base branch to weekly-release, determine the build status from Travis, parse any Podio URLs from the Pull Request body, and print out two summaries:

  1. A verbose summary for posting to #releases channel, which shows the PR title, URL, Podio URL(s) if any, and the build status.
  2. A terse summary with today's date and a bulleted list of PR titles and the repo to which they belong.

Next steps to automate

  • post reminder about updating versions in package.json if an addon is updated
  • tag repos with the correct tag
    • For the most part, for Thursday releases, this will be the next minor version (i.e. if the last tag was v2.13.2, then next is v2.13.3).
    • For hrsc and hrsc-ember, their tags should always be in sync
  • merge PRs with green builds (perhaps a separate script)
    • delete branches after merge
  • check if there's a staging branch for merged branches and either
    • include that in the notes, or
    • auto teardown
  • mark Podio tasks as Complete after deploy (perhaps a separate script)
  • skip CI for all but the last merge to weekly-release
    • Can be done by adding 'skip ci' to the merge commit (in the web interface, this can be done when “Confirm Merge” comes up; unsure about API)
  • figure out a standard way to define pre- or post-deploy steps so those can be included in the release prep somehow

"Nice to have" Slack integrations: These would require setting up a slack bot server to receive Github webhooks

FAQs

Package last updated on 10 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc