summaryrefslogtreecommitdiffstats
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2016-02-15Fix for blacklisting Ubuntu mirrors with "issues"Stefan Berg1-1/+6
Change-Id: Id60f2625c2d84695b86b5b7bce3271babcefde12 Signed-off-by: Stefan Berg <sfb@consultron.com>
2016-02-14Fixed deployment timeout and OVSNFV plugin buildJonas Bjurel2-6/+6
- Increase deployment timeout to 4h since some deplyments takes more than 3h (KVM) - Fixed build interference between OVSNFV and OVS-NSH where the later removed the OVSNFV build result from release/opnfv. A propper fix for SR2 is to have f_isoroot/Makefile remove the release directory before build, and not have the plugins removing anythin in release Change-Id: Ibca986554087d6a7f12ed8c7cc6fdd4919368ad2 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2016-02-10Put ubuntu mirror in predictable directoryMichal Skalski1-5/+6
Change-Id: I05cb8dfcf8d8b7cf256c6e6d900f1a90a2b2870e Signed-off-by: Michal Skalski <mskalski@mirantis.com>
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-06Enable use of Fuel library commit ids for mirrorStefan K. Berg1-1/+4
If FUEL_MIRROR_COMMIT is set (indicating a pinning of all Fuel repositories), use that one instead of FUEL_MAIN_TAG. Change-Id: I4af82cf63f8e846d757a583836fce8bb78d93906 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2016-02-05Merge "Added environment sanity checks for build."Jonas Bjurel1-0/+6
2016-02-05Don't download packages which are already on ISOMichal Skalski3-16/+1
It is not necessary to create local mirrors with mos-ubuntu packages for our purpose. These packages are already included on ISO, we only need these from ubuntu upstream repositories. Change-Id: I26d88019981b32e7fdb69a0a608a910bbe4d623a Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-02-04Added 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>
2016-02-04Remove leftover from old plugin configurationsMichal Skalski7-7/+0
Change-Id: Id1008ffbbfa4f30b63997f77183cc802ee01fcd6
2016-02-04Correcting license and copyright terms throughout the repoJonas Bjurel24-239/+63
Please review this carefully! Strategy: 1) No strict research on copyright/who did what (if you want it changed contact the Fuel team or Jonas Bjurel) 2) Licence statements will not be added to the following file types: - Patch files or orig files for patches - Config files generated by ordinary tools, like libvirt/visrsh - GIT dierctive file - Other auto-generated files Change-Id: I48504c6f27925445dc44683a27a575bcab78d828 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2016-02-04Uplift fuel-plugin-bgpvpn to fuel8.0Nikolas Hermanns1-1/+1
Change-Id: I69d86ea7d7ab794582a9cac05ceee544b35608fa
2016-02-03Properly handling ubuntu directory as a non top of repositoryMichal Skalski1-2/+3
Change-Id: Ie7d921b3728df937dc719cd638fa7ae035fc9307 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-02-03Sync with upstream repositoryMichal Skalski4-14/+14
Revert to default Fuel partition schema which is now based on percentage usage. Change-Id: I04884dc0e33f8fc7198334db1cb1f7364669b22c Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-02-01Fix KVM/QEMU bugsDavid Chou1-1/+1
1. fix kvm boot issue 2. fix qemu/libvirt compatability issue Change-Id: I9de950ce971d5d51da1a5e3876fff805b5ce118d Signed-off-by: David Chou <david.j.chou@intel.com>
2016-01-30Increase size of var partition on Fuel MasterMichal Skalski2-25/+65
Because we want to store local mirrors it could happen that there will be no enough space on var partition to build installation os image. Also sync with upstream changes. Change-Id: I95161453d72bdee2b6992955b0634d33c64f0b4e Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-01-29Create local mirrors for offline installationMichal Skalski12-44/+173
- 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-28Rebase Fuel OVS & QEMU plugin to Fuel 8.0Ruijing Guo3-4/+4
Change-Id: I73a3e5e64d7987c773d3f543f6ad94cdf96d2bdb Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
2016-01-28fuel-plugin-vsperf: Change repo for vswitchperf pluginBilly O'Mahony3-7/+8
Change-Id: I694039c2762f17dfa4fdb642ad34e31aa7e2362a Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com>
2016-01-28fuel-plugin-ovsnfv: Enable plugin after rebaseBilly O'Mahony1-1/+1
Change-Id: I08ae033e905cae9c2f7cd4f8cc66e8f78f1d54c4 Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com>
2016-01-28onosfw plugin for 8.0dongfeng2-2/+2
Change-Id: I7804986242e9e2ac556a17b3475e7af48cec2756
2016-01-28New verified version of OpenDaylightMichal Skalski1-2/+1
New autorelease version of ODL is available: daily-v201601270140 In this version problems with missing openflow tables seems to not occur. Change-Id: I95ce171b02ee5775f0e63f1e601d0c78edb4b178 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-01-28Rebase of ks.cfg due to upstream changesStefan K. Berg2-0/+14
Change-Id: I488851ded40e88180359d545259ec0631416d32d Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2016-01-27Merge "Revert "Fix build failure in fuel base & qemu""Stefan K. Berg2-19/+0
2016-01-26Sync with recent changes in fuel-mainMichal Skalski3-15/+32
Change-Id: Ife63c8c69e0e17150c198a7a75788a13b8df0d81 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-01-25Turn predictable network interface names back onStefan K. Berg1-4/+1
Returning to the stock behaviour of Fuel 8. Change-Id: I410253f89b28ece93a792937f9c1abccb8552311 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2016-01-24Cache as we go instead of in the endStefan K. Berg10-5/+33
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-24Merge "All plug-ins except those explicitly rebased are disabled"Jonas Bjurel1-1/+2
2016-01-24All plug-ins except those explicitly rebased are disabledJonas Bjurel1-1/+2
Plugin providers need to enable plugins as they get rebased to Fuel8 and builds successfully Change-Id: Iea0847a1fc0484cf0900912ab6e07bfa501bc479 Signed-off-by: Jonas Bjurel <jonas.bjurel@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-23Start sshd daemon before fuelmenuMichal Skalski1-3/+5
OPNFV deploy script require ssh connectivity to fuel master node to discover if fuelmenu process is started. Change-Id: Ib9aa61f98d15d0554b135f4c0c8887cd0a2d36ce Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-01-22OpenDaylight plugin for brahmaputra releaseMichal Skalski1-1/+1
Include new version of fuel-plugin-opendaylight. Changes in this version: - Support MOS 8.0. - Move ODL installation and configuration to main phase of deployment. - L3 traffic managed by ODL possible when vxlan tunneling is used. - Include snapshot of OpenDaylight Beryllium, stable version not available at this moment. - Get rid of hardcoded configuration related to specific ODL version. Now plugin is more elastic and should support a broader number of ODL versions. - odl_network_scheme function overrided standard network scheme so custom network templates are not required. - ODL is no longer patched to use br-floating bridge JIRA: FUEL-58 Change-Id: Ie3542e285a064c37d1edb6751c4853a5e7594478 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-01-22Select closest Fuel mirror as measured by pingStefan K. Berg2-1/+36
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 Skalski5-12/+47
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. Berg11-19/+175
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. Berg2-19/+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. Berg14-621/+1090
2016-01-17Fuel 8 upliftStefan K. Berg14-621/+1090
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-13f_ovsnfv-dpdk-pluginbuild: Update repo locationMark D. Gray2-6/+8
The code for fuel-plugin-ovsnfv has been moved to the ovsnfv OPNFV project repository. This patch updates the OPNFV fuel plugin builder to use this location. Change-Id: Ida1640ea6005aa1f4b31be145913556d6b05aa6e Signed-off-by: Mark D. Gray <mark.d.gray@intel.com>
2016-01-13Fix build failure in fuel base & qemuRuijing Guo2-0/+19
Change-Id: I4a6cc047011547402641619a5683af3d24c057ee Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
2016-01-12Integration of vsperf pluginJonas Bjurel4-1/+110
VERIFIED READY TO MERGE Change-Id: Ia3b01c0de1081ce24e4db361ba6e77475e8ea291 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2016-01-03Update OVS PluginRuijing Guo1-1/+1
1. fix issue in https://gerrit.opnfv.org/gerrit/#/c/5179/ 2. no change for OVS without DPDK 3. add OVS with DPDK packages 4. add DPPD 5. TODO: netvirt + OVS with DPDK Change-Id: I153a95426d388d58933799e183d7b7316062e525 Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
2016-01-03upload onosfw plugin makefiledongfeng2-6/+17
Change-Id: I70f81d0ad66d559a672ca037021b4256b18a202d
2015-12-28Added Fuel plug-in builder for OVSNFVJonas Bjurel4-1/+109
JIRA FUEL-36 Change-Id: I354919bbed08dc2a449fa49334ca26d05e057676 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2015-12-23Update KVM/QEMURuijing Guo1-1/+1
1. fix KVM/QEMU boot issue Change-Id: I967e79e5a8eb6f349ad4feb61fa9701901e2913d Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
2015-12-21Move install_docker.sh to common placeRuijing Guo4-29/+2
1. copy install_docker.sh in qemu plugin to docker/ubuntu-builder 2. change docker build in ovs & qemu Change-Id: I3c0143e5e1b10a1cf798592d8bc05a49a5d12d48 Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
2015-12-21Align all plugins with new method for cache idStefan K. Berg5-6/+33
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>