Skip to content

kindgi artifacts

Files kept in the runtime, each in a project: list, get, upload, download, delete.

List artifacts you can read, newest first: by run, project or type.

Terminal window
kindgi artifacts list [--run=<run-id>] [--project=<project-id>] [--content-type=<mime>] [--limit=<n>] [--cursor=<c>] [--table]

Flags:

  • --content-type <value>: Only this MIME type.
  • --cursor <value>: Resume after this cursor, from the previous page's nextCursor.
  • --limit <value>: The most artifacts to return (default 25, at most 100).
  • --project <value>: Only one project's artifacts.
  • --run <value>: Only the artifacts this run produced.

An artifact's name, type, size and sha256, without its bytes.

Terminal window
kindgi artifacts get <blob-id>

Upload a file as an artifact: it belongs to its run's project, else --project's, else the tenant's default. The runtime caps an upload (100 MB unless set otherwise).

Terminal window
kindgi artifacts upload <file> [--name=<name>] [--content-type=<mime>] [--run=<run-id>] [--project=<project-id>] [--tag=<key>=<value>]…

Flags:

  • --content-type <value>: Its MIME type, such as application/pdf (default: application/octet-stream).
  • --name <value>: Its name (default: the file's name).
  • --project <value>: With no --run: the project it belongs to.
  • --run <value>: The run that produced it: it joins that run's project.
  • --tag <value>: A label, key=value (repeatable). (repeatable)

Download an artifact to a file: -o's path, else its own name in this directory (an existing file is kept unless --force).

Terminal window
kindgi artifacts download <blob-id> [-o <file>] [--force]

Flags:

  • --force: Overwrite the file if it exists.
  • --o <value>: Write it to this file.

Delete an artifact. It stays recoverable until the retention policy for artifact purges it.

Terminal window
kindgi artifacts delete <blob-id>

Every command also takes the global flags.