DevOps · Flashcard

How are output artifacts packaged by default?

  • AAs a tarball that is then gzipped before it is uploaded
  • BAs the raw file, uploaded exactly as the container wrote it
  • CAs a zip archive, because object stores index those cheaply
  • DAs a gzipped tarball for directories, with single files sent raw

Why this is the answer

By default artifacts are packaged as tarballs and gzipped, which is why a downloaded artifact often ends in .tgz even when it was one plain file. Uploading raw is what archive: none gives you, and you have to ask for it. Zip is not used anywhere in the pipeline. And the packaging does not vary by whether the path is a file or a directory — the same default applies to both.

Official docs
Study in Gnoseed →