MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / upload_artifact

Function upload_artifact

misc/python/materialize/buildkite.py:160–173  ·  view source on GitHub ↗
(path: Path | str, cwd: Path | None = None, quiet: bool = False)

Source from the content-addressed store, hash-verified

158
159
160def upload_artifact(path: Path | str, cwd: Path | None = None, quiet: bool = False):
161 spawn.run_with_retries(
162 lambda: spawn.runv(
163 [
164 "buildkite-agent",
165 "artifact",
166 "upload",
167 "--log-level",
168 "fatal" if quiet else "notice",
169 path,
170 ],
171 cwd=cwd,
172 )
173 )
174
175
176def get_parallelism_index() -> int:

Callers 1

workflow_defaultFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected