Argo · JSON Structure

Argo Workflows Artifact Structure

A workflow artifact

Type: object Properties: 7
CNCFCI/CDGitOpsKubernetesOpen SourceProgressive DeliveryWorkflow Engine

Artifact is a JSON Structure definition published by Argo, describing 7 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

name path from s3 git http archive

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo/refs/heads/main/json-structure/argo-workflows-artifact-structure.json",
  "name": "Artifact",
  "description": "A workflow artifact",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "path": {
      "type": "string",
      "description": "Path in the container where artifact is placed"
    },
    "from": {
      "type": "string",
      "description": "Source artifact reference"
    },
    "s3": {
      "type": "object",
      "properties": {
        "bucket": {
          "type": "string"
        },
        "key": {
          "type": "string"
        },
        "endpoint": {
          "type": "string"
        }
      }
    },
    "git": {
      "type": "object",
      "properties": {
        "repo": {
          "type": "string"
        },
        "revision": {
          "type": "string"
        },
        "depth": {
          "type": "int32"
        }
      }
    },
    "http": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string"
        },
        "headers": {
          "type": "array",
          "items": {
            "type": "object"
          }
        }
      }
    },
    "archive": {
      "type": "object",
      "properties": {
        "none": {
          "type": "object"
        },
        "tar": {
          "type": "object",
          "properties": {
            "compressionLevel": {
              "type": "int32"
            }
          }
        },
        "zip": {
          "type": "object"
        }
      }
    }
  }
}