commit | 2cb0c7af397d10079f304cc55d34686eb9d093d2 | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Thu Mar 08 13:19:08 2018 +1030 |
committer | Andrew Jeffery <andrew@aj.id.au> | Tue Mar 20 07:40:16 2018 +1030 |
tree | a4249a1a75a7e98e8ab5c1c34611b0e7ad4e2844 | |
parent | 221eedaa40a5e188e3333fe880759e85203209ad [diff] |
scripts/unit-test.py: Don't build repositories already present The previous change enhances the docker build script to bake some heavily-used repositories straight into the docker image as a way to save time. We use a file at the magic path /root/.depcache to hold a comma-separated list of of $PACKAGE:$COMMIT_ID pairs, where $COMMIT_ID represents the commit at the tip of the master branch of the associated $PACKAGE (from https://github.com/openbmc/) built into the Docker image. We can skip building any package listed in /root/.depcache as it's already present, so don't add it to the dependency graph. Tested: Ran run-unit-test-docker.sh, confirmed no unnecessary building of packages. Change-Id: If59a2813b8e7331b1706e4c09ee7080d72b95e3c Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Build script for CI jobs in Jenkins.