diff --git a/hack/e2e-chainsaw/.chainsaw.yaml b/hack/e2e-chainsaw/.chainsaw.yaml index edac3d749..ffc1842ae 100644 --- a/hack/e2e-chainsaw/.chainsaw.yaml +++ b/hack/e2e-chainsaw/.chainsaw.yaml @@ -28,14 +28,14 @@ spec: # Global failure handler: on any test error, capture a crust-gather snapshot of # the HOST cluster BEFORE Chainsaw's cleanup deletes the test's resources. This # is the Chainsaw analog of the per-failed-test EXIT-trap host snapshot in - # hack/cozytest.sh (which only covers the BATS install/openapi tests) — without - # it the Chainsaw app suite uploads a cozyreport.tgz with zero per-test - # snapshots. Combines additively with the per-test events/describe catches in - # each suite; the nested-tenant snapshot for the kubernetes-* tests is captured - # separately by hack/e2e-chainsaw/_lib/run-kubernetes.sh while its LB is alive. - # The snapshot lands under the _out/cozyreport/snapshots// tree that - # hack/cozyreport.sh folds into the uploaded artifact, so each failed test - # keeps its own `crust-gather serve`-able cluster state. + # hack/cozytest.sh (which covers the BATS prepare-cluster, install and openapi + # tests) — without it the Chainsaw app suite uploads a cozyreport.tgz with zero + # per-test snapshots. Combines additively with the per-test events/describe + # catches in each suite; the nested-tenant snapshot for the kubernetes-* tests + # is captured separately by hack/e2e-chainsaw/_lib/run-kubernetes.sh while its + # LB is alive. The snapshot lands under the _out/cozyreport/snapshots// + # tree that hack/cozyreport.sh folds into the uploaded artifact, so each failed + # test keeps its own `crust-gather serve`-able cluster state. # # Every catch script below carries an explicit `timeout:`. A Chainsaw script # op is bounded by `timeouts.exec` (5m above) unless it overrides it, and the diff --git a/hack/e2e-chainsaw/README.md b/hack/e2e-chainsaw/README.md index 0e7ac4729..319e7a50f 100644 --- a/hack/e2e-chainsaw/README.md +++ b/hack/e2e-chainsaw/README.md @@ -2,7 +2,7 @@ The Cozystack E2E app suite, written for [Kyverno Chainsaw](https://github.com/kyverno/chainsaw) — a declarative, Kubernetes-native E2E test framework (CNCF, part of the Kyverno project; successor to KUTTL). -This directory replaces the per-app BATS suite that used to live in `hack/e2e-apps/*.bats`. The CI `e2e` job runs `chainsaw test hack/e2e-chainsaw/` after `make install-cozystack`; cluster bootstrap (`hack/e2e-install-cozystack.bats`) and the OpenAPI checks (`hack/e2e-test-openapi.bats`) remain BATS. +This directory replaces the per-app BATS suite that used to live in `hack/e2e-apps/*.bats`. The CI `e2e` job runs `chainsaw test hack/e2e-chainsaw/` after `make install-cozystack`; cluster bootstrap (`hack/e2e-prepare-cluster.bats`, `hack/e2e-install-cozystack.bats`) and the OpenAPI checks (`hack/e2e-test-openapi.bats`) remain BATS. ## Layout