项目作者: simonireilly

项目描述 :
A simple Ruby service for cataloging codeship organization data
高级语言: Ruby
项目地址: git://github.com/simonireilly/codeship-monitor.git
创建时间: 2019-04-27T16:24:05Z
项目社区:https://github.com/simonireilly/codeship-monitor

开源协议:

下载


codeship-monitor

A simple Ruby service for cataloging codeship organization data

alt text

  • A codeship API client for ruby
  • A scheduler to run this API request as a routine job (can be run seperately)
  • Exhaustive persisting for all organisations attched to the account
  • Grafana dashboard with saved example

Contents

Setup

Logging Service Only (local)

This service can be run standalone locally:

  1. echo .env << "USERNAME={your codeship email}\nPASSWORD={your codeship password}"
  2. bundle i
  3. bundle exec rake db:setup
  4. bundle exec ruby start.rb

Boot with Grafana and Logging Service

Boot as:

  1. echo .env << "USERNAME={your codeship email}\nPASSWORD={your codeship password}"
  2. docker-compose up

Navigate to Grafana at localhost:3000

You can import the example dashboard from ./codeship-dashboard.json and everything will be up and running.

Works In Progress

  • Seperate out client library into Codeship V2 API gem