aboutsummaryrefslogtreecommitdiffstats
path: root/build/fuel_build_loop
diff options
context:
space:
mode:
authorMichal Skalski <mskalski@mirantis.com>2016-01-21 02:17:11 +0100
committerStefan Berg <sfb@consultron.com>2016-01-29 13:59:45 +0100
commit606b2a90b53842290aa091b5ab0e75ccbcae231c (patch)
tree7c17c20f909b53c5f4871b3f9026307e056ec4a2 /build/fuel_build_loop
parent80b903bcafeaf10c8d4f1270599d1c770703abab (diff)
Use mirrors snapshots
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)
Diffstat (limited to 'build/fuel_build_loop')
-rwxr-xr-xbuild/fuel_build_loop8
1 files changed, 0 insertions, 8 deletions
diff --git a/build/fuel_build_loop b/build/fuel_build_loop
index 7c6cb60db..7e26b98b8 100755
--- a/build/fuel_build_loop
+++ b/build/fuel_build_loop
@@ -9,14 +9,6 @@
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
-LATEST_MIRROR_ID_URL=http://mirror.seed-cz1.fuel-infra.org
-
-LATEST_TARGET_UBUNTU=$(curl -sSf "${LATEST_MIRROR_ID_URL}/mos-repos/ubuntu/8.0.target.txt" | head -1)
-export MIRROR_MOS_UBUNTU_ROOT="/mos-repos/ubuntu/${LATEST_TARGET_UBUNTU}"
-
-LATEST_TARGET_CENTOS=$(curl -sSf "${LATEST_MIRROR_ID_URL}/mos-repos/centos/mos8.0-centos7-fuel/os.target.txt" | head -1)
-export MIRROR_FUEL="${LATEST_MIRROR_ID_URL}/mos-repos/centos/mos8.0-centos7-fuel/${LATEST_TARGET_CENTOS}/x86_64"
-
echo "MIRROR_MOS_UBUNTU_ROOT=${MIRROR_MOS_UBUNTU_ROOT}"
echo "MIRROR_FUEL=${MIRROR_FUEL}"