debian-forge-composer/cmd/osbuild-image-tests
Ondřej Budai 3475c54505 test/azure: fix the disk cleanup
Previously, all resouces were created with a certain tag. When the cleanup
phase came, the Resources - List route[1] was used to get all resources with
the tag. Then, they were deleted in the right order.

Sadly, the Resources - List API has issues with listing disks. Sometimes,
it returns the virtual disks 15 minutes after they were created. As the
result, the disks have been left behind quite often and our bill was higher
than necessary.

This commit uses a different method - the Go code now knows all resource names
(see the previous commit), so it can delete all resources without listing them
using the "broken" API route.

[1]: https://docs.microsoft.com/en-us/rest/api/resources/resources/list
2020-07-09 12:50:06 +02:00
..
azuretest test/azure: fix the disk cleanup 2020-07-09 12:50:06 +02:00
constants test/image: pass a temporary store to osbuild 2020-06-10 17:00:18 +02:00
openstacktest tests: upload & boot image in OpenStack. Closes #339 2020-06-23 16:17:30 +02:00
aws.go tests/image/ami: test ami images on AWS 2020-04-06 16:38:28 +02:00
context-managers.go test/image: move qemu code around 2020-05-15 08:01:53 -05:00
helpers.go tests/image/ami: test ami images on AWS 2020-04-06 16:38:28 +02:00
main_test.go tests: upload & boot image in OpenStack. Closes #339 2020-06-23 16:17:30 +02:00
netns.go osbuild-image-tests: add missing build constraints 2020-03-22 13:50:28 +01:00