891eddce
Initial cacher v0.0.1-dev — S3-backed CI cache helper
Replaces tarantool-protobuf/.builds/lib/ci-lib.sh (and its
two shell helpers s3_cache_or_curl + s3_cache_docker_image)
with a single static Go binary.
Commands:
init / doctor persist config + smoke-test credentials
download / upload single-file cache with URL fallback + sha256
exists / list / delete cache management
key resolve key template (for shell scripting)
docker {exists,download,upload} streamed save/load via zstd
dir {download,upload} tar+zstd directory caching (new)
Key derivation via --hash-from <path> (repeatable; file or dir),
matching the existing sha256sum | cut -c1-16 shell convention.
Garage-compatible S3 client (path-style, checksums when_required).
Eugene Blikh <bigbes@gmail.com> — 2026-05-25 12:57:11 UTC
Commit 891eddce3a799dfa25fdce5029ef8eb7114033de —
view raw patch
| File | Status | + | − |
|---|---|---|---|
.gitignore
|
A | +18 | |
Justfile
|
A | +29 | |
VERSION
|
A | +1 | |
cmd/common.go
|
A | +127 | |
cmd/completion.go
|
A | +57 | |
cmd/dir.go
|
A | +110 | |
cmd/docker.go
|
A | +201 | |
cmd/doctor.go
|
A | +88 | |
cmd/errors.go
|
A | +26 | |
cmd/file.go
|
A | +301 | |
cmd/init.go
|
A | +74 | |
cmd/root.go
|
A | +51 | |
cmd/util.go
|
A | +20 | |
cmd/version.go
|
A | +32 | |
go.mod
|
A | +27 | |
go.sum
|
A | +52 | |
internal/archive/archive.go
|
A | +178 | |
internal/archive/archive_test.go
|
A | +71 | |
internal/config/config.go
|
A | +205 | |
internal/config/config_test.go
|
A | +111 | |
internal/hash/hash.go
|
A | +165 | |
internal/hash/hash_test.go
|
A | +127 | |
internal/logging/logging.go
|
A | +106 | |
internal/s3/client.go
|
A | +216 | |
internal/version/version.go
|
A | +81 | |
main.go
|
A | +7 |