awslabs/aws-build-accumulator

dicts emitted from litani-transform-jobs should only contain command-line switches

Closed this issue · 0 comments

Currently, litani add-job emits a list of dicts. The schema of these dicts is exactly the wrapper_arguments schema in run.json. However, this contains a few fields that the user shouldn't have to deal with, like job UUIDs and status files.

We should remove these fields from the output entirely.

In fact, the current implementation distinguishes between jobs that get added, transformed, and deleted. There's no need to do this at all. Just wipe the entire status directory and re-write a bunch of new jobs, with new UUIDs even.