Age | Commit message (Collapse) | Author | Files | Lines |
|
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)
|
|
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>
|
|
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>
|
|
This commit fixes the failing master build:
https://build.opnfv.org/ci/view/fuel/job/fuel-build-master/80/
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
On behalf of Nikolas Hermanns <nikolas.hermanns@ericsson.com>
Change-Id: Idd7c6cf00f9bc0792d70953d57f4c32f223d547d
|
|
READY TO MERGE
JIRA: FUEL-48
Change-Id: Idc44966f32caf8728580bac8bcc89981f7c987ba
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
|