summaryrefslogtreecommitdiffstats
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2016-02-10Put ubuntu mirror in predictable directoryMichal Skalski1-5/+6
Change-Id: I05cb8dfcf8d8b7cf256c6e6d900f1a90a2b2870e Signed-off-by: Michal Skalski <mskalski@mirantis.com> (cherry picked from commit 28abcb7287d3170e007e938872116161c927c38a)
2016-02-08Merge "Include fix for fuelmenu" into stable/brahmaputraStefan Berg1-1/+1
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-07Include fix for fuelmenuMichal Skalski1-1/+1
Critical bug [0] was recently commited to stable/8.0 branch of fuel-menu repository, which fix issue with interface configuration through fuelmenu. [0] https://bugs.launchpad.net/fuel/+bug/1542321 Change-Id: I77211e2c38b9821174d8164ef5237d42b72a04a4 JIRA: FUEL-99 Signed-off-by: Michal Skalski <mskalski@mirantis.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-06Correction of version pinning in cached buildsStefan K. Berg3-43/+14
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 Berg3-1/+44
2016-02-05Merge "Added environment sanity checks for build." into stable/brahmaputraJonas Bjurel1-0/+6
2016-02-05Pin down exact Fuel repo versionsStefan Berg3-1/+44
Change-Id: Ie4284f15c08ced3267a1250ec6e21827fc49170d Signed-off-by: Stefan Berg <sfb@consultron.com>
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> (cherry picked from commit f126512730bc9a6f434ac5b9f6395bfc4b5dc960)
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-02-04Remove leftover from old plugin configurationsMichal Skalski7-7/+0
Change-Id: Id1008ffbbfa4f30b63997f77183cc802ee01fcd6 (cherry picked from commit a5c0ca72b393ea62fc8e7b82897806fcd25fa7cb)
2016-02-04Uplift fuel-plugin-bgpvpn to fuel8.0Nikolas Hermanns1-1/+1
Change-Id: I69d86ea7d7ab794582a9cac05ceee544b35608fa (cherry picked from commit c135d856e03fb1c3481d4ebbb85f3c2a5014db46)
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> (cherry picked from commit f9e50fa686599ff4a7e94805279820d3cdfefbc4)
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> (cherry picked from commit 0f5bba36cb0be642f8069e8708b5ea80a5adbe4d)
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> (cherry picked from commit c228fa041fe2402f53a6e2af3fbb1721fbdcd11a)
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-02-01Increase 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> (cherry picked from commit c400694da4d6bdcefe286442c26a1192fb19ba52)
2016-01-29Brahmaputra master syncStefan Berg12-578/+813
Signed-off-by: Stefan Berg <sfb@consultron.com>
2016-01-29Create local mirrors for offline installationMichal Skalski12-40/+169
- 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-29Rebase Fuel OVS & QEMU plugin to Fuel 8.0Ruijing Guo3-4/+4
Change-Id: I73a3e5e64d7987c773d3f543f6ad94cdf96d2bdb Signed-off-by: Ruijing Guo <ruijing.guo@intel.com> (cherry picked from commit 108cdaacf2e3cc1febabc10cead78b1120e9156b)
2016-01-29fuel-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> (cherry picked from commit a5748ad1e936461a5cb592e354e7b1c771c924f0)
2016-01-29onosfw plugin for 8.0dongfeng2-2/+2
Change-Id: I7804986242e9e2ac556a17b3475e7af48cec2756 (cherry picked from commit 5b7ac299f8ed8235fc891db4eedfa55ef26fc52e)
2016-01-29Merge "fuel-plugin-ovsnfv: Enable plugin after rebase" into stable/brahmaputraStefan Berg1-1/+1
2016-01-29fuel-plugin-ovsnfv: Enable plugin after rebaseBilly O'Mahony1-1/+1
Change-Id: I08ae033e905cae9c2f7cd4f8cc66e8f78f1d54c4 Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com> (cherry picked from commit bf6f1ba5b6e91cf73e74b4fe50063f88d74f18b3)
2016-01-29New 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> (cherry picked from commit ebd3a3fd83ffb80a5859f1721d648c8215d4b19c)
2016-01-29Revert "Fix build failure in fuel base & qemu"Stefan K. Berg2-19/+0
This reverts commit 0a35e64026402a672af343427bf591142babb6be. (cherry picked from commit 567c751216af815920caa7a495822aa902a3aa0a) Change-Id: I7cf4a9f980ea74bcc8d3fe95a369e055b479e2f7
2016-01-29Merge "Rebase of ks.cfg due to upstream changes" into stable/brahmaputraStefan K. Berg2-16/+86
2016-01-29Merge "Sync with recent changes in fuel-main" into stable/brahmaputraStefan Berg3-11/+178
2016-01-29Merge "Turn predictable network interface names back on" into stable/brahmaputraStefan K. Berg1-4/+1
2016-01-29Merge "Cache as we go instead of in the end" into stable/brahmaputraStefan K. Berg10-5/+33
2016-01-29Merge "All plug-ins except those explicitly rebased are disabled" into ↵Stefan Berg1-1/+2
stable/brahmaputra
2016-01-29Merge "Break early in build if docker-in-docker fails" into stable/brahmaputraStefan K. Berg1-0/+2
2016-01-29Rebase of ks.cfg due to upstream changesStefan K. Berg2-16/+86
Change-Id: I488851ded40e88180359d545259ec0631416d32d Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com> (cherry picked from commit a1e787440c7487368c813834a72bd08137bbbcf9)
2016-01-29Sync with recent changes in fuel-mainMichal Skalski3-11/+178
Change-Id: Ife63c8c69e0e17150c198a7a75788a13b8df0d81 Signed-off-by: Michal Skalski <mskalski@mirantis.com> (cherry picked from commit 74f53db80b0fb55f4a8d15e88add63f0ef3147ec)
2016-01-29Turn 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> (cherry picked from commit 8ce080bcbb40f87c73e040998a83333525fee047)
2016-01-29Cache 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> (cherry picked from commit d2c5a1dde91d10b4f3f9f5ac0b1570527247e03c)
2016-01-29All 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> (cherry picked from commit 307abd417ed218d1245f8fd829d0265999f3ae18)
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-29Start sshd daemon before fuelmenuMichal Skalski1-0/+11
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> (cherry picked from commit 6366a06bb43d5db7b54c454df57831292966d6d4)
2016-01-29OpenDaylight 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> (cherry picked from commit 3778f82dfe7afe258a9584f72f82ac2ee6e8d92b)
2016-01-29Merge "f_ovsnfv-dpdk-pluginbuild: Update repo location" into stable/brahmaputraStefan Berg2-6/+8
2016-01-29Select 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> (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 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> (cherry picked from commit 394c79fe428faa9c50ed1db6d750b363b44130b9)
2016-01-29Turn on fuelmenu by default, turn off biosdevnameStefan K. Berg11-43/+217
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-29f_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> (cherry picked from commit 42d1a8174af0f2081a9de76c798ee2b081cc0686)
2016-01-18Integration of vsperf pluginJonas Bjurel4-1/+110
VERIFIED READY TO MERGE Change-Id: Ia3b01c0de1081ce24e4db361ba6e77475e8ea291 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com> (cherry picked from commit bb22abb222dd0add134a4f911042422594e6f47b)