mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-04-15 07:16:34 +00:00
* fix(ci): regression test updates binary to latest release * fix cluster resources collector
Regression Test Baselines
This directory contains known-good baseline bundles used for regression testing.
Directory Structure
preflight-v1beta3/- Baseline for complex-v1beta3.yaml specpreflight-v1beta2/- Baseline for all-analyzers-v1beta2.yaml specsupportbundle/- Baseline for all-kubernetes-collectors.yaml specmetadata.json- Metadata about when baselines were last updated
Creating Initial Baselines
If this directory is empty, baselines need to be created:
- Run the regression test workflow manually
- Download the artifacts
- Inspect bundles to verify correctness
- Use
scripts/update_baselines.shto copy them here
See test/README.md for detailed instructions.
Updating Baselines
Baselines should only be updated when:
- New collectors are added
- Collector output format changes intentionally
- Kubernetes version is upgraded
- Bug fixes that change collector behavior
Never update baselines to make failing tests pass without investigation!
Use scripts/update_baselines.sh to update from a workflow run.