Skip to content

tundish/pyoncannon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About Yardstick

Quick demo

  1. Start a fresh installation of Manjaro OpenRC Net inside VirtualBox for Windows.
  2. Install Execnet:

    pyoncannon> pip install execnet
  3. Run the checks against the VM:

    pyoncannon> python -m yardstick.ops.main @demo\check-manjaro_openrc_net-virtualbox.windows
  4. Run the tasks against the VM:

    pyoncannon> python -m yardstick.ops.main @demo\auto-manjaro_openrc_net-virtualbox.windows
  5. Run the checks again to show conformance:

    pyoncannon> python -m yardstick.ops.main @demo\check-manjaro_openrc_net-virtualbox.windows

Command line interface

Run a check; modules identified by file path:

yardstick check --ini manjaro_openrc_net-virtualbox.ini --paths yardstick/openrc/test_*.py

Run a check; name a package or module using dotted notation:

yardstick check --ini manjaro_openrc_net-virtualbox.ini --modules yardstick.openrc.test_access

Make changes to remote host:

yardstick auto --paths yardstick/openrc/stage01.py yardstick/openrc/stage02.py

Not yet implemented

Discover available tags:

yardstick units yardstick.common yardstick.openrc

Detect available test modules by tag:

yardstick units --include=.. --exclude=.. yardstick.common yardstick.openrc

Full documentation

Install sphinx:

pyoncannon> pip install sphinx

Build the docs from source:

pyoncannon> sphinx-build yardstick\openrc\ yardstick\openrc\html

Read the documentation:

pyoncannon> firefox yardstick\openrc\html\index.html

Requirements

Windows environment

It is a project goal to support operation from MS Windows 8. For this OS, you should install Git for Windows which bundles some GNU CLI tools and an OpenSSH environment.

  • During installation, allow Git to install the CLI tools into your PATH.
  • Set your HOME environment variable to %HOMEPATH% for SSH to work properly.
Author

tundish

Copyright

2015 D Haynes

Licence

GNU General Public License

About

Fire negative entropy into clouds with a Python package called Yardstick.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages