Skip to content

Ivcap artifact upload

ivcap artifact upload

Resume uploading artifact content

Synopsis

Resume uploading content to an existing artifact.

Files named *.zip, *.tar, *.tar.gz or *.tgz are indexed before upload and receive an RO-Crate 1.2 JSON-LD manifest aspect by default. Only the file name decides, so other ZIP-based formats such as .docx are not indexed. Use --without-manifest to opt out. The manifest is a convenience: if an archive cannot be indexed, or the aspect cannot be added, a warning is printed and the upload still completes; run the same command again to retry the manifest. Content read from stdin is never indexed.

ivcap artifact upload artifactID -f file|- [flags]

Options

      --chunk-size int           Chunk size in bytes for splitting large files: at least 65536, or -1 to upload without chunking (default 10000000)
  -t, --content-type string      Content type of artifact; auto-detected when omitted. Accepts a full MIME type (e.g. application/x-compressed-tar) or a bare extension (e.g. tgz, nc, fasta)
  -f, --file string              Path to file containing artifact content
  -h, --help                     help for upload
      --license string           License of the content, recorded in the archive manifest: an SPDX identifier such as CC-BY-4.0 (not checked against the SPDX list), a license URL, or 'undefined' (default "undefined")
      --manifest-schema string   Schema URN for the archive manifest aspect (default "urn:ivcap:schema:artifact.archive-manifest.1")
      --without-manifest         Do not add a file manifest for ZIP, TAR or TAR.GZ archives

Options inherited from parent commands

      --access-token string   Access token to use for authentication with API server [IVCAP_ACCESS_TOKEN]
      --context string        Context (deployment) to use
      --debug                 Set logging level to DEBUG
      --no-history            Do not store history
  -o, --output string         Set format for displaying output [json, yaml]
      --silent                Do not show any progress information
      --timeout int           Max. number of seconds to wait for completion (default 30)

SEE ALSO