Closed
Bug 756129
Opened 12 years ago
Closed 12 years ago
add multiple no-index python package server support to mozharness
Categories
(Release Engineering :: Applications: MozharnessCore, defect, P3)
Release Engineering
Applications: MozharnessCore
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mozilla, Unassigned)
References
Details
(Whiteboard: [mozharness])
Currently, if you specify a --pypi-url, VirtualenvMixin goes there and searches for its packages.
We should make --pypi-url an extendable list that VirtualenvMixin uses. It should go through the list until it finds a working server, and fail out if none of them work.
This is essentially to create a client-side HA.
Also, we seem to be going away from the pypi index format to a directory of tarballs; the pip call should read
pip install --no-index --find-links URL PACKAGE
Reporter | ||
Comment 1•12 years ago
|
||
http://jacobian.org/writing/when-pypi-goes-down/ tells you how to use pypi mirrors; that might only be useful if you want to go to the official mirrors, though.
Reporter | ||
Comment 2•12 years ago
|
||
find_links is now an available config list; we can avoid hitting pypi by setting pypi_url elsewhere, per https://bugzilla.mozilla.org/show_bug.cgi?id=766706#c4 .
Marking resolved.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 3•12 years ago
|
||
Its less of my concern as to how you want to run mozharness in production, but AIUI specifying a pypi_url of, say, build.m.o/blank_page will still hit the page and look for links ala http://pypi.python.org/simple/ . We can leave this, as desired, but IMHO it is better to explicitly disable --pypi-url
Assignee | ||
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
Updated•10 years ago
|
Component: General Automation → Mozharness
You need to log in
before you can comment on or make changes to this bug.
Description
•