diff --git a/CLAUDE.md b/CLAUDE.md index 86ebd92..1a701e4 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -48,7 +48,7 @@ The toolbox every katoptra mirror includes by URL. Read `README.md` for the cont - Actions pinned to a full SHA with the version in a trailing comment. A mirror pins the two reusable workflows that way; each checks this repository out at its own commit (`github.job_workflow_sha`) for the toolbox action and the lock, so a workflow pin is - the one pin. The include and the image float at `v1` by design: moving that tag is + the one pin. The include and the image float at `v2` by design: moving that tag is the rollout. ## Verifying a change diff --git a/README.md b/README.md index cc5ac6b..6dcc398 100644 --- a/README.md +++ b/README.md @@ -19,10 +19,10 @@ flowchart TB rt["render.txt
the committed dry run"] cw["sync.yml, check.yml
callers of lib's"] end - subgraph lib["katoptra/lib, pinned to v1"] + subgraph lib["katoptra/lib, pinned to v2"] tb["toolbox.yml
menu, image, run, op, sync, plan
render, check, clock, ping"] en["engines/rsync.yml
list, diff, split, batches, reconcile ...
hooks: prepare, verify, index, smoke"] - im["ghcr.io/katoptra/toolbox:<variant>-v1
docker/ + toolchain.lock.toml"] + im["ghcr.io/katoptra/toolbox:<variant>-v2
docker/ + toolchain.lock.toml"] wf[".github/workflows/sync.yml, check.yml
.github/actions/toolbox"] end tf -- "includes, flattened" --> tb @@ -222,16 +222,16 @@ env: AWS_CONFIG_FILE: '{{.ROOT_DIR}}/aws.config' includes: toolbox: - taskfile: https://raw.githubusercontent.com/katoptra/lib/v1/toolbox.yml + taskfile: https://raw.githubusercontent.com/katoptra/lib/v2/toolbox.yml flatten: true excludes: [report-engine, report-mirror] vars: NAME: tlnet DESC: a daily mirror of TeX Live's tlnet at https://tlnet.ijosh.com/ - IMAGE: ghcr.io/katoptra/toolbox:rsync-v1 + IMAGE: ghcr.io/katoptra/toolbox:rsync-v2 PASS: AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_ENDPOINT_URL rsync: - taskfile: https://raw.githubusercontent.com/katoptra/lib/v1/engines/rsync.yml + taskfile: https://raw.githubusercontent.com/katoptra/lib/v2/engines/rsync.yml flatten: true excludes: [index] tasks: @@ -274,7 +274,7 @@ A duplicate without `excludes` is a parse error, on purpose. ```yaml includes: rsync: - taskfile: https://raw.githubusercontent.com/katoptra/lib/v1/engines/rsync.yml + taskfile: https://raw.githubusercontent.com/katoptra/lib/v2/engines/rsync.yml flatten: true excludes: [index] # the mirror draws its own landing page tasks: @@ -342,16 +342,16 @@ vars: HOST: ctan.ijosh.com includes: toolbox: - taskfile: https://raw.githubusercontent.com/katoptra/lib/v1/toolbox.yml + taskfile: https://raw.githubusercontent.com/katoptra/lib/v2/toolbox.yml flatten: true excludes: [report-engine] vars: NAME: ctan DESC: an hourly mirror of CTAN at https://ctan.ijosh.com/ - IMAGE: ghcr.io/katoptra/toolbox:rsync-v1 + IMAGE: ghcr.io/katoptra/toolbox:rsync-v2 PASS: AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_ENDPOINT_URL rsync: - taskfile: https://raw.githubusercontent.com/katoptra/lib/v1/engines/rsync.yml + taskfile: https://raw.githubusercontent.com/katoptra/lib/v2/engines/rsync.yml flatten: true ``` @@ -407,7 +407,7 @@ Two pins, one policy. The workflow calls are pinned to a release commit with the version in a trailing comment, as an Actions policy that requires a full SHA on every `uses:` demands, and Dependabot bumps them; each reusable workflow checks this repository out at that same commit for the toolbox action and the lock, so the workflow -pin is the only Actions-side pin. The include and the image float at `v1`, on purpose: +pin is the only Actions-side pin. The include and the image float at `v2`, on purpose: moving that tag is how a verb or a tool reaches every mirror on its next run. `timeout- minutes` goes in `with:` only when it differs from the workflow's default of 355.