Merge ~powersj/cloud-init:cii-strings into cloud-init:master
Proposed by
Joshua Powers
Status: | Merged |
---|---|
Merged at revision: | 1ac4bc2a4758d330bb94cd1b2391121cf461ff6a |
Proposed branch: | ~powersj/cloud-init:cii-strings |
Merge into: | cloud-init:master |
Diff against target: |
135 lines (+22/-13) 4 files modified
tests/cloud_tests/bddeb.py (+1/-2) tests/cloud_tests/instances/base.py (+6/-4) tests/cloud_tests/instances/lxd.py (+9/-1) tests/cloud_tests/setup_image.py (+6/-6) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
cloud-init Commiters | Pending | ||
Review via email: mp+330535@code.launchpad.net |
Commit message
tests: execute: support command as string
If a string is passed to execute, then invoke 'bash', '-c',
'string'. That allows the less verbose execution of simple
commands:
image.execute("ls /run")
compared to the more explicit but longer winded:
image.
If 'env' was ever modified in execute or a method that it called,
then the next invocation's default value would be changed. Instead
use None and then set to a new empty dict in the method.
To post a comment you must log in.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
PASSED: Continuous integration, rev:2f2717cc364 a7ab2d7ff129f5b 862643ab24af3f /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 283/
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
SUCCESS: MAAS Compatability Testing
IN_PROGRESS: Declarative: Post Actions
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 283/rebuild
https:/