An app that transforms payload data from CircleCi and then pushes information to a geckoboard text widget. The geckoboard text widget displays the status of the CircleCi job for the specified repository and branch. It also shows the last person who committed to this branch.
An example of a successful CircleCi job on develop
branch
An example of a failed CircleCi job on master
branch
Name | Description |
---|---|
GECKO_BOARD_API_KEY | geckoboard API key |
GECKO_BOARD_WIDGET_URL | geckoboard text widget url |
REPO_NAME | The repository name of your CircleCi job |
BRANCH | The branch name you wish to show results for |
PORT | The applications port, defaults to 3048 |
Recommended setup
To install multiple versions of Node.js, you may find it easier to use a node version manager
To install dependencies
$ npm i
To start the application
$ npm start
You will find an example styles.sass
file in /widget-example
. Here you can write custom styles for your CircleCi
geckoboard widget.
To create the styles.css
file run:
$ npm run sass
You can then upload the styles.css
file to your geckboard dashboard via settings > Customize apperance
.
To run tests
$ npm test
To run linting
$ npm run lint
Upload this application to your favourite hosting platform.
Setup a webhook on you CircleCi Job that sends its payload to this application. Add the following (with your
applications url) to the bottom of your repositories config.yaml
notify:
webhooks:
- url: <application-url>