X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=build%2Ffuel_build_loop;h=324f28c1a1cf19874bfa41faa9584071768853d1;hb=5589b0e1659e8e0de0bc1055753685c9fd58f13a;hp=7c6cb60dbd97548b664cab5ffefa1a67e894391f;hpb=f1cdd0c49d4495a59bd797ee7353cef816976d4a;p=fuel.git diff --git a/build/fuel_build_loop b/build/fuel_build_loop index 7c6cb60db..324f28c1a 100755 --- a/build/fuel_build_loop +++ b/build/fuel_build_loop @@ -9,18 +9,10 @@ # 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}" -maxcount=10 +maxcount=3 cnt=0 rc=1 while [ $cnt -lt $maxcount ] && [ $rc -ne 0 ] @@ -28,7 +20,6 @@ do cnt=$[cnt + 1] echo -e "\n\n\n*** Starting build attempt # $cnt" cd /tmp/fuel-main - make clean make iso rc=$? if [ $rc -ne 0 ]; then