v0.5.1
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE1MTdYA1m9lqO/FEeGPNoXAAiv/MFAltKEx4ACgkQGPNoXAAi
v/OzjA//W/DCncKy2iDwzx0ZuEPnxFY5S6+HjYwRxrwCTpDg0F4Zl3Pa/VWttEWO
GYedNnEsre0DaTY/iUR6I3TK8AlQypmy1qAm2IcOVEkrRkD56IYtL0MuPlPfwS7k
mEu1wtzh7i7bx/D7+s+ou+R3B9VUpA5pz4s9LS/HviDeLjjJzL5BtZCPdEX/UzER
nbZIsQ5+n9I2XGO4EOhOs6k+5AYh/NPSmXLSDmtmY50yDNsd7ZoiEQKM6PhSt8NJ
N+6fyFfeQr2Xwj1I2w4qc+nDtSIdCTl2KBNz+YRV9omXh8GlMooi0B4jGjw1alL5
vUM4buqx7rmx1W+sRfUFR/CY+0w9JhaV+foQk6PzyinFn+QtLvmZOfGQ+LTMEc1a
EoXjwqBvLjQO3E39ZaSQToF7/ibAzwT1KOU9d0rz+QaM0A5vUde+ruMUR3kBhscc
KW/Ko8gfGmvP4FQd1cUb4aTS9dCc8sqFlPteRTJ8XVMK3KUc0XgOH2lt0a5MKvLd
BdIFCsp+MRLkvdRK1Orpgh/3t1ZA9f5Nhnqec4KvHCFJzk1zaV7GODewWYCXtLca
ALLQPvEKEcoh5CY++5ThNkvbQItc+Yc2tzG4m4s+IGCghhEPTpZSMmXj9vH6/0QT
e+Hj2Nz53AztWWbhGM/rYkztvOzAWLeMikTEqrUZfst2JUepxXE=
=L7hK
-----END PGP SIGNATURE-----
Bump version to v0.5.1

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2 files changed
tree: a2290b15d38c2cce0848527de1934bcd98917a6f
  1. .gitignore
  2. .travis.yml
  3. Dockerfile
  4. Gopkg.lock
  5. Gopkg.toml
  6. LICENSE
  7. Makefile
  8. README.md
  9. VERSION.txt
  10. ga.go
  11. googleanalytics/
  12. jenkins.go
  13. jenkins/
  14. main.go
  15. main_unix.go
  16. main_windows.go
  17. term.png
  18. travis.go
  19. vendor/
  20. version/
README.md

tdash

Travis CI

A terminal dashboard with stats from Google Analytics, GitHub, Travis CI, and Jenkins. Very much built specific to me.

term.png

Installation

Binaries

Via Go

$ go get github.com/jessfraz/tdash

Running with Docker

$ docker run --rm -it \
    --name tdash \
    --volume /home/user/.tdash:/root/.tdash:ro \ # for the  Google Analytics key file
    r.j3ss.co/tdash

Usage

$ tdash -h
     _           _
  __| | __ _ ___| |__
 / _` |/ _` / __| '_ \
| (_| | (_| \__ \ | | |
 \__,_|\__,_|___/_| |_|


 A terminal dashboard with stats from
 Google Analytics, GitHub, Travis CI, and Jenkins.
 Version: v0.5.1
 Build: 338723b

  -all
        Show all builds even successful ones, defaults to only showing failures
  -d    run in debug mode
  -ga-keyfile string
        Path to Google Analytics keyfile (default "/home/jessie/.tdash/ga.json")
  -ga-viewid value
        Google Analytics view IDs (can have more than one)
  -interval string
        update interval (ex. 5ms, 10s, 1m, 3h) (default "2m")
  -jenkins-password string
        Jenkins password for authentication (or env var JENKINS_PASSWORD)
  -jenkins-uri string
        Jenkins base URI (or env var JENKINS_BASE_URI)
  -jenkins-username string
        Jenkins username for authentication (or env var JENKINS_USERNAME)
  -travis-owner value
        Travis owner name for builds (can have more than one)
  -travis-token string
        Travis CI API token (or env var TRAVISCI_API_TOKEN)
  -v    print version and exit (shorthand)
  -version
        print version and exit

Setup

Google Analytics

  1. Enable the API: To get started using Analytics Reporting API v4, you need to first create a project in the Google API Console, enable the API, and create credentials.

    Follow the instructions for step enabling the API here.

  2. Add the new service account to the Google Analytics account with Read & Analyze permission.

    The newly created service account will have an email address that looks similar to: quickstart@PROJECT-ID.iam.gserviceaccount.com.

    Use this email address to add a user to the Google Analytics view you want to access via the API.

Travis

  1. Get your Travis token: Go to the “Profile” tab on your Accounts page