Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Treatment pushArtifactFile

work/artifact::pushArtifactFile


Parameters

↳ var access: string = "organization"
↳ var forever: bool = false
↳ var lock: bool = false
↳ var retention_days: u32 = 0

Inputs

⇥ filesystem: Block<FileSystem> (fs/filesystem::FileSystem)
⇥ name: Block<string>
⇥ path: Block<string>

Outputs

↦ artifact: Block<Json> (json::Json)
↦ completed: Block<void>
↦ error: Block<string>
↦ failed: Block<void>
↦ finished: Block<void>


Push a file as a run artifact of api.melodium.tech.

The file at path of filesystem is kept as the artifact name of the run, under its own name, such as hexyl for target/release/hexyl: its stable address (/artifacts/<run>/<name>) then gives the file itself. It is read, searched for revealed secret values, and uploaded in parts while it is read.

Parameters and outputs are those of pushArtifact, without entrypoint: renders are directories.