Add option/possibility to kolla-build to use pip/rpm/deb mirrors
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
- Started by
- Completed by
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/
This should be made configurable to use a local mirrors alternatively.