summaryrefslogtreecommitdiffstats
path: root/build/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2016-02-07We need to preserve environment for sudo buildStefan K. Berg1-1/+1
In order to preserve environment variables (esp commit ids) for the Fuel build, the environment needs to be kept when the build loop is run. Change-Id: Ia044ea92853147280db0686ac857beda52ab50dc Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2016-02-06Correction of version pinning in cached buildsStefan K. Berg1-2/+0
The previous version did not consider the caching functionality (and was overly complicated). Now moving exact versions to config.mk. Change-Id: I9f9736ae579dae983eff98cb3a371a53ff4e0207 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2016-02-05Merge "Pin down exact Fuel repo versions" into stable/brahmaputraStefan Berg1-0/+2
2016-02-05Pin down exact Fuel repo versionsStefan Berg1-0/+2
Change-Id: Ie4284f15c08ced3267a1250ec6e21827fc49170d Signed-off-by: Stefan Berg <sfb@consultron.com>
2016-02-05Added environment sanity checks for build.Jonas Bjurel1-0/+6
Based on a discussion I and Stefan had today, better to check early on than crash hours in to the build with vague information of the root-cause. Added checks: - Linus distro - must be Ubuntu - Kernel version - must be 3.19 or later - Docker network sanity check Change-Id: Ie6758064ade4c58388368106d9bc556730d2bcec Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com> (cherry picked from commit 8f9613b11ce6828670e23dfcc9c46107fdffd92f)
2016-01-29Brahmaputra master syncStefan Berg1-3/+1
Signed-off-by: Stefan Berg <sfb@consultron.com>
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> (cherry picked from commit f595c31b29147efb1410756b491ff7bf48d256ec)
2016-01-29Revert "Fix build failure in fuel base & qemu"Stefan K. Berg1-1/+0
This reverts commit 0a35e64026402a672af343427bf591142babb6be. (cherry picked from commit 567c751216af815920caa7a495822aa902a3aa0a) Change-Id: I7cf4a9f980ea74bcc8d3fe95a369e055b479e2f7
2016-01-29Merge "Cache as we go instead of in the end" into stable/brahmaputraStefan K. Berg1-4/+3
2016-01-29Cache 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> (cherry picked from commit d2c5a1dde91d10b4f3f9f5ac0b1570527247e03c)
2016-01-29Break 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> (cherry picked from commit f7237753a6f07b872cea23331c1e779941906ace)
2016-01-29Select 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> (cherry picked from commit 49ccd1f337d09cc84b168afd970acaa2aaceff25)
2016-01-29Restore 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> (cherry picked from commit d0d32d0dcde36e4a6a60e5846bfa1204e98b2d10)
2016-01-29Store 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> (cherry picked from commit c31529bb3b54a4c0db244c0929659f120f735fab)
2016-01-29Use 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> (cherry picked from commit 394c79fe428faa9c50ed1db6d750b363b44130b9)
2016-01-29Turn 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> (cherry picked from commit 35697966da656585c43e2a2342a135ada65703cb)
2016-01-29Correction of cache handling for ISO buildStefan K. Berg1-5/+8
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> (cherry picked from commit dc8eec07243d65c99be15bda2c112c35caa48c54)
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>