7e38f85724
The `diskimage-builder` command provides a yaml file based interface to `disk-image-create` and `ramdisk-image-create`. Every argument to these scripts has a YAML equivalent. The command has the following features: - Environment values can be provided from the calling environment as well as YAML - All arguments are validated with jsonschema in the most appropriate YAML type - Schema is self-documenting and printed when running with --help - Multiple YAML files can be specified and each file can have multiple images defined - Entries with duplicate image names will be merged into a single image build, with attributes overwritten, elements appended, and environment values updated/overwritten. A missing image name implies the same image name as the previous entry. - --dry-run and --stop-on-failure flags A simple YAML defintion would resemble: - imagename: centos-minimal checksum: true install-type: package elements: [centos, vm] - imagename: ironic-python-agent elements: - ironic-python-agent-ramdisk - extra-hardware The TripleO project has managed image build options with YAML files and it has proved useful having git history and a diff friendly format, specifically for the following situations: - Managing differences between distros (centos, rhel) - Managing changes in major distro releases (centos-8, centos-9-stream) - Managing the python2 to python3 transition, within and across major distro releases Now that the TripleO toolchain is being retired this tool is being proposed to be used for the image builds of TripleO's successor, as well as the rest of the community. Subsequent commits will add documentation and switch some tests to using `diskimage-builder`. Change-Id: I95cba3530d1b1c6c52cf547338762e33738f7225
48 lines
798 B
Plaintext
48 lines
798 B
Plaintext
alabaster==0.7.10
|
|
appdirs==1.3.0
|
|
astroid==1.6.2
|
|
coverage==4.0
|
|
decorator==4.3.0
|
|
docutils==0.11
|
|
dulwich==0.15.0
|
|
extras==1.0.0
|
|
fixtures==3.0.0
|
|
flake8==3.8.4
|
|
hacking==0.10.0
|
|
imagesize==0.7.1
|
|
iso8601==0.1.11
|
|
isort==4.3.4
|
|
Jinja2==2.10
|
|
jsonschema==3.2.0
|
|
keystoneauth1==3.4.0
|
|
lazy-object-proxy==1.3.1
|
|
linecache2==1.0.0
|
|
MarkupSafe==1.0
|
|
mock==2.0.0
|
|
mox3==0.20.0
|
|
networkx==2.3.0
|
|
openstackdocstheme==1.18.1
|
|
os-client-config==1.28.0
|
|
oslotest==3.2.0
|
|
pbr==2.0.0
|
|
pep8==1.5.7
|
|
pyflakes==2.2.0
|
|
Pygments==2.2.0
|
|
pylint==1.7.1
|
|
python-mimeparse==1.6.0
|
|
python-subunit==1.0.0
|
|
pytz==2013.6
|
|
PyYAML==3.12
|
|
reno==2.5.0
|
|
requests==2.14.2
|
|
requestsexceptions==1.2.0
|
|
snowballstemmer==1.2.1
|
|
Sphinx==1.6.2
|
|
sphinxcontrib-websupport==1.0.1
|
|
stevedore==1.20.0
|
|
stestr==2.0.0
|
|
testtools==2.2.0
|
|
traceback2==1.4.0
|
|
unittest2==1.1.0
|
|
wrapt==1.7.0
|