Stop mirroring tensorflow and mxnet pypi packages

These packages are huge, almost 1GB per day are being produced. Stop
mirroring them to control the growth of our pypi mirrors.

Change-Id: Ia2a5d4c75f50e20de59a54e9acf61bfdb38bc4a6
Depends-On: https://review.openstack.org/561692
This commit is contained in:
Clark Boylan 2018-04-16 11:48:47 -07:00
parent 39626a1401
commit 61786de3ad

View File

@ -27,10 +27,31 @@ class openstack_project::mirror_update (
}
class { 'bandersnatch::mirror':
mirror_root => '/afs/.openstack.org/mirror/pypi',
static_root => '/afs/.openstack.org/mirror',
hash_index => true,
require => Class['bandersnatch'],
mirror_root => '/afs/.openstack.org/mirror/pypi',
static_root => '/afs/.openstack.org/mirror',
hash_index => true,
package_blacklist => [
# These packages are quite large and release often. Ignore them.
tensorflow,
tf-nightly,
tf-nightly-gpu,
tfp-nightly,
tfp-nightly-gpu,
tensorboard,
tb-nightly,
mxnet,
mxnet-mkl,
mxnet-cu75,
mxnet-cu75mkl,
mxnet-cu80,
mxnet-cu80mkl,
mxnet-cu80-win,
mxnet-cu90,
mxnet-cu90mkl,
mxnet-cu91,
mxnet-cu91mkl,
],
require => Class['bandersnatch'],
}
file { '/etc/bandersnatch.keytab':