Run checks against apps defined in a Sous global manifest.
Project description
sous-sensu-checks
==================
Calls otpl-service-check for each compatible deployment found in a sous
global deploy manifest (GDM).
Writes the results of these checks to the local Sensu client.
Usage
-----
This script is long running, and performs periodic checks,
delivering the results directly to Sensu on ``localhost:3030``.
Dependencies
------------
See ``requirements.txt``.
Notably, see https://github.com/opentable/otpl-service-check
which this script wraps.
Arguments
---------
Run with ``-h`` or ``--help`` to see command-line argument
documentation.
Releasing
---------
Set up PyPI RC file, .pypirc. E.g.:
[distutils]
index-servers =
pypi
pypitest
[pypitest]
repository = https://testpypi.python.org/pypi
username = cpennello_opentable
[pypi]
repository = https://pypi.python.org/pypi
username = cpennello_opentable
Suppose the version being released is a.b.c.
Create distributions:
``python setup.py sdist bdist_wheel``
Sign distribution files:
for x in dist/*a.b.c*;do
gpg --detach-sign -a $x
done
Use Twine, uploading to the test repo first.
``twine upload -r pypitest dist/*a.b.c*``
Then to the real repo.
``twine upload -r pypi dist/*a.b.c*``
==================
Calls otpl-service-check for each compatible deployment found in a sous
global deploy manifest (GDM).
Writes the results of these checks to the local Sensu client.
Usage
-----
This script is long running, and performs periodic checks,
delivering the results directly to Sensu on ``localhost:3030``.
Dependencies
------------
See ``requirements.txt``.
Notably, see https://github.com/opentable/otpl-service-check
which this script wraps.
Arguments
---------
Run with ``-h`` or ``--help`` to see command-line argument
documentation.
Releasing
---------
Set up PyPI RC file, .pypirc. E.g.:
[distutils]
index-servers =
pypi
pypitest
[pypitest]
repository = https://testpypi.python.org/pypi
username = cpennello_opentable
[pypi]
repository = https://pypi.python.org/pypi
username = cpennello_opentable
Suppose the version being released is a.b.c.
Create distributions:
``python setup.py sdist bdist_wheel``
Sign distribution files:
for x in dist/*a.b.c*;do
gpg --detach-sign -a $x
done
Use Twine, uploading to the test repo first.
``twine upload -r pypitest dist/*a.b.c*``
Then to the real repo.
``twine upload -r pypi dist/*a.b.c*``
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file sous-sensu-checks-0.0.15.tar.gz
.
File metadata
- Download URL: sous-sensu-checks-0.0.15.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
37a5d8316f39f9c5b75784b52ddc0506fc9176f90ea6afbe42fa178ace25ab85
|
|
MD5 |
02bd86e80ab4f3c726ae411428c027db
|
|
BLAKE2b-256 |
865fc01f77bb63e7052a401ae09867987502ccbfc425d4d5137c71312a895690
|