sklp cache

sklp cache

Description

Inspect the repo cache / collect the CI tool cache (status, gc)

Subcommands

Technical details

Technical details

Raw command JSON

{
  "path": [
    "sklp",
    "cache"
  ],
  "slug": "cache",
  "name": "cache",
  "short": "Inspect the repo cache / collect the CI tool cache (status, gc)",
  "synopsis": "sklp cache",
  "subcommands": [
    {
      "path": [
        "sklp",
        "cache",
        "gc"
      ],
      "slug": "cache-gc",
      "name": "gc",
      "short": "Reclaim CI tool caches of deleted checkouts (--dry-run to preview)",
      "synopsis": "sklp cache gc [flags]",
      "flags": [
        {
          "name": "dry-run",
          "usage": "report what would be reclaimed without removing anything",
          "type": "bool"
        },
        {
          "name": "max-size",
          "usage": "LRU budget for ci-toolcache, e.g. 12G (0 disables; default 12G)",
          "type": "string"
        },
        {
          "name": "runner-max-size",
          "usage": "LRU budget for built runner rootfs trees, e.g. 8G (0 disables; default 8G)",
          "type": "string"
        }
      ]
    },
    {
      "path": [
        "sklp",
        "cache",
        "status"
      ],
      "slug": "cache-status",
      "name": "status",
      "short": "Show local + remote cache state",
      "synopsis": "sklp cache status [flags]",
      "flags": [
        {
          "name": "repo",
          "usage": "repository root whose local cache should be inspected",
          "type": "string",
          "default": "."
        }
      ]
    }
  ]
}

See also