A Docker Hub plugin for Lita.


License
MIT
Install
gem install lita-docker-hub -v 0.2.2

Documentation

lita-docker-hub

Build Status Gem Version

A Docker Hub plugin for Lita.

Installation

Add lita-docker-hub to your Lita instance's Gemfile:

gem "lita-docker-hub"

Configuration

You can configure the room where lita-docker-hub sends messages. The default is general.

Lita.configure do |config|
  config.handlers.docker_hub.room = "ops"
end

Make sure that the Lita bot is a member of this room.

Usage

In Docker Hub go to the repository that you want to connect with Lita. You should have admin access to the Docker Hub configuration, and it should be an autobuild repository (builds triggered by Github or Bitbucket commits). Open the Webhooks tab of the repository and add the following URL:

http://MY_LITA_SERVER/docker-hub/receive

Where MY_LITA_SERVER is the name or IP address of your Lita server. Make sure the Lita server is accessible for web requests.

Screenshot

License

MIT