Treatment writeFile

cicd/data::writeFile


Parameters

↳ var label: string

Inputs

⇥ data: Stream<byte>
⇥ file_path: Block<string>
⇥ filesystem_name: Block<string>

Outputs

↦ completed: Block<void>
↦ failed: Block<void>
↦ finished: Block<void>


Write a byte stream to a file on a named work-environment volume.

Looks up the volume identified by filesystem_name, then writes the data stream to file_path on that volume. Errors from the filesystem lookup or write are logged under label. completed is emitted on success; failed on any error; finished always at the end.