Currently it's not easy to identify errors in CI job log output, so let's introduce centralized logging helpers with colored output and visual indicators to make errors more prominent. The helpers are consolidated in .gitlab/scripts/helpers.sh and replace inline logging in dut-init scripts. Error messages in cdrouter.yml and testbed.yml now use log_error() for hopefully better visibility in CI logs. References: PCF-2157 Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org> |
||
|---|---|---|
| .. | ||
| build.d | ||
| dut-init | ||
| prplMesh | ||
| cdrouter-pretty-failures.awk | ||
| helpers.sh | ||
| prpl-jira.py | ||
| README.md | ||
| requirements.txt | ||
| testbed-cdrouter.py | ||
| testbed-device.py | ||
Content
This directory contains files used mainly during testing on the GitLab CI.
requirements.txt
This requirements.txt file is used for specifying what Python packages are required to run the scripts in this directory. Usually used with pip install -f requirements.txt command.
prpl-jira.py
This helper Python script creates new or updates existing Jira ticket when something goes wrong during GitLab CI testing process. Currently only supports reporting of build test failures.
Needs Python version 3.6+ due to use of f-strings feature.
testbed-device.py
This helper Python scripts allows managing of device under test (DUT) via labgrid framework.