← Back to team overview

cloud-init-dev team mailing list archive

[Merge] lp:~paelzer/cloud-init/test-apt-source into lp:cloud-init

 

The proposal to merge lp:~paelzer/cloud-init/test-apt-source into lp:cloud-init has been updated.

Commit Message changed to:

Configuration options needed for bug 1574113
- keyid-only (no source statement)
- key only  (no source statement)
- custom source.list template
- fix import of spaces long key fingerprints
- allowing a new format to specify apt_sources in a dictionary instead of a list to allow merging of configurations

Along the way to ensure things are working this series also added several tests. Related to the new format and the realization of corner cases related to "no" or "multiple" specified filenames further  unittests were added.

Testing various combinations of the execution as it was so far:
- test_apt_source_basic Test Fix deb source string, has to overwrite mirror conf in params
- test_apt_source_replace Test Autoreplacement of MIRROR and RELEASE in source specs
- test_apt_source_keyid Test specification of a source + keyid
- test_apt_source_key Test specification of a source + key
- test_apt_source_keyonly Test specification key without source
- test_apt_source_keyidonly Test specification of a keyid without source
- test_apt_source_ppa Test specification of a ppa
- test_apt_source_list_debian Test rendering of a source.list from template for debian
- test_apt_source_list_ubuntu Test rendering of a source.list from template for ubuntu
- test_apt_source_list_debian_mirrorfail Test rendering of a source.list from template for debian
- test_apt_source_list_ubuntu_mirrorfail Test rendering of a source.list from template for ubuntu
- test_apt_srcl_custom Test rendering from a custom source.list template
- test_apt_source_keyid_real Test specification of a keyid without source incl real addition (no mock) of the add
- test_apt_source_longkeyid_real Test specification of a long key fingerprint without source incl real addition (no mock) of the add

Testing variations of above cases but without filename being specified
- test_apt_src_basic_nofn
- test_apt_src_replace_nofn
- test_apt_src_keyid_nofn
- test_apt_src_key_nofn

Testing variations of above cases with multiple specifications in one call:
test_apt_src_basic_tri
test_apt_src_replace_tri
test_apt_src_keyid_tri
test_apt_src_ppa_tri

Testing the new format:
test_apt_src_basic_dict
test_apt_src_basic_dict_tri
test_apt_src_replace_dict_tri

For more details, see:
https://code.launchpad.net/~paelzer/cloud-init/test-apt-source/+merge/294521
-- 
Your team cloud init development team is requested to review the proposed merge of lp:~paelzer/cloud-init/test-apt-source into lp:cloud-init.


References