Merge ~raharper/cloud-init:feature/cloudinit-clean-from-write-log into cloud-init:master
Proposed by
Ryan Harper
Status: | Work in progress |
---|---|
Proposed branch: | ~raharper/cloud-init:feature/cloudinit-clean-from-write-log |
Merge into: | cloud-init:master |
Diff against target: |
328 lines (+154/-7) 5 files modified
cloudinit/cmd/clean.py (+27/-4) cloudinit/cmd/tests/test_clean.py (+28/-3) cloudinit/tests/helpers.py (+2/-0) cloudinit/util.py (+52/-0) tests/unittests/test_util.py (+45/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
cloud-init Commiters | Pending | ||
Review via email: mp+372946@code.launchpad.net |
Commit message
clean: add a write_file audit log and use it to clean artifacts
Cloud-init uses util.write_file() in many places to write files
during cloud-init execution. This branch will create an audit log
in /var/lib/
which captures information about each write.
As a user of this newly created log, cloud-init clean subcommand
reads this data (if present) and augments the list of artifacts to
clean.
To post a comment you must log in.
FAILED: Continuous integration, rev:6b005ae905b 5666a9bcd10865e a95c599a5d7e99 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 1163/
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
FAILED: Ubuntu LTS: Build
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 1163//rebuild
https:/