From 5a4cedb9c1ddebd051c61cdbae420c59732f63d0 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sat, 27 May 2023 18:13:51 -0600 Subject: 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 Change-Id: I6488799256f57ad64e14c93e7317b7ad2a71781c Reviewed-on: https://review.coreboot.org/c/coreboot/+/75494 Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer --- util/docker/coreboot-sdk/Dockerfile | 34 ---------------------------------- 1 file changed, 34 deletions(-) (limited to 'util/docker/coreboot-sdk') diff --git a/util/docker/coreboot-sdk/Dockerfile b/util/docker/coreboot-sdk/Dockerfile index d645aa0b84..74b80ab04b 100644 --- a/util/docker/coreboot-sdk/Dockerfile +++ b/util/docker/coreboot-sdk/Dockerfile @@ -113,39 +113,5 @@ ENV SDK_VERSION={{SDK_VERSION}} ENV SDK_COMMIT={{DOCKER_COMMIT}} USER coreboot -FROM coreboot-sdk -# Test the built image -RUN mkdir -p /tmp/work && \ - cd /tmp/work && \ - git clone https://review.coreboot.org/bios_extract.git && \ - make -C bios_extract && \ - git clone https://review.coreboot.org/memtest86plus.git && \ - make -C memtest86plus && \ - git clone https://review.coreboot.org/flashrom.git && \ - CONFIG_EVERYTHING=yes make -C flashrom && \ - git clone https://review.coreboot.org/em100.git && \ - make -C em100 && \ - git clone https://review.coreboot.org/coreboot.git && \ - (cd coreboot && git submodule update --init --checkout ) && \ - make -C coreboot CPUS=$(nproc) test-abuild - -RUN \ - cd /tmp/work && \ - make -C coreboot olddefconfig && \ - make -C coreboot all -j && \ - make -C coreboot printall && \ - make -C coreboot filelist && \ - make -C coreboot ctags-project && \ - make -C coreboot cscope-project - -RUN \ - cd /tmp/work && \ - make -C coreboot test-payloads&& \ - make -C coreboot test-tools -j && \ - make -C coreboot test-lint -j && \ - make -C coreboot test-cleanup -j && \ - cd && \ - rm -rf /tmp/work/ - FROM coreboot-sdk VOLUME /home/coreboot/.ccache -- cgit v1.2.3