diff --git a/common_factories.py b/common_factories.py index 50574cb1..cd9ab19b 100644 --- a/common_factories.py +++ b/common_factories.py @@ -99,11 +99,9 @@ def getRpmAutobakeFactory(mtrDbPool): command=[ "sh", "-c", - util.Interpolate(""" - wget --no-check-certificate -cO ../MariaDB-shared-5.3.%(kw:arch)s.rpm " """ + os.getenv('ARTIFACTS_URL', default='https://ci.mariadb.org') + """/helper_files/mariadb-shared-5.3-%(kw:arch)s.rpm" && wget -cO ../MariaDB-shared-10.1.%(kw:arch)s.rpm " """ + os.getenv('ARTIFACTS_URL', default='https://ci.mariadb.org') + """/helper_files/mariadb-shared-10.1-kvm-rpm-%(kw:rpm_type)s-%(kw:arch)s.rpm"', + util.Interpolate("""wget --no-check-certificate -cO ../MariaDB-shared-5.3.%(kw:arch)s.rpm + os.getenv('ARTIFACTS_URL', default='https://ci.mariadb.org') + /helper_files/mariadb-shared-5.3-%(kw:arch)s.rpm" && wget -cO ../MariaDB-shared-10.1.%(kw:arch)s.rpm + os.getenv('ARTIFACTS_URL', default='https://ci.mariadb.org') + /helper_files/mariadb-shared-10.1-kvm-rpm-%(kw:rpm_type)s-%(kw:arch)s.rpm, arch=getArch, - rpm_type=util.Property("rpm_type"), - """), + rpm_type=util.Property("rpm_type"),"""), ], doStepIf=hasCompat, )