A dashboard to highlight GoCD pipeline statuses.
Project description
gocd-dashboard
==============
A [GoCD] dashboard for showing pipeline status at a glance. Details about each
pipeline and all of it's materials (even grandparents!) are collected to show
the authors of commits that caused each pipeline to run.
![Screenshot](docs/screenshot.png)
Usage
-----
_Requirements: Python 3.3 or above, the `gocd_dashboard` python package (and
it's dependencies)._
```bash
gocd-dashboard run --host localhost --port 5000
```
You will need to create a JSON configuration file that describes your GoCD
server. The server will look `config.json` in the current directory, or use the
path of the `GOCD_DASHBOARD_CONFIG` environment variable.
```json
{
"gocd": {
"server": "https://gocd.example.com",
"username": "guest",
"password": "guest"
},
"groups": [
{
"name": "example",
"pipelines": [
"pipeline-a",
"pipeline-b"
]
}
]
}
```
Pipelines will be colored depending on their status:
- Failed: red.
- Running: yellow.
- Passed: white (green if the entire group has passed).
Development
-----------
_Requirements: Python 3.3 or above, the `virtualenv` python package, NodeJS
and the `npm` package manager._
Install the module into a Python virtualenv in development mode:
```bash
pip install -e .
```
Install a [Sass] compiler and [materialize.css]:
```bash
npm install
```
Compile CSS files using `node-sass`:
```bash
./node_modules/.bin/node-sass --watch gocd_dashboard/static --output gocd_dashboard/static
```
Run the development server:
```bash
FLASK_DEBUG=1 gocd-dashboard run
```
License
-------
Released under the MIT licence. See [LICENSE](./LICENSE).
Authors
-------
- [Sam Clements]
[GoCD]: https://www.go.cd/
[materialize.css]: http://materializecss.com/
[Sam Clements]: https://github.com/borntyping/
[Sass]: http://sass-lang.com/
==============
A [GoCD] dashboard for showing pipeline status at a glance. Details about each
pipeline and all of it's materials (even grandparents!) are collected to show
the authors of commits that caused each pipeline to run.
![Screenshot](docs/screenshot.png)
Usage
-----
_Requirements: Python 3.3 or above, the `gocd_dashboard` python package (and
it's dependencies)._
```bash
gocd-dashboard run --host localhost --port 5000
```
You will need to create a JSON configuration file that describes your GoCD
server. The server will look `config.json` in the current directory, or use the
path of the `GOCD_DASHBOARD_CONFIG` environment variable.
```json
{
"gocd": {
"server": "https://gocd.example.com",
"username": "guest",
"password": "guest"
},
"groups": [
{
"name": "example",
"pipelines": [
"pipeline-a",
"pipeline-b"
]
}
]
}
```
Pipelines will be colored depending on their status:
- Failed: red.
- Running: yellow.
- Passed: white (green if the entire group has passed).
Development
-----------
_Requirements: Python 3.3 or above, the `virtualenv` python package, NodeJS
and the `npm` package manager._
Install the module into a Python virtualenv in development mode:
```bash
pip install -e .
```
Install a [Sass] compiler and [materialize.css]:
```bash
npm install
```
Compile CSS files using `node-sass`:
```bash
./node_modules/.bin/node-sass --watch gocd_dashboard/static --output gocd_dashboard/static
```
Run the development server:
```bash
FLASK_DEBUG=1 gocd-dashboard run
```
License
-------
Released under the MIT licence. See [LICENSE](./LICENSE).
Authors
-------
- [Sam Clements]
[GoCD]: https://www.go.cd/
[materialize.css]: http://materializecss.com/
[Sam Clements]: https://github.com/borntyping/
[Sass]: http://sass-lang.com/
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gocd-dashboard-1.0.0.tar.gz
(1.2 MB
view details)
Built Distribution
File details
Details for the file gocd-dashboard-1.0.0.tar.gz
.
File metadata
- Download URL: gocd-dashboard-1.0.0.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c47d4705217bbd4b7a3c550aadf523207e53cc36f5a5d1eff8aecf69805354b |
|
MD5 | 97389a59a11a65fe997630ee14dc5754 |
|
BLAKE2b-256 | 073249acbc731509fb18bf87340f85c86b7afad64b28207100e9c6da51e91e5c |
File details
Details for the file gocd_dashboard-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: gocd_dashboard-1.0.0-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b60dc8f3c1687c50cff08a0bb30886451cc04878291a03452fb7baf38b88a57 |
|
MD5 | ed0fe37cd996ec3a9fef2b0ea12115db |
|
BLAKE2b-256 | bf85e019e644271972070f426c2031b8582ce180e2fc011841e8e8c1e8fb630c |