Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

lita-snap-ci

Lita handler, to display the snap-ci pipelines of a project.

Service Status
Snap-ci Build Status
CodeClimate Code Climate
Test Coverage Test Coverage

Installation

Add lita-snap-ci to your Lita instance's Gemfile:

gem "lita-snap-ci"

Configuration

Information that you need:

Configure your lita-config.rb.

Example:

  config.handlers.snap_ci.user = "snapUser"
  config.handlers.snap_ci.token = "Snap-ci-api-key"
  config.handlers.snap_ci.projects = [
    {
      owner: 'oneorg',
      repository: 'api',
      branches: ['development', 'staging', 'master']
    },{
      owner: 'oneorg',
      repository: 'front',
      branches: ['staging', 'master']
    },{
      owner: 'otherorg',
      repository: 'websites',
      branches: ['develop' , 'master']
    }
  ]

Usage

Display the status of your repositories.

Chat input:

snap-ci report

Chat output:

Project: otherorg/websites:
  develop: failed (Test: failed)
  master: failed (Test: failed)

Project: oneorg/front:
  staging: passed (TEST: passed, deploy_staging: passed)
  master: passed (TEST: passed, deploy_prod: passed)

Project: oneorg/api:
  development: passed (Integration: passed, Brakeman: passed)
  staging: passed (Integration: passed, deploy_staging: passed)
  master: passed (FastFeedback: passed, Integration: passed, deploy_prod: unknown)

Display the status of one repository.

Chat input:

snap-ci project api or snap-ci project oneorg/api

Chat output:

Project: oneorg/api:
  development: passed (Integration: passed, Brakeman: passed)
  staging: passed (Integration: passed, deploy_staging: passed)
  master: passed (FastFeedback: passed, Integration: passed, deploy_prod: unknown)

License

lita-snap-ci is released under the MIT License.

About

lita snap ci integration

Resources

Packages

No packages published

Languages

You can’t perform that action at this time.