Avocado Plugin to propagate Job results to Resultsdb
Project description
This optional plugin is intended to propagate the Avocado Job results to a given ResultsDB API URL.
To install the ResultsDB plugin from pip, use:
pip install avocado-framework-plugin-resultsdb
Usage:
$ avocado run avocado/examples/tests/passtest.py --resultsdb-api http://resultsdb.example.com/api/v2.0/
Optionally, you can provide the URL where the Avocado logs are published:
$ avocado run avocado/examples/tests/passtest.py --resultsdb-api http://resultsdb.example.com/api/v2.0/ --resultsdb-logs http://avocadologs.example.com/
The --resultsdb-logs is a convenience option that will create links to the logs in the ResultsDB records. The links will then have the following formats:
ResultDB group (Avocado Job):
http://avocadologs.example.com/job-2021-09-30T22.16-f40403c/
ResultDB result (Avocado Test):
http://avocadologs.example.com/job-2021-09-30T22.16-f40403c/test-results/1-passtest.py:PassTest.test/
You can also set the ResultsDB API URL and logs URL using a config file:
[plugins.resultsdb] api_url = http://resultsdb.example.com/api/v2.0/ logs_url = http://avocadologs.example.com/
And then run the Avocado command without the --resultsdb-api and --resultsdb-logs options. Notice that the command line options will have precedence over the configuration file.
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
Built Distribution
Hashes for avocado_framework_plugin_resultsdb-106.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3df79849568ab1305500387362fbc9bf37b5cf0fae816d605d7396d2e398e26d |
|
MD5 | f586b8a2447d293d845682ccf777b486 |
|
BLAKE2b-256 | 2ade5c53ea65dce5d7c3fc30b4efe0e33bedc8cb9b1c40b8155858877f258928 |
Hashes for avocado_framework_plugin_resultsdb-106.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f0583f2cf24bb03015b05116cb91aa695f538af6ff0b91507c3cb48aab963e3 |
|
MD5 | 08cb2c69247fb48eed8e2734c9197243 |
|
BLAKE2b-256 | 53b1df387ba879772682ce1ce6309f2889cb04a77a73b27bed3d3890c59d554d |