ReleaseEngineering/How To/Upload to internal Pypi: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(added link to the example bug)
(removed blank lines)
Line 3: Line 3:


= Steps =
= Steps =
 
In order to upload to internal Pypi a package you simply need to run the script bellow :
* In order to upload to internal Pypi a package you simply need to run the script bellow :
* https://hg.mozilla.org/build/braindump/file/default/utils/publish_package_our_pypi.sh
https://hg.mozilla.org/build/braindump/file/default/utils/publish_package_our_pypi.sh


The script will practically copy the file to relengwebadmin and move it where the files are located for pypi internal (/mnt/netapp/relengwebadmin/pypi/pub) then will change the rights and upload the file to  
The script will practically copy the file to relengwebadmin and move it where the files are located for pypi internal (/mnt/netapp/relengwebadmin/pypi/pub) then will change the rights and upload the file to  
http://pypi.pub.build.mozilla.org/pub.
http://pypi.pub.build.mozilla.org/pub.


= See also =
= See also =
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1286278 bug 1286278]
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1286278 bug 1286278]

Revision as of 11:07, 5 December 2017

Overview

Mozharness no longer uses packages from the PuppetAgain repositories! Instead, it uses http://pypi.pub.build.mozilla.org/pub and http://pypi.pvt.build.mozilla.org/pub, both served from the same directory.

Steps

In order to upload to internal Pypi a package you simply need to run the script bellow :

The script will practically copy the file to relengwebadmin and move it where the files are located for pypi internal (/mnt/netapp/relengwebadmin/pypi/pub) then will change the rights and upload the file to http://pypi.pub.build.mozilla.org/pub.

See also