github.com/dmaizel/tests@v0.0.0-20210728163746-cae6a2d9cee8/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 CM_BASE_FILE="${CHECKMETRICS_CONFIG_DIR}/checkmetrics-json-$(uname -n).toml"
    16  ```
    17  
    18  Thus, each CI metrics worker machine should be uniquely named, to allow for file
    19  differentiation in this directory.