From 1b9efd00e23831678d4cfb020693a3b1286eeb43 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Fri, 11 Aug 2017 10:46:41 +0300 Subject: Remove all *.ci.local network addresses The dot-local addresses cause problems with mDNS lookups, replace all with *.intra.qt.io aliases that are now available. Task-number: QTBUG-60153 Change-Id: Icbcae2f473600342f3cc09e0d1c3d8fa58bc7494 (cherry picked from commit 8556798b4ec9e703deb398c09d88e68c2af4cd54) Reviewed-by: Mikko Gronoff --- classes/internal-build.bbclass | 28 ++++++++++++++-------------- scripts/upload.sh | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/classes/internal-build.bbclass b/classes/internal-build.bbclass index 72498cb..ccf97be 100644 --- a/classes/internal-build.bbclass +++ b/classes/internal-build.bbclass @@ -22,25 +22,25 @@ python enable_internal_build () { import socket try: - socket.gethostbyname('yocto-cache.ci.local') + socket.gethostbyname('yocto-cache.intra.qt.io') except: return e.data.setVar('ENABLE_QTQUICKCOMPILER', "1") - e.data.setVar('SSTATE_MIRRORS', "file://.* http://yocto-cache.ci.local/sstate-caches/${DISTRO_CODENAME}/PATH") + e.data.setVar('SSTATE_MIRRORS', "file://.* http://yocto-cache.intra.qt.io/sstate-caches/${DISTRO_CODENAME}/PATH") e.data.setVar('PREMIRRORS', "\ - ftp://.*/.* http://yocto-cache.ci.local/sources/ \n \ - http://.*/.* http://yocto-cache.ci.local/sources/ \n \ - https://.*/.* http://yocto-cache.ci.local/sources/ \n \ - bzr://.*/.* http://yocto-cache.ci.local/sources/ \n \ - cvs://.*/.* http://yocto-cache.ci.local/sources/ \n \ - git://.*/.* http://yocto-cache.ci.local/sources/ \n \ - gitsm://.*/.* http://yocto-cache.ci.local/sources/ \n \ - hg://.*/.* http://yocto-cache.ci.local/sources/ \n \ - osc://.*/.* http://yocto-cache.ci.local/sources/ \n \ - p4://.*/.* http://yocto-cache.ci.local/sources/ \n \ - svk://.*/.* http://yocto-cache.ci.local/sources/ \n \ - svn://.*/.* http://yocto-cache.ci.local/sources/ \n \ + ftp://.*/.* http://yocto-cache.intra.qt.io/sources/ \n \ + http://.*/.* http://yocto-cache.intra.qt.io/sources/ \n \ + https://.*/.* http://yocto-cache.intra.qt.io/sources/ \n \ + bzr://.*/.* http://yocto-cache.intra.qt.io/sources/ \n \ + cvs://.*/.* http://yocto-cache.intra.qt.io/sources/ \n \ + git://.*/.* http://yocto-cache.intra.qt.io/sources/ \n \ + gitsm://.*/.* http://yocto-cache.intra.qt.io/sources/ \n \ + hg://.*/.* http://yocto-cache.intra.qt.io/sources/ \n \ + osc://.*/.* http://yocto-cache.intra.qt.io/sources/ \n \ + p4://.*/.* http://yocto-cache.intra.qt.io/sources/ \n \ + svk://.*/.* http://yocto-cache.intra.qt.io/sources/ \n \ + svn://.*/.* http://yocto-cache.intra.qt.io/sources/ \n \ ") } diff --git a/scripts/upload.sh b/scripts/upload.sh index e59a3f6..a30cc32 100755 --- a/scripts/upload.sh +++ b/scripts/upload.sh @@ -24,7 +24,7 @@ set -x set -e RELEASE=$(grep PV ../sources/meta-qt5/recipes-qt/qt5/qt5-git.inc | grep -o [0-9.]*) -UPLOADPATH=QT@ci-files02-hki.ci.local:/srv/jenkins_data/enterprise/b2qt/yocto/${RELEASE}/ +UPLOADPATH=QT@ci-files02-hki.intra.qt.io:/srv/jenkins_data/enterprise/b2qt/yocto/${RELEASE}/ if [ -e tmp/deploy/images/${MACHINE}/b2qt-${PROJECT}-qt5-image-${MACHINE}.hdd ]; then 7z a -l b2qt-${PROJECT}-qt5-image-${MACHINE}.7z \ -- cgit v1.2.3-54-g00ecf