Page MenuHomePhabricator

jenkins debian-glue job should use Wikimedia debian mirror
Closed, DeclinedPublic


e.g. in I see:

11:48:39 * Using mirror *

Instead we should use the mirror which'll be faster

Event Timeline

Legoktm created this task.Sep 13 2016, 11:51 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 13 2016, 11:51 AM
hashar added a subscriber: hashar.Sep 13 2016, 12:28 PM

That is hardcoded in the Jenkins debian glue script piuparts_wrapper:

if [ -n "${MIRROR:-}" ] ; then
  echo "*** MIRROR variable is set [$MIRROR], using it ***"
  if lsb_release --id 2>/dev/null | grep -q Ubuntu ; then
  echo "*** Using mirror $MIRROR ***"

The whole wrapper is a bit crappy for us though. It runs out of a pbuilder tar.gz that is not updated and does not run the pbuilder hooks that inject -wikimedia or backports :(

In theory we could have the job or Zuul to inject MIRROR, update the sudo policy to pass that env variable and that would do it.

hashar triaged this task as Low priority.Sep 26 2016, 10:40 AM
hashar closed this task as Declined.Apr 17 2019, 1:28 PM

We are no more running piuparts.