osbuild / cloud-cleaner

cloud-cleaner is a tool that removes leftover cloud resources from testing
Apache License 2.0
5 stars 4 forks source link

make CONTAINER_RUNTIME optional #10

Closed ondrejbudai closed 1 year ago

ondrejbudai commented 1 year ago

Running separate modules inside a container with all cloud-tools preinstalled is a very nice way of running cloud-cleaner in CI systems.

This commit therefore removes the check for a container runtime. The container runtime is now only required if the host misses the required cloud tool.

@jabia99 The github actions PoC doesn't work, but this PR should fix it. However, the scheduled cloud cleaner in gitlab survived! :) https://gitlab.com/redhat/services/products/image-builder/ci/osbuild-composer/-/jobs/3645894329