Add option/possibility to kolla-build to use pip/rpm/deb mirrors

Registered by Martin Matyáš on 2016-03-17

For environments with stress on minimized build time (typically CI builds), add possibility to use faster local pip/rpm/deb mirrors when building images instead of downloading from upstream repos.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Martin Matyáš
Direction:
Needs approval
Assignee:
Martin Matyáš
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

it is possible today to use the existing kolla build system with local mirrors by using a header to inject enviroment variable which will configure pip apt and yum to use local proxies.

MarMat:
Partly right, header file can be used - injecting variables is not sufficient, apt/pip repos need to be configured in config files. This is possible.
But still, there are explicit yum/apt repos added as part of image builds of particular components (mostly in 'base', see docker/base/sources.list, docker/base/kibana.yum.repo etc.
This should be made configurable to use a local mirrors alternatively.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.