summaryrefslogtreecommitdiffstats
path: root/build/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2016-01-29Create local mirrors for offline installationMichal Skalski1-1/+1
- switch to fuel-mirror [1] - plugin developers can create packages.yaml file with names of required packages - use custom configuration for fuel-bootstrap which always point to local repositories - delay process of bootstrap image creation until mirrors will be ready [1] https://github.com/openstack/fuel-mirror Change-Id: Ie4a47c8cc13d9ded8c6b5fe48cdcbfeb1f6277a4 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-01-27Merge "Revert "Fix build failure in fuel base & qemu""Stefan K. Berg1-1/+0
2016-01-24Cache as we go instead of in the endStefan K. Berg1-4/+3
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>
2016-01-24Break early in build if docker-in-docker failsStefan K. Berg1-0/+2
Change-Id: Ic5d8779f938133a958627170bd379198bec36342 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2016-01-22Select closest Fuel mirror as measured by pingStefan K. Berg1-1/+1
Select the (hopefully) geographically closest Fuel mirror to speed up the build time. Change-Id: I586d90ae58a9c22b1cf60df1bdb907c0e97486fa Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2016-01-22Merge "Store Fuel ISO in build cache as it is built"Stefan K. Berg1-0/+4
2016-01-22Restore ISO file name to make CI functional againStefan K. Berg1-2/+2
An overzealous designer :) renamed the ISO output file, which broke CI. This will put everything right again. Change-Id: I25dca7ecfaa679872ee3d670b5df56333b3321c4 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2016-01-22Store Fuel ISO in build cache as it is builtStefan K. Berg1-0/+4
Right not the build cache is populated after a full (successful) build. As the Fuel ISO takes some time to build, this saves quite some time in the cases where the ISO is built successfully but a following plugin build fails. Change-Id: Ic6be1f5b5d00b9436eb0f82911cf28b449d0a156 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2016-01-21Use mirrors snapshotsMichal Skalski1-0/+18
Add logic to fetch information about last suitable snapshot which can be used to download ubuntu packages. This is for example use to build community ISO [1]. This should help in case of snapshot switch [2]. [1] https://github.com/fuel-infra/jenkins-jobs/blob/master/servers/fuel-ci/8.0/builders/community.all.sh#L36-L40 [2] https://bugs.launchpad.net/fuel/+bug/1493390/comments/9 Change-Id: Id5a8d41278561473ea4844631bfefa0049e64dbc Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-01-21Turn on fuelmenu by default, turn off biosdevnameStefan K. Berg1-6/+7
Added experimental Fuel build loop, rebuilding up to ten times while keeping the package cache, in the hope that all packages will be able to download. Added snapshot support into this script as well. Changed naming of OPNFV iso label to OPNFV_FUEL_<id>, made changes in ks.cfg and isolinux.cfg to look for this name at install. Change-Id: Ic28a3af769cfc90416d7d988afd6f07eadcef4f1 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2016-01-19Revert "Fix build failure in fuel base & qemu"Stefan K. Berg1-1/+0
This reverts commit 0a35e64026402a672af343427bf591142babb6be.
2016-01-18Correction of cache handling for ISO buildStefan K. Berg1-3/+5
The cache id was not generated considering config.mk nor Makefile. Change-Id: I29ae0d60b89d4653cb38cffe83f666c5056daf63 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2016-01-17Merge "Fuel 8 uplift"Stefan K. Berg1-5/+4
2016-01-17Fuel 8 upliftStefan K. Berg1-5/+4
Introducing Fuel 8 with associated changes: Improvements in usage of cgroups - they are now bind mounted from the host which solved a Docker-in-Docker problem. The cache tool (cache.mk) has a new argument "getbiweek" which is used by the top Makefile when building the Fuel ISO. This makes sure that there's a fresh build every second week even if the cache is not purged automatically based on its meta data. This is something we should add everywhere (in a separate change set). And obviously, Fuel is now building from stable/8.0 upstream. NOTE! f_repobuild has been disabled for now, it throws an error when run. Will be fixed separately. Change-Id: I7e2ee737fd3bedc75f58539fbc3c5fd1fa08cfa1 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2016-01-13Fix build failure in fuel base & qemuRuijing Guo1-0/+1
Change-Id: I4a6cc047011547402641619a5683af3d24c057ee Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
2015-12-18Uplift of Docker versionsStefan K. Berg1-0/+4
The Docker version 1.5.0 is no longer allowed to acces the Docker remote image repository! Switching to version 1.7.1 instead. Change-Id: Id71cab4b26a02e98a3bb51f31caa394bcf25b7d9 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-12-03Support for selecting which plugins to buildStefan K. Berg1-0/+6
In order to cut the build time for unofficial builds, this change supports setting the environment variable "BUILD_FUEL_PLUGINS" prior to building. Only the plugin targets from fuel/build/f_isoroot/Makefile that are specified will then be built. In order to completely disable the building of plugins, the environment variable is set to " ". When using this functionality, the resulting iso file will be prepended with the prefix "unofficial-" to clearly indiciate that this is not a full build. Change-Id: Ib0a914ed6577f54f31b056a752691316302081dc Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-11-27Restructcture of the directory layoutJonas Bjurel1-0/+197
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>