Commit Graph

8 Commits

Author SHA1 Message Date
Ian Wienand f8852b76fb Remove mirror-update server and related puppet
This has all transitioned to Ansible and the mirror-update.opendev.org
server now.

Change-Id: I5f82139c981c2716f568b15b118690e943b02d52
2020-10-28 11:39:54 +11:00
Ian Wienand 327cfa7893 Skip backports for buster
This is a follow-on to I39cb9dc0aa52cf5b20545baf4acacc21c5459f2a; as
buster has no backports we need to skip this in the reprepro
configuration.  It's a bit hacky, but we can revert when it is
available.

Change-Id: I60e231f23999d0af9c899a30822c71702befb2bd
2019-03-28 10:52:58 +11:00
Paul Belanger bec8458406
Add reprepro to release slave
The Packaging-deb team will be starting to publish packages to AFS.
This patch is the first step to allow that.

Change-Id: I9d8d5ce384a371042928587c0debf0da37352ad8
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-07-04 12:00:05 -04:00
Paul Belanger 6b82c8b3da Add back logdir for reprepro.pp
It was removed in I0a12bc4cb67339a7566fb113bbbc897d4f112f50 by
mistake.

Change-Id: I42050405686364c30d825198d74077d121a349da
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-04-01 17:10:49 -04:00
Clark Boylan c929e3fb66 Make reprepro useable on multiple mirrors
Ubuntu isn't the only thing we want to mirror, we may also want to
mirror debian or ceph packages and so on. Refactor the puppet so that it
is easier to do this in a reconsumable way.

Change-Id: I0a12bc4cb67339a7566fb113bbbc897d4f112f50
2016-03-16 09:34:18 -07:00
Monty Taylor 7ec1b3d7e3 Split reprepro config to allow for debian and ubuntu
We can't colocation debian and ubuntu - so allow for each having their
own pool independent pool structure.

Change-Id: I9fe0fa9769a5c0f6a852844b2db0dfb620e91375
2016-02-08 14:16:53 -06:00
Monty Taylor d00e7c0e5d Update paths for AFS mirror
In the current setup, the reprepro db and lists dirs are being written
into /root. Move them into AFS so that we store all the data in the same
place.

Also, update the script to point to the confdir for reprepro commands.

Note: This will require a manual move of the current db and lists dirs
from /root to /afs/.openstack.org/mirror/apt before this is run.

Change-Id: I2638621e6af98296704e680227fae174d8a0e541
2016-02-07 09:53:14 -06:00
Monty Taylor f1c86c66a3 Add AFS apt mirror
The reprepro class in this is in-tree rather than in its own module
purely for ease of getting started. It's also highly hard-coded rather
than flexible.

This change will need a mirror.apt volume and service/reprepro principal
and keytab to be created before it lands.

Allow for pool trimming after a 2 hour delay. Each devstack run of
apt-get update should be able to be assumed to be valid for the length
of the devstack. For that reason, only delete files that are
unreferenced during the subsequent mirror run, ensuring at least a 2
hour delay between becoming unreferenced and going away.

Local testing indicates that a trusty mirror is 86G.

Change-Id: I84f6a0391f80e6bf567c4bfc18a41bd270fe8c01
2016-02-05 10:50:04 -06:00