[
  {
    "file": "ptah-version.txt",
    "argv": [
      "ptah",
      "version"
    ],
    "exit_code": 0
  },
  {
    "file": "push-v1.txt",
    "argv": [
      "ptah",
      "schema",
      "push",
      "oci://harbor.blog-harbor.svc.cluster.local/fulfillment/shipments:candidate",
      "--schema-file",
      "/examples/schema-v1.sql",
      "--dialect",
      "postgres",
      "--version",
      "v1"
    ],
    "exit_code": 0
  },
  {
    "file": "inspect-v1.json",
    "argv": [
      "ptah",
      "oci",
      "inspect",
      "oci://harbor.blog-harbor.svc.cluster.local/fulfillment/shipments:candidate",
      "--format",
      "json"
    ],
    "exit_code": 0
  },
  {
    "file": "resolve-v1.txt",
    "argv": [
      "ptah",
      "oci",
      "resolve",
      "oci://harbor.blog-harbor.svc.cluster.local/fulfillment/shipments:candidate"
    ],
    "exit_code": 0
  },
  {
    "file": "tag-production-v1.txt",
    "argv": [
      "ptah",
      "oci",
      "tag",
      "$SCHEMA_V1",
      "production"
    ],
    "exit_code": 0
  },
  {
    "file": "capabilities.json",
    "argv": [
      "ptah",
      "oci",
      "capabilities",
      "$SCHEMA_V1",
      "--format",
      "json"
    ],
    "exit_code": 0
  },
  {
    "file": "login.txt",
    "argv": [
      "ptah",
      "oci",
      "login",
      "harbor.blog-harbor.svc.cluster.local",
      "--username",
      "$PUBLISHER_ROBOT",
      "--password-stdin"
    ],
    "exit_code": 0
  },
  {
    "file": "anonymous-pull.txt",
    "argv": [
      "curl",
      "--cacert",
      "/examples/ca.crt",
      "https://harbor.blog-harbor.svc.cluster.local/v2/fulfillment/shipments/tags/list"
    ],
    "exit_code": 0
  },
  {
    "file": "untrusted-ca.txt",
    "argv": [
      "ptah",
      "oci",
      "resolve",
      "oci://harbor.blog-harbor.svc.cluster.local/fulfillment/shipments:production"
    ],
    "exit_code": 0
  },
  {
    "file": "push-v2.txt",
    "argv": [
      "ptah",
      "schema",
      "push",
      "oci://harbor.blog-harbor.svc.cluster.local/fulfillment/shipments:candidate",
      "--schema-file",
      "/examples/schema-v2.sql",
      "--dialect",
      "postgres",
      "--version",
      "v2"
    ],
    "exit_code": 0
  },
  {
    "file": "inspect-v2.json",
    "argv": [
      "ptah",
      "oci",
      "inspect",
      "oci://harbor.blog-harbor.svc.cluster.local/fulfillment/shipments:candidate",
      "--format",
      "json"
    ],
    "exit_code": 0
  },
  {
    "file": "tag-production-v2.txt",
    "argv": [
      "ptah",
      "oci",
      "tag",
      "$SCHEMA_V2",
      "production"
    ],
    "exit_code": 0
  },
  {
    "file": "resolve-production.txt",
    "argv": [
      "ptah",
      "oci",
      "resolve",
      "oci://harbor.blog-harbor.svc.cluster.local/fulfillment/shipments:production"
    ],
    "exit_code": 0
  },
  {
    "file": "rendered-v1.txt",
    "argv": [
      "ptah",
      "schema",
      "render",
      "--schema-file",
      "$SCHEMA_V1",
      "--dialect",
      "postgres"
    ],
    "exit_code": 0
  },
  {
    "file": "rendered-v2.txt",
    "argv": [
      "ptah",
      "schema",
      "render",
      "--schema-file",
      "oci://harbor.blog-harbor.svc.cluster.local/fulfillment/shipments:production",
      "--dialect",
      "postgres"
    ],
    "exit_code": 0
  },
  {
    "file": "pull-v1.txt",
    "argv": [
      "ptah",
      "schema",
      "pull",
      "$SCHEMA_V1",
      "--out",
      "reviewed-v1.hcl"
    ],
    "exit_code": 0
  },
  {
    "file": "pulled-v1-sha256.txt",
    "argv": [
      "sha256sum",
      "reviewed-v1.hcl"
    ],
    "exit_code": 0
  }
]