跳转到主要内容

squad数据

项目描述

squaddata

squad创建数据集和报告

安装

使用pipgitlab安装

pip install https://gitlab.com/Linaro/lkft/reports/squaddata/-/archive/master/squaddata-master.tar.gz

示例

从一个squad项目创建报告

squad_report --group=lkft --project=linux-next-master --build=next-20210223 full

创建一个显示所有环境构建结果的报告

squad_report --group=lkft --project=linux-next-master --build=next-20210223 --suites=build full

创建一个显示arm64环境构建结果的报告

squad_report --group=lkft --project=linux-next-master --build=next-20210223 --suites=build --environments=arm64 full

创建一个显示kselftest结果的报告

squad_report --group=lkft --project=linux-next-master --build=next-20210223 --suite-prefixes=kselftest full

用法

usage: squad_report [-h] [--url URL] [--token TOKEN]
       [--group GROUP] [--project PROJECT] [--build BUILD] [--base-build BASE_BUILD]
       [--environments ENVIRONMENTS | --environment-prefixes ENVIRONMENT_PREFIXES]
       [--output OUTPUT]
       [--suites SUITES | --suite-prefixes SUITE_PREFIXES]
       [--template TEMPLATE]
       [--unfinished]

Create a report using data from SQUAD

positional arguments:
  report                Type of report to create

optional arguments:
  -h, --help            show this help message and exit
  --url URL             URL of the SQUAD service
  --token TOKEN         Authentication token of the SQUAD service
  --group GROUP         SQUAD group
  --project PROJECT     SQUAD project
  --build BUILD         SQUAD build
  --base-build BASE_BUILD
                        SQUAD build to compare to
  --environments ENVIRONMENTS
                        List of SQUAD environments to include
  --environment-prefixes ENVIRONMENT_PREFIXES
                        List of prefixes of SQUAD environments to include
  --output OUTPUT       Write the output to this file
  --suites SUITES       List of SQUAD suites to include
  --suite-prefixes SUITE_PREFIXES
                        List of prefixes of SQUAD suites to include
  --template TEMPLATE   Create the report with this template. Default=report
  --unfinished          Compare with a build that has not finished

调试

要开启调试输出,请在环境中设置LOG_LEVEL=DEBUG。

贡献

CONTRIBUTING.md

许可证

MIT

项目详细信息


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分布

squaddata-0.0.2.tar.gz (8.2 kB 查看哈希值)

上传时间 源代码

构建发行版

squaddata-0.0.2-py3-none-any.whl (8.8 kB 查看哈希值)

上传时间 Python 3

支持