Make fan-out example local runnable

This commit is contained in:
2026-05-31 04:03:26 +00:00
parent b3044c5b7b
commit eac73a79a1
4 changed files with 21 additions and 20 deletions

View File

@@ -74,6 +74,12 @@ Publish the local HTML example:
go run ./cmd/distributor run --config examples/local-html.yml
```
Preview local fan-out publication:
```sh
go run ./cmd/distributor run --config examples/fan-out.yml --dry-run
```
## Output
`run` prints the number of configured pipelines, one line per pipeline, one line per planned destination action, and a final status line. Actions include:

View File

@@ -150,5 +150,4 @@ Maintained examples live under [examples](../examples/):
- `local-to-local.yml`: minimal local config.
- `local-publish.yml`: runnable local source publication.
- `local-html.yml`: runnable local HTML publication.
`examples/fan-out.yml` currently demonstrates accepted SSH/S3 config shape but is not executable until remote backend support exists.
- `fan-out.yml`: runnable local fan-out publication to source and HTML destinations.

View File

@@ -26,6 +26,12 @@ Run the local HTML publication:
go run ./cmd/distributor run --config examples/local-html.yml
```
Preview local fan-out publication:
```sh
go run ./cmd/distributor run --config examples/fan-out.yml --dry-run
```
## Filesystem Layout
Source bundles are discovered beneath the configured local source root. Each bundle is a directory containing `manifest.json`.