aboutsummaryrefslogtreecommitdiffstats
path: root/build/f_isoroot/f_repobuild
AgeCommit message (Collapse)AuthorFilesLines
2016-09-05Do not use rsync for choosing mirror serverMichal Skalski1-49/+14
Rsync protocol was used for creating local mirrors, but now we only need http connection. This requirement can be problematic for environments which are behind proxy and can lead to build failures when rsync is not allowed. Change-Id: I4efcf500fd0c25de5fdb87307e7210cc4a96714d Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-08-24build: cache: Consider UBUNTU_ARCH in .cacheidAlexandru Avadanii1-0/+1
Usually UBUNTU_ARCH is not changed inside the same repository, but we should consider this case anyway for future merging Armband and Fuel@OPNFV repositories/build systems. This applies to all Fuel plugins and the local repo. Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-07-21Pinning down exact Fuel 9.0.1 repo versionsMichal Skalski1-1/+1
stable/mitaka branch is open for new commits for Fuel 9.1. To not be impacted by new upstream changes point to specific commits which were used for Fuel 9.0 General Availabilit (9.0.1). JIRA: https://jira.opnfv.org/browse/FUEL-153 verify: no-cache Change-Id: I7fd8d2f11e4be6f47e39924913c48bfe7d4f2eb3 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-07-19Build new cache when list of packages has changedMichal Skalski2-5/+16
Create a new cache of f_repobuild job when list of packages required by plugins has changed. JIRA: FUEL-150 Change-Id: I079950eaa9e3b32ea7baa3f6d4a37cc37f99f3a7 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-06-28Use fuel-mirror version which handle 302 redirectsMichal Skalski1-1/+3
Fix is currently in master branch of fuel-mirror, I am not sure when backport to mitaka branch will be aproved, so for now lets point to specific commit. Change-Id: I5215707b477df1b6e8735e62cb392aa1400e8bc2 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-06-15repobuild: Allow customizing fuel-mirror repo URLAlexandru Avadanii1-1/+2
For Armband, fuel-mirror code needs to be patched outside of the build system, so we factor out the repo URL into an overrideable variable (FUEL_MIRROR_URL). Change-Id: Icf26f1b84f5a653f541819a42980377f51c7f299 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> Signed-off-by: Stanislaw Kardach <Stanislaw.Kardach@cavium.com>
2016-06-14Build local mirrors for stable/mitakaMichal Skalski2-17/+21
Change-Id: I3128652aeb87cb2cfaa91ded1b8d9ebeeb70d33b Signed-off-by: Michal Skalski <mskalski@mirantis.com>
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-10Put ubuntu mirror in predictable directoryMichal Skalski1-5/+6
Change-Id: I05cb8dfcf8d8b7cf256c6e6d900f1a90a2b2870e 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-05Don't download packages which are already on ISOMichal Skalski2-15/+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-04Correcting license and copyright terms throughout the repoJonas Bjurel2-2/+16
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-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-01-29Create local mirrors for offline installationMichal Skalski3-27/+146
- 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-24Cache as we go instead of in the endStefan K. Berg1-0/+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-21Use mirrors snapshotsMichal Skalski1-3/+25
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>
2015-11-27Download plugins dependencies using fuel-createmirrorMichal Skalski1-0/+3
Including dependencies directly in to plugin binary require maintain list of direct links to specific versions of system packages, which often become out of date. This change propose to create requirements-deb.txt file in plugin build directories which will contain only names of deb packages needed for successful deployments in offline environments. Based on the content of these files the common list of dependencies will be created [1]. Defined system packages together with their dependencies will be downloaded during process of creating partial mirror. [1] https://docs.mirantis.com/openstack/fuel/fuel-7.0/operations.html#troubleshooting-partial-mirror verify: no-cache Change-Id: If40b040fcf062f78af6c453a791b02ebf10e7b85 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2015-11-27Restructcture of the directory layoutJonas Bjurel2-0/+119
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>