aboutsummaryrefslogtreecommitdiffstats
path: root/build/cache.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-02-22Correction of biweek caching logicStefan Berg1-1/+1
Change-Id: I7c7466da3d07587da322467e294cd0a793a3fc37 Signed-off-by: Stefan Berg <sfb@consultron.com>
2016-01-29Brahmaputra master syncStefan Berg1-0/+13
Signed-off-by: Stefan Berg <sfb@consultron.com>
2016-01-29Cache as we go instead of in the endStefan K. Berg1-1/+6
In order to speed up the build process when building with the cache enabled, cache immediately following the build of a sub artifact instead of at the end. Should the build fail, we don't need to rebuild those parts that already were successful in the last build. Change-Id: I23b59f7ba4a04272aea855cf451793158fe12241 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com> (cherry picked from commit d2c5a1dde91d10b4f3f9f5ac0b1570527247e03c)
2015-12-21Align all plugins with new method for cache idStefan K. Berg1-2/+21
The cache tool is now responsible for returning the commit ID of a branch, tag or commit. This change was first introduced in the bgpvpn plugin and now the rest of the plugins with a need for this are also using the same method. Without this, a plugin pointing to a commit ID on master would fail to build once the head of master is updated to point to a later commit... Change-Id: I7c32d5b41871741717ae42c1334e8557f0b0bedd Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-12-18Fix for cache handlingStefan K. Berg1-9/+41
Introduced a separate function "getcommitid" in the cache.sh - a.k.a. $(CACHETOOL) - so that given a repo and a tag, branch or commitid the corresponding commitid is returned. The same principle should be used in all caching functions where not a strict tag or head is specified (as git ls-remote will not be able to figure out the commit id in those cases). Change-Id: I3540dca7ab408c872eaabdc68d4058f9d6d7c45f Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-11-27Restructcture of the directory layoutJonas Bjurel1-0/+112
Restructure of the directory layout due to move of Fuel into it's own repo JIRA: FUEL-85 Change-Id: I3647e1992a508f29dce06a5d6c790725c527f6f5 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>