Switch from jeepyb to pypi-mirror

We've got a new mirror building project called pypi-mirror. In addition
to the old behavior, it also now creates wheels and uploads them.

Use it.

Change-Id: Ic63a2e11ba60e1d99809a8a38f7a27072a34b0c2
This commit is contained in:
Monty Taylor 2013-10-31 16:02:10 -04:00
parent d1c3803dcb
commit 184a8941ee

View File

@ -25,8 +25,6 @@ class openstack_project::mirror_slave (
python3 => $python3,
}
include jeepyb
file { '/home/jenkins/.ssh/id_rsa':
owner => 'jenkins',
group => 'jenkins',
@ -73,4 +71,23 @@ class openstack_project::mirror_slave (
require => File['/home/jenkins/pypimirror/etc'],
}
file { '/opt/jeepyb':
ensure => absent,
}
vcsrepo { '/opt/pypi-mirror':
ensure => latest,
provider => git,
revision => 'master',
source => 'https://git.openstack.org/openstack-infra/pypi-mirror',
}
exec { 'install_pypi_mirror' :
command => 'pip install .',
cwd => '/opt/pypi-mirror',
path => '/usr/local/bin:/bin:/usr/bin',
refreshonly => true,
subscribe => Vcsrepo['/opt/pypi-mirror'],
}
}