project-config/nodepool/elements/openstack-repos
Isaac Beckman 918a386596 selective caching of git repos
Adding the ability to selectively cache only some git repos in
nodepool slave.
This is useful in some environments where it is needless to cache
all the git repos that appear in gerrit.
For example, in a 3rd party CI environment, each nodepool slave
needs only few openstack projects in order to check commits to
a specific project. So it is needless to cache > 1500 projects
currently in gerrit

Change-Id: Ie7302594b24d2bdcc157d3cf64b1f219e7ef0205
2016-11-23 13:35:29 +02:00
..
extra-data.d selective caching of git repos 2016-11-23 13:35:29 +02:00
install.d diskimage-builder element cleanups for dib-lint 2015-10-08 11:33:03 +11:00
element-deps Move prepare-node to it's own element 2016-05-19 21:38:11 -05:00
README.rst selective caching of git repos 2016-11-23 13:35:29 +02:00

openstack-repos

Download all repos and packages that might be needed.

Environment variables:

DIB_CUSTOM_PROJECTS_LIST_URL
Required

No

Default

None

Description

Url to a yaml file contains custom list of repos. The custom yaml file has the same structure as the default file: 'https://git.openstack.org/cgit/openstack-infra/project-config/plain/gerrit/projects.yaml' Download only the repos that appear in the custom file rather than downloading all openstack repos that appear in the default file.

Example

DIB_CUSTOM_PROJECTS_LIST_URL='file:///etc//project-config//gerrit//custom_projects.yaml'