fix(hack): keep the backup stack in the vminstance selective install

The vminstance Chainsaw suite carries the VMInstance and VMDisk Velero
round-trips. Both build the cozy-default BackupStorageLocation and the
platform bucket from the backupstrategy-controller package, but the
selective install retained that package only for the database and
broker suites. A selection of vminstance alone therefore installed a
platform with no Bucket, no BucketClaim and no BSL, and both
round-trips timed out on the BSL wait before running a step of the
example scripts.

Every pull request whose selection is exactly vminstance hits this,
and that includes each edit to examples/backups/vmi and
examples/backups/vmdisk, which select that suite on purpose.

Assisted-by: LLM
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
(cherry picked from commit 9a782f697a)
This commit is contained in:
Myasnikov Daniil authored and github-actions[bot] committed 2026-10-22 10:31:14 +00:00
1 parent cb7213deb6
commit 8ba8386a2e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -141,7 +141,7 @@ suite_to_source() {
# would also change reverse test selection.
suite_runtime_sources() {
case "$1" in
clickhouse|etcd|kafka|kafka-metadata|mariadb|mongodb|postgres|rabbitmq|redis|valkey)
clickhouse|etcd|kafka|kafka-metadata|mariadb|mongodb|postgres|rabbitmq|redis|valkey|vminstance)
echo cozystack.backupstrategy-controller ;;
gateway) echo cozystack.kubeovn-webhook ;;
esac
+1 -1
View File
@@ -177,7 +177,7 @@ assert_output_graph_error() {
}
@test "backup suites keep the APIs used by their roundtrip examples" {
for suite in clickhouse etcd kafka kafka-metadata mariadb mongodb postgres rabbitmq redis valkey; do
for suite in clickhouse etcd kafka kafka-metadata mariadb mongodb postgres rabbitmq redis valkey vminstance; do
keep=$(hack/select-install.sh "$suite")
drop=$(hack/select-install.sh --disabled "$suite")
for required in cozystack.backupstrategy-controller cozystack.backup-controller \