Skip to content

integration_tests: add UPGRADE CloudInitSource#812

Merged
OddBloke merged 1 commit into
canonical:masterfrom
OddBloke:tests2
Feb 18, 2021
Merged

integration_tests: add UPGRADE CloudInitSource#812
OddBloke merged 1 commit into
canonical:masterfrom
OddBloke:tests2

Conversation

@OddBloke
Copy link
Copy Markdown
Collaborator

Proposed Commit Message

integration_tests: add UPGRADE CloudInitSource

This allows out-of-date images to be brought up-to-date with the
archive, so that tests written against the latest cloud-init release
will pass.

Additional Context

This is particularly handy for OpenStack, as deployments may not get fresh Ubuntu images on a regular cadence.

Test Steps

Run tests against a stale image with CLOUD_INIT_CLOUD_INIT_SOURCE=UPGRADE in your environment.

Checklist:

  • My code follows the process laid out in the documentation
  • I have updated or added any unit tests accordingly
  • I have updated or added any documentation accordingly

Copy link
Copy Markdown
Contributor

@TheRealFalcon TheRealFalcon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice change! Please also add a comment to tests/integration_tests/integration_settings.py.

This allows out-of-date images to be brought up-to-date with the
archive, so that tests written against the latest cloud-init release
will pass.
@OddBloke
Copy link
Copy Markdown
Collaborator Author

Nice change! Please also add a comment to tests/integration_tests/integration_settings.py.

Good catch, thanks! (Done.)

@OddBloke OddBloke merged commit 28d2d4b into canonical:master Feb 18, 2021
@OddBloke OddBloke deleted the tests2 branch February 18, 2021 20:36
@OddBloke OddBloke restored the tests2 branch April 26, 2021 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants