tripleo-ci/scripts/emit_releases_file
John Trowbridge 53e4092038 Add CLI argument parser and YAML file parser
This adds a CLI interface with the following options:
  --stable-release
  --featureset-file
  --output-file
  --log-file

This also adds the code and tests for the YAML file
parsing. I tried adding a specific error case for
when the YAML file fails to parse vs the more generic
case when the file just cannot be opened. However,
mock would not behave for testing the specific case.

We log and raise the exception in both cases though,
and the tests cover both as well.

Change-Id: I0834a0e9b3193c664b377ae7e066fe15239bbfb1
2018-05-18 14:35:41 +00:00
..
emit_releases_file.py Add CLI argument parser and YAML file parser 2018-05-18 14:35:41 +00:00
pytest.ini Add python script to dynamically compose releases 2018-05-16 11:47:27 +02:00
test_get_dlrn_hash.py Add releases script pytest tests to tox.ini 2018-05-18 10:33:47 -04:00
test_release_file.py Add python script to dynamically compose releases 2018-05-16 11:47:27 +02:00
test_release_name.py Add python script to dynamically compose releases 2018-05-16 11:47:27 +02:00
test_unsupported_upgrades.py Add python script to dynamically compose releases 2018-05-16 11:47:27 +02:00
test_yaml_parsing.py Add CLI argument parser and YAML file parser 2018-05-18 14:35:41 +00:00