Open AverageMarcus opened 3 weeks ago
@AverageMarcus: This request has been marked as needing help from a contributor.
Please ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met.
If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-help
command.
Is your feature request related to a problem? Please describe.
We've had a few instances now where changes introduced issues into existing targets, e.g.
and most recently https://github.com/kubernetes-sigs/image-builder/pull/1596 caused an issue for all OS's that made use of init data that wasn't caught during manual testing due to focussing on Flatcar.
Describe the solution you'd like
Where possible we should have automated tests in place to ensure that all currently supported providers and operating systems can build successfully with default values (this might be tricky in situations where there are required values).
This issue is aimed at tracking the progress of this effort and should be updated as progress is made.
Ideally, we should implement provider-specific tests that then build all OSs for that provider (e.g. using the
make build-raw-all
that should trigger all supported OSs).Progress
pull-azure-vhds
&pull-azure-sigs
. These make use ofci-azure-e2e.sh
but uses a pre-defined list of target (azure_targets.sh
). Ideally we should try to update this to dynamically load all targets we support.pull-image-builder-gcp-all
that usesci-gce.sh
but this is currently configured as an optional test and not automatically run on any PRs. We should update this to at least trigger when changes to GCE files are made, similar to the Azure ones. (see https://github.com/kubernetes-sigs/image-builder/issues/1601)Describe alternatives you've considered
Manual testing but this, as we have seen, isn't enough to catch all the issues.
Additional context
Many of the providers will require actual cloud infrastructure to be able to run the build process. This is likely to be difficult to get unless the respective cloud providers are willing to donate resources for this purpose. (Please reach out to us if you are able to provide these resources)
/kind feature /lifecycle frozen /help /priority important-longterm /triage accepted