Bytes should store the following (additional) information per job:
The hash of the code/image used to run the boefje
Docker image --> Is also OCI image
Zip of local dir
OCI container
The boefje's input
Environment variables
CLI arguments --> boefje_meta.arguments contains the OOI dict
stdin (i.e. the OOI in JSON format) --> boefje_meta.arguments contains the OOI dict
The boefje's output
stdout (i.e. the structured output of the boefje)
stderr (i.e. plain text errors / stackstraces)
And finally, the hash of the above metadata, which represents the complete state of the job.
A suggested approach is to simply include the new information in the existing job meta-file, and add an additional file that contains the hash of the meta-file.
Bytes should store the following (additional) information per job:
And finally, the hash of the above metadata, which represents the complete state of the job.
A suggested approach is to simply include the new information in the existing job meta-file, and add an additional file that contains the hash of the meta-file.
Related tickets:
Subtasks