You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: parallelize docker build and push for release
* chore: parallelize docker build and push for release
* chore: parallelize docker push for release
use make jobs to parallelize docker push targets
Signed-off-by: Killian Muldoon <[email protected]>
* chore: parallelize docker build and push for release
add make parallelization for docker builds and release
Signed-off-by: Killian Muldoon <[email protected]>
Based on release-v25.7@4819b4e4dc5a848fb7d51402a19d7beb5e6a1d03
docker-build-all: $(addprefix docker-build-,$(DOCKER_BUILD_TARGETS))## Build docker images for all DOCKER_BUILD_TARGETS. Architecture defaults to build system architecture unless overridden or hardcoded.
852
+
docker-build-all:
853
+
$(MAKE) -j$(PARALLEL_JOBS) --output-sync=target $(addprefix docker-build-,$(DOCKER_BUILD_TARGETS))## Build docker images for all DOCKER_BUILD_TARGETS. Architecture defaults to build system architecture unless overridden or hardcoded.
.PHONY: docker-push-dpf-system # Push a multi-arch image for DPF System using `docker manifest`. The variable DPF_SYSTEM_ARCH defines which architectures this target pushes for.
.PHONY: docker-push-ovn-kubernetes # Push a multi-arch image for ovn-kubernetes using `docker manifest`. The variable DPF_SYSTEM_ARCH defines which architectures this target pushes for.
.PHONY: docker-push-storage-system # Push a multi-arch image for snap-csi-plugin using `docker manifest`. The variable DPF_SYSTEM_ARCH defines which architectures this target pushes for.
.PHONY: docker-push-storage-host # Push a multi-arch image for storage-host using `docker manifest`. The variable DPF_SYSTEM_ARCH defines which architectures this target pushes for.
.PHONY: docker-push-bfb-registry # Push a multi-arch image for BFB Registry using `docker manifest`. The variable DPF_SYSTEM_ARCH defines which architectures this target pushes for.
.PHONY: docker-push-bfb-registry # Push a multi-arch image for BFB Registry using `docker manifest`. The variable HOST_ARCH defines which architectures this target pushes for.
1215
+
docker-push-bfb-registry:
1216
+
# Push each architecture sequentially and build manifest incrementally
docker-push-all: $(addprefix docker-push-,$(DOCKER_BUILD_TARGETS))## Push the docker images for all DOCKER_BUILD_TARGETS.
1233
+
docker-push-all:
1234
+
$(MAKE) -j$(PARALLEL_JOBS) --output-sync=target $(addprefix docker-push-,$(DOCKER_BUILD_TARGETS))## Push the docker images for all DOCKER_BUILD_TARGETS.
1211
1235
1212
1236
.PHONY: docker-push-dpf-system
1213
1237
docker-push-dpf-system: ## This is a no-op to allow using DOCKER_BUILD_TARGETS.
0 commit comments