github.com/kata-containers/tests@v0.0.0-20240307153542-772105b56064/cmd/checkmetrics/ci_worker/README.md (about) 1 # CI workers reference files 2 3 This directory contains the reference `checkmetrics` configuration files 4 utilised by the CI system build machines to check CI metrics results. 5 6 These files are actively downloaded by the CI system on a per-build basis. 7 Thus, any changes to the files in this directory should apply automatically 8 to all future CI build/runs. 9 10 The files in this directory are named according to how the 11 [metrics CI script](../../../.ci/run_metrics_PR_ci.sh) invokes `checkmetrics`, 12 using the CI build machine hostname to locate the correct file: 13 14 ```bash 15 local KATA_HYPERVISOR="qemu" 16 local CM_BASE_FILE="${CHECKMETRICS_CONFIG_DIR}/checkmetrics-json-${KATA_HYPERVISOR}-kata-metric.toml" 17 ``` 18 19 Thus, each CI metrics worker machine should be uniquely named, to allow for file 20 differentiation in this directory.