Home

Awesome

Recommended packages for site-info

Install

pip install site_discovery

get-sites

Get sites from localhost and execute site-info for each site.

Configuration

Config file should placed into /etc/site-info.yml. See site-info.example.yml.

tests:
- name: root_path # name of test, using as json name and xlsx column name
  comment: Site root # using as comment for cell in xlsx
  command: pwd # shell command for get test result
  type: string # result type (integer|string|time)
  groups: main # string or array of groups

I'm using group main for must-have tests.

Usage

Default sites list, output to tab separated list

get-sites

Generate all tests results into xlsx with delay for avoid server overload

get-sites --format xlsx --xlsx-path /tmp/sites-info.xlsx --group all --delay 10

Options

site-info

Get info for single site.

server-info

Get info for server.