commit | e6870198102d060b8137e88658bf9bca42055299 | [log] [tgz] |
---|---|---|
author | Alanny Lopez <alanny.lopez@ibm.com> | Mon Apr 24 15:25:59 2017 -0500 |
committer | Andrew Geissler <geissonator@yahoo.com> | Fri Jun 02 14:57:51 2017 +0000 |
tree | 6a3cd14730754ca7109f6dbc740f40dd1e0a4be6 | |
parent | ccc650e6ef45d4328c1d2318544f7cee04b02e58 [diff] |
Openbmc clone occurs in build script using a repo cache Will be adding a new variable for a directory that acts as a cache for the OpenBMC repo. If this directory doesn't exists it will clone in like before. If it exists it will not clone in the repo. There is a need for the openbmc build directory to not be mounted externally in the Kubernetes implementation. To satisfy this constraint the cache will be used as a mounted directory which is used as a reference for the git clone that will now occur in the build.sh to speed up the clone. Doing it in the build.sh portion so that docker caching doesn't affect the process. The old obmcdir will now be an internal directory in the build container, it can be hardcoded into the build.sh/dockerfiles. Will be leaving it intact in case we need it to be a variable. Change-Id: I0446fa42a17ac9d577b3a3b26bd60fad890265ad Signed-off-by: Alanny Lopez <alanny.lopez@ibm.com>
Build script for CI jobs in Jenkins.