v0.3.0
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE1MTdYA1m9lqO/FEeGPNoXAAiv/MFAlq7sDMACgkQGPNoXAAi
v/PfZA/6Azb7Yi/ZUNFpR6KgWOnkPi2pxDG0OZXssJkqeinqi+uma3PEB5RVnOLF
xsgC3LXFIE7eYu85H2afWRh19zSPONLg5GY3uKg8O1FnkOzbXOc/VM98HSV49Kig
ns7RnYBxMIwLMkfjnveViPCzeL9Elrocb3KQaj/iaI1z14Ix8ewOnVBSXu5CLA9w
GsIxGrVEjV+FGYxWNaawn/8RH9nUZzsbCriokkNEdYPk/BC0UU1GC6bCsVpApq4O
wGryFJUwfdp5SXCW3xbKBzA+jz0l95gfrkDLEb5Q6P6DrCYc9YfNKRpia7MxZx6+
OROdF43Il48ceopCe0PyGCVJHrmIanWepV2I5k4yovXRJsvkZig3LCUAfKuK2lDL
iO0C6BabNy1LjY9m/ynGmKblJfPayxau9G/LsySGxO/RW3Zh0QFYGzkYp6FOLcDD
hJEAczOCZvHcmHiazJFNJ4bPuWlIIE13ayNvYrZcDAccftlyKTSztCnRGtbpn1FI
OJdknlEFhe3E0HodGCdkomf6FTbjAXRNXKYMwUy+aN1mfxNHpWYjOlcPiSIL+fOm
YxLDg6g+PyxROA3XBxPpick2Qefx0K+jJ+FLakHFs7xOuJnSvPFmDVknZ54wFoKX
joxl4HdcmrKyZDjG5/yR7g4NVOuQJu9yy9jwTTl3yZnQBYlhW/0=
=C8jY
-----END PGP SIGNATURE-----
Bump version to v0.3.0

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2 files changed
tree: 65a3570c8abe529dfe5de231be6bd4f9020ef223
  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. main.go
  14. main_unix.go
  15. main_windows.go
  16. term.png
  17. travis.go
  18. vendor/
  19. 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.3.0
 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