11 Commits

Author SHA1 Message Date
Monty Taylor
71d10ea626 Block installing of mock from wheels
This is needed until a new wheel of mock can be cut after the new pbr
release is cut.

Change-Id: I96a1794ee754f879514b34add3e36a4a42fd681b
2015-07-10 10:23:22 -04:00
James E. Blair
8e5c538e5a Add allow_hosts to pydistutils.cfg
This should cause easy_install to only contact our pypi mirrors
when fetching packages.

https://pythonhosted.org/setuptools/easy_install.html#restricting-downloads-with-allow-hosts

Change-Id: I7f7847721c2e8c6299c7fe5ab20045e8bdbc5bd7
2015-06-02 10:50:03 -07:00
Monty Taylor
974cf5dfb2 Revert "Configure to use gem mirrors"
This reverts commit efcda4394386182437feda101d783edb849509c0.

Change-Id: Ia9bf1603d50d8309351d2d7684cdb97c82157e64
2015-05-11 21:54:30 +00:00
Monty Taylor
efcda43943 Configure to use gem mirrors
We want our build nodes to be tied to the gem mirrors we define.

Change-Id: I587af92fbedbc935d460ed68852426af276d1321
2015-05-08 11:12:57 -04:00
Monty Taylor
8bc8d33f26 Avoid vendor supplied apt mirrors
They are nuking the world

Closes-Bug: #1286818
Change-Id: Id876c8a0dea500b90b3ede1502bc757bfb71c4d4
2015-04-28 08:29:33 -04:00
Clark Boylan
ad623a7e86 Use sudo when editing /etc/pip.conf
Unlike before where the jenkins user was editing files that it owns in
its homedir the /etc/pip.conf editing needs root permissions since that
file is owned by root.

Change-Id: I485a08cb243cc0abf4c848e6061606b4320a59cb
2015-02-12 16:47:05 -08:00
Monty Taylor
9001f4a399 Edit global pip.conf instead of per-user pip.conf
Now that there is a global pip.conf, just make the setting there.

Change-Id: I0af9d1cc6907e3977f4e7052070c72821bc1bf3a
2014-12-26 10:42:12 -06:00
Jenkins
515dcc1633 Merge "Allow to use custom mirror" 2014-11-13 18:39:41 +00:00
Clark Boylan
f963882f99 Check DNS resolution in nodepool ready script
We see occasional name resolution failures on our tests slaves. Before
marking any of these nodes as ready in nodepool check that we can
resolve git.openstack.org and the local pypi mirror on that node.

This should help in preventing tests from failing with these errors by
catching them early and help in debugging by centralizing all occurences
of these failures in the nodepool logs.

Change-Id: I48ec87141687c1f6cd53eaada350fc5ce52cdef4
2014-10-31 08:13:09 -07:00
Attila Fazekas
457f4eeefe Allow to use custom mirror
The current configure_mirror.sh expects no-one
want to use other than openstack.org pypi mirrors.

Having the configure_mirror.sh to use a costum,
NODEPOOL_PYPI_MIRROR instead of NODEPOOL_REGION when defined.

It allows averyone to use his local pypi mirror, with his
nodepool.

Change-Id: I6f0bd3372be09ccf423caacff83e615038c96ec5
2014-10-29 22:32:50 +01:00
Anita Kuno
1d21cd635f Reorganizes project-config
This repo was created from filter branching the openstack-infra/
config repo. This process brought a lot of cruft with it in the
form of directories that we no longer need. This patch removes
that cruft so we begin with a tidier repo.

Change-Id: Ibffad1b11c0c5f84eedfb0365369f60c4961a0f3
2014-09-25 11:41:04 -04:00