Build Status

Tutum Connector for Factor.io

This gem provides Tutum actions through your Factor.io workflow. It was built with the factor-connector-api gem.

#Authentication

In order to make requests, you must obtain your API key. Log onto Tutum, click on the menu on the upper right corner of the page and click Account info. You should then see the Api Key selection.

##Installation

Add this to your Gemfile in your Connector.

gem 'factor-connector-tutum', '~> 0.0.1'

Add this to your init.rb file.

require 'factor/connector/tutum_service'
require 'factor/connector/tutum_container'
require 'factor/connector/tutum_cluster'
require 'factor/connector/tutum_node'

The Connectors README shows you how to run the Connector Server with this new connector integrated.

##Configuration

Setup your workflow: To use the connector in your workflow when you run factor s you must setup your credentials.yml and connectors.yml files.

##Functionality

[example]

Further examples are provided in the Actions and Listeners wiki.

##Testing

Using your terminal to test locally, you must set up two environmental variables.

$ export TUTUM_USERNAME=<username>
$ export TUTUM_API_KEY=<api_key>

Then, you can bundle and run the tests.

$ bundle exec rake

##Contributing

Documentation, feature requests, code, tests, and bug reports are welcomed. Click here for more information.