optionally save artifacts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
latch |
Fix Released
|
Medium
|
David Britton |
Bug Description
From free:
It seems to me that it's not possible (or it would be very awkward) to save artifacts generated by latch-test, because of this code in test_cli:
with temporary_
result = environment.
which essentially purge everything after tests have run. Would it be possible to add support for specifying an artifacts directory path inside the temporary directory that will moved or copied to the working directory before purging everything? This way we can attach more state information about failed tests using Jenkins artifacts (something that is now pressing because of some flaky integration tests).
Related branches
- Alberto Donato: Approve
- Adam Collard (community): Approve
- 🤖 Landscape Builder: Approve (test results)
-
Diff: 332 lines (+156/-22)5 files modifiedREADME (+4/-2)
config (+1/-0)
fixtures/config (+6/-0)
latch.py (+44/-16)
test_latch.py (+101/-4)
Changed in latch-test: | |
importance: | Undecided → Medium |
Changed in latch-test: | |
status: | In Progress → Fix Committed |
Changed in latch-test: | |
status: | Fix Committed → Fix Released |
our tarmac branch now supports this, so I can use the same feature in latch to save artifacts:
https:/ /code.launchpad .net/~davidpbri tton/tarmac/ artifacts- copy/+merge/ 272685