commit | 221eedaa40a5e188e3333fe880759e85203209ad | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Thu Mar 08 13:32:43 2018 +1030 |
committer | Andrew Jeffery <andrew@aj.id.au> | Tue Mar 20 07:40:16 2018 +1030 |
tree | c9e11f145d03299d98cd6b9b6dfd9672a67b6cb9 | |
parent | 7be94cad9bb5c475009a4adbdbb8e73fc326940c [diff] |
build-unit-test-docker.sh: Bake heavily-used repos into Docker image Introduce a handful of core OpenBMC packages and a new file into the docker image, /root/.depcache, which contains a comma-separated list of ${PACKAGE}:${COMMIT_ID} pairs. The commit ID represents the HEAD of https://github.com/openbmc/${PACKAGE} master. The way the Dockerfile change is structured means that we will rebuild the image to use updated packages whenever the upstream master changes. This improves build times by allowing us to avoid building the core dependencies for every CI run whilst still keeping the environment up-to-date. Tested: Ran run-unit-test-docker.sh, confirmed no regressions Change-Id: I4e0e1a86ffc0a26107d328a3418d6afa27b8f375 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Build script for CI jobs in Jenkins.