Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.
/ deis-deploy-ruby Public archive

Deploy apps to the Red Ant deis cluster and notify deployments

License

Notifications You must be signed in to change notification settings

red-ant/deis-deploy-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Deploy apps to the Red Ant deis cluster and notify deployments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages