diff options
author | Martin Roth <gaumless@gmail.com> | 2023-07-21 14:10:51 -0600 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-08-04 20:53:47 +0000 |
commit | 18fd3a23151deeb10cfbb93118b395795165ee20 (patch) | |
tree | 9f5a120a6fe42670b342cd9215bd8a51dd6d3a23 /util/docker/coreboot-jenkins-test/Dockerfile | |
parent | 799e79d166395b26dc22733f48a565dd18777e7e (diff) |
util/docker: Update coreboot-sdk-test to coreboot-jenkins-test
The coreboot-jenkins-test docker image takes the coreboot-jenkins-node
docker image and runs a series of tests to verify that things build
properly.
This was original created to test the coreboot-sdk, but build functions
like the documentation have been moved from the sdk image into the
jenkins node, so the test needs to be renamed.
Add the makefile target to the help and phony target list at the same
time.
Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: I0e6282bbb163064f177c8e68e7180ba2bdc101f1
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76706
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'util/docker/coreboot-jenkins-test/Dockerfile')
-rw-r--r-- | util/docker/coreboot-jenkins-test/Dockerfile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/util/docker/coreboot-jenkins-test/Dockerfile b/util/docker/coreboot-jenkins-test/Dockerfile new file mode 100644 index 0000000000..030c4d2bbc --- /dev/null +++ b/util/docker/coreboot-jenkins-test/Dockerfile @@ -0,0 +1,34 @@ +FROM coreboot/coreboot-jenkins-node:{{SDK_VERSION}} + +# 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/ |