Repository is archived
No commit activity in last 3 years
No release in over 3 years
Automates the process of pushing a new release and sending a deploy notification to the billing api
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.5
~> 3.5
~> 2.1
 Project Readme

Deis Deploy Ruby

Gem Version

This gem allows you to deploy and notify your deploy to the Red Ant Deis cluster.

If you're not a developer at Red Ant this gem will not be immediately useful but may be a nice starting point for Deis deploy notifications.

Pre-requisites

  • deis executable signed in to the Red Ant deis cluster
  • permissions on the deis app your're trying to deploy
  • a valid git remote to your deis app, defaults to a git remote called 'deis'
  • the app created in the deis-billing portal

Setup

In your Gemfile

gem 'deis_deploy_redant'

Create an initialiser to configure the gem

# config/initializers/deis_deploy.rb

DeisDeployRedant.configure do |config|
  config.billing_app_url = 'http://example.com' # checkout the Deis playbook for the url
  config.deploy_message_merges = true
end

To deploy

$ bundle exec rails deis:deploy[REMOTE_NAME]

Or to notify without pushing a new deploy

$ bundle exec rails deis:report[REMOTE_NAME]

Tests

$ rspec