
To run pypi uploads more securely perform the `python setup.py sdist` on a normal build slave, then copy the sdist to the pypi slave and perform only the upload from that host. Change-Id: Ie68d484ef6d129749186c792d0ced812ac25818b Reviewed-on: https://review.openstack.org/16335 Reviewed-by: Monty Taylor <mordred@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
16 lines
365 B
Puppet
16 lines
365 B
Puppet
class openstack_project::pypi_slave (
|
|
pypi_password,
|
|
pypi_username = 'openstackci'
|
|
) {
|
|
include openstack_project::slave
|
|
|
|
file { '/home/jenkins/.pypicurl':
|
|
ensure => present,
|
|
owner => 'jenkins',
|
|
group => 'jenkins',
|
|
mode => '0600',
|
|
content => template('openstack_project/pypicurl.erb'),
|
|
require => File['/home/jenkins'],
|
|
}
|
|
}
|