util/docker: Split coreboot-sdk test into its own docker image
This allows the coreboot-sdk docker image to build properly even if the testing fails, and keeps the added overhead out of the coreboot-sdk image. Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: I6488799256f57ad64e14c93e7317b7ad2a71781c Reviewed-on: https://review.coreboot.org/c/coreboot/+/75494 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
This commit is contained in:
committed by
Martin L Roth
parent
4aa31ac3f9
commit
5a4cedb9c1
@@ -48,6 +48,11 @@ coreboot-sdk: test-docker
|
||||
sed "s/{{CROSSGCC_PARAM}}/$(COREBOOT_CROSSGCC_PARAM)/g" | \
|
||||
$(DOCKER) build -t coreboot/coreboot-sdk:$(COREBOOT_IMAGE_TAG) -
|
||||
|
||||
coreboot-sdk-test: coreboot-sdk test-docker
|
||||
@echo "Testing coreboot SDK $(crossgcc_version), built from commit $(DOCKER_COMMIT)"
|
||||
cat coreboot-sdk-test/Dockerfile | \
|
||||
$(DOCKER) build -t coreboot/coreboot-sdk-test:$(COREBOOT_IMAGE_TAG) -
|
||||
|
||||
upload-coreboot-sdk: test-docker-login
|
||||
$(DOCKER) push coreboot/coreboot-sdk:$(COREBOOT_IMAGE_TAG)
|
||||
|
||||
|
Reference in New Issue
Block a user