0.0
No commit activity in last 3 years
No release in over 3 years
A Docker Hub plugin for Lita.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 3.0.0

Runtime

>= 4.7
 Project Readme

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