mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-06-08 00:16:16 -02:30
image-builder: run validation with Dind (#13212)
* image-builder: run validation locally with BuildKit * upadte checksum * set BuildKit no-process-sandbox flag for CI * run BuildKit with rootless-safe daemon flags in CI * update * updating root logic * fix ci failure for can't enable NoProcessSandbox * switch to stable url * add --oci-worker-no-process-sandbox ci flag in root path * add more support * add validate-docker and validate-single docker
This commit is contained in:
@@ -65,6 +65,8 @@ cd test-infra/image-builder/
|
||||
make validate
|
||||
```
|
||||
|
||||
This validation path runs locally and uses BuildKit, so it does not depend on SSH access to the remote builder host or a Docker daemon.
|
||||
|
||||
### Build only for one image
|
||||
|
||||
```bash
|
||||
@@ -76,3 +78,4 @@ make validate-single image_name=ubuntu-2404
|
||||
|
||||
- `kubevirt_images_push` (default: `true`): when `false`, skip docker login/push/logout.
|
||||
- `kubevirt_images_selected` (default: `[]`): list of image keys to build. Empty list builds all images.
|
||||
- `kubevirt_container_builder` (default: `docker`): use `buildkit` for local CI validation without Docker daemon access.
|
||||
|
||||
Reference in New Issue
Block a user