pbenas / serverspec-ui

Nodejs based dashboard for viewing serverspec reports

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UI for Serverspec

Simple UI for serverspec tests results composed by serverspec-core. It parses huge JSON from serverspec-core in ./reports and save them as .parsed in the same folder, it also serves parsed reports via HTTP in fancy and user-readable form.

The intention is to group roles together so one can easily spot regressions, the intended structure is, as described in server.js:

         |  all   |  web   |
------------------------------------
  web1   | ✓ ✗ ✓  | ✓ ✓ ✓  |
  web2   | ✓ ✗ ✓  | ✓ ✓ ✓  |
  web3   | ✓ ✗    | ✓ ✓ ✓  |
------------------------------------
         |  all   |  memcache   |
------------------------------------
  memc1  | ✓ ✓ ✓  | ✓ ✓ ✓ ✓ ✓ ✓ |
  memc2  | ✓ ✓ ✓  | ✓     ✓     |
  memc3  | ✓ ✓ ✓  | ✓ ✓ ✓ ✓     |
------------------------------------
         |
------------------------------------
  unkn1  |
  unkn2  |

Installation

Just git clone git@github.com:gooddata/serverspec-ui.git and run node server.js, by default it listens on http://127.0.0.1:3000. It is recommended to use nginx or any similar server as a forwarding proxy.

Configuration

There is no config file, all the settings are propagated via environment vars.

You can set where to listen with PORT (default 3000) and LISTEN (defaults to 127.0.0.1).

Also you can you set REPORTS_DIR and SPEC_DIR to overwrite default locations.

Maintenance level

This project is in the maintenance mode.

The patches are going to be provided by engineers at GoodData Inc. in reactive manner.

About

Nodejs based dashboard for viewing serverspec reports

License:ISC License


Languages

Language:JavaScript 54.5%Language:HTML 19.0%Language:CSS 14.0%Language:Shell 12.3%Language:Makefile 0.2%