CIDuty/Other Duties: Difference between revisions

Line 206: Line 206:
== Python packages ==
== Python packages ==
{{warning|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.}}
{{warning|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.}}
* SSH to relengwebadm.private.scl3.mozilla.com, or any host with the relengweb volume mounted.
From your local machine:
* sudo to root
FILE=your_python_package.tar.gz
* copy the file to /mnt/netapp/relengweb/pypi/pub
scp $FILE `whoami`@relengwebadm.private.scl3.mozilla.com:~
* ensure file has "read" permissions for all users (ie: 'chmod a+r python_package.tar.gz')
From relengwebadm:
* c'est fini - verify your file appears at http://pypi.pub.build.mozilla.org/pub
ssh `whoami`@relengwebadm.private.scl3.mozilla.com
sudo su
FILE=your_python_package.tar.gz
mv $FILE /mnt/netapp/relengweb/pypi/pub
chmod a+r /mnt/netapp/relengweb/pypi/pub/$FILE
From your local machine:
curl -I http://pypi.pub.build.mozilla.org/pub/$FILE
# You should see "HTTP/1.1 200 OK"


== How to upload to Tooltool ==
== How to upload to Tooltool ==
Confirmed users
3,990

edits