← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~wesley-wiedenmeier/cloud-init:integration-testing into cloud-init:master

 

The proposal to merge ~wesley-wiedenmeier/cloud-init:integration-testing into cloud-init:master has been updated.

Description changed to:

integration-testing updates

 - enable additional distros
 - allow use of either pylxd 2.1.3 or 2.2
   - detected at runtime during instance.execute()
   - when using 2.2 the test suite cannot complete large
     runs without hitting the pylxd too many open files
     issue, so 2.2 should only be used for development
   - when using 2.1.3, the test suite will not have proper
     error handling during setup phase, as 2.1.3 does not
     return command exit codes. this is adequate for use on
     jenkins until the fix for 2.2 is merged in upstream
 - refactor image setup code
   - improve error handling throughout
   - change behavior of --upgrade setup_image to only
     upgrade cloud-init
   - add --upgrade-all setup_image flag to upgrade all
     packages on system
   - clean up detection of cloud-init version
   - output cloud-init version at end of setup_image
   - use 'yum install' rather than 'yum update' in
     setup_image.upgrade in case cloud-init not installed
   - update help in setup_image args
 - clean up image config
   - new image config format allows finer control over
     platform specific image config, with less verbosity
   - clean up handling of image config throughout platform
   - added additional releases and distros
   - re-ordered releases.yaml in order of release date, and
     added EOL comments for future reference
   - allow image config to override setup options with
     'setup_overrides'
   - allow image config to specify preserving base images
     for lxd
   - switch to using images.linuxcontainers.org from using
     ubuntu daily images
 - improve waiting for system to boot
   - separated out determining if the system has booted from
     determining if cloud-init has finished
   - do not wait for cloud-init during setup phases, as it
     may not be installed
   - use 'systemctl is-system-running' or 'runlevel'
     depending on init system
   - poll for system ready inside the image rather than
     through instance.execute() to make pylxd too many open
     files error take longer to strike
   - clean up code for handling waiting
 - update lxd image metadata and templates if necessary
   - many lxd images that do not come with cloud-init
     installed do not have the necessary templates to write
     a nocloud seed into the image
   - if necessary, export image, extract metadata, add new
     template scripts, and import as new image
 - add new 'bddeb' feature to build a deb from working tree
   - new command 'bddeb' to build a deb in clean container
     from current working tree, avoiding having to commit
     code that may be broken to test and installing build
     deps on the host
   - new commands 'tree_collect' and 'tree_run' that collect
     and run using the version of cloud-init in the current
     working tree by first running 'bddeb' then 'collect' or
     'run' using the new deb
 - add new tox environments to run tests
   - new versions of pylxd only available through pip on
     xenial, best to avoid using pip outside a venv
   - environments 'citest' and 'citest_new_pylxd' provide
     entry points into the cli, allowing use of any test
     commands, using pylxd 2.1.3 and 2.2.2 respectively
   - environment 'citest_tree_run' runs tests using the
     current working tree, useful for testing during
     development

For more details, see:
https://code.launchpad.net/~wesley-wiedenmeier/cloud-init/+git/cloud-init/+merge/308218
-- 
Your team cloud init development team is requested to review the proposed merge of ~wesley-wiedenmeier/cloud-init:integration-testing into cloud-init:master.


References