Tests require empty logs directory
Bug #1587925 reported by
Nicholas Skaggs
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-ci-tools |
Fix Released
|
High
|
Nicholas Skaggs |
Bug Description
A logs directory must exist, and be empty in order to run a CI test. We should simplify this. Ideally we would eliminate the requirement to pass a directory at all, and auto-create one for the user. However, at the least we should support wiping the directory if it contains files so a user isn't forced to do so themselves.
Related branches
lp:~nskaggs/juju-ci-tools/add-sane-args-defaults
- Martin Packman (community): Approve
- Christopher Lee: Pending requested
-
Diff: 256 lines (+91/-64)4 files modifieddeploy_stack.py (+28/-0)
tests/test_deploy_stack.py (+32/-0)
tests/test_utility.py (+23/-37)
utility.py (+8/-27)
tags: | added: usability |
Changed in juju-ci-tools: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in juju-ci-tools: | |
assignee: | nobody → Nicholas Skaggs (nskaggs) |
Changed in juju-ci-tools: | |
status: | Triaged → Fix Released |
To post a comment you must log in.
Martin notes there is already code for some of this which can be referenced.