Ian Wienand ce0a039508 openstack-repos: fail on missing project list
If you specify a CUSTOM_PROJECTS_LIST_URL that doesn't exist you get a
message but the script continues.  Since you clearly meant to specify
something we should bail so the user can correct the problem.

Additionally, add some documentation to the build-image.sh script to
describe how to use this to cut down build times considerably for
initial testing purposes.

Change-Id: I02d1cd341f793471b1ad4374e98031ea53db7f49
2017-03-01 17:17:56 +11:00
..
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'