From cf72a8963e12159e18b4bd09997c688db217502f Mon Sep 17 00:00:00 2001 From: Juan Abia Date: Fri, 4 Feb 2022 09:37:52 +0100 Subject: [PATCH] test: update README with cloud cleaner info update testing documentation with the purpose of 'cloud cleaner' and 'scheduled cloud cleaner' --- test/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/README.md b/test/README.md index 50239222f..9ac7020f3 100644 --- a/test/README.md +++ b/test/README.md @@ -250,6 +250,16 @@ an issue where the first line in the credentials file gets lost resulting in incomplete credentials. The work-around is to define a dummy ENV variable on the first line! +### Cloud cleaner + +Some tests deploy images to different clouds. After the tests run, these images +get removed by cloud cleaner (`cmd/cloud-cleaner`). But if something fails during the tests, or the +pipeline gets canceled, that image could get left behind in the cloud, wasting +resources. + +To deal with this problem, we have scheduled cloud cleaner (`schutzbot/scheduled_cloud_cleaner.sh`), that goes through all +the clouds looking for testing resources that were not removed. + ## Integration testing Since `osbuild-composer` externally provides two types of API, there also