ReleaseEngineering/PuppetAgain/Python: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 13: Line 13:


If you are deploying a package that is _not_ hosted on Pypi (for example, a scriptworker package) you must add it to the Python package directory manually, and you should mark it as [https://github.com/mozilla/build-puppet/blob/master/modules/aws_manager/files/requirements.txt#L9 "# puppet: nodownload" in the requirements file].
If you are deploying a package that is _not_ hosted on Pypi (for example, a scriptworker package) you must add it to the Python package directory manually, and you should mark it as [https://github.com/mozilla/build-puppet/blob/master/modules/aws_manager/files/requirements.txt#L9 "# puppet: nodownload" in the requirements file].
= Debugging failed downloads =
The pip download script will send mail to the releng-puppet-mail mailing list if any errors occur when downloading packages. Most commonly, this will happen if it tries to download a package or package version that doesn't exist on pypi (see the note above about marking internal packages as nodownload). If you need to do additional debugging, you can hop on the distinguished master and edit the "pip download" command in /etc/puppet/puppetmaster-pip-download.sh to get additional output on the next run (Puppet will revert your changes, so you may have to do it more than once depending how long it takes you to debug).


= Mirror Access =
= Mirror Access =
canmove, Confirmed users
6,439

edits

Navigation menu