mirror of
https://github.com/hanzoai/volume.git
synced 2026-10-30 14:55:30 +00:00
A fork of Rancher's local-path-provisioner at v0.0.36. The behaviour is unchanged and deliberately so — a directory on the node a pod lands on is the right thing for a disk. What changes is identity. The provisioner answers to hanzo.ai/volume rather than rancher.io/local-path. That is not branding: two provisioners sharing one name race for the same claims, and a stock k3s carries the upstream one, so a cluster running both would settle our storage by chance. Data lives at /var/lib/hanzo/volume, so reading a Hanzo cluster does not mean learning another vendor's directory. Apache-2.0 as published, unaltered, with Rancher's attribution in NOTICE. The README says what this is not: durability. A volume here dies with its node. That is hanzoai/replicate's question, one layer up, and keeping the two apart is what lets the disk stay this simple.
124 lines
1.9 KiB
YAML
124 lines
1.9 KiB
YAML
version: 2
|
|
|
|
before:
|
|
hooks:
|
|
- ./gen.sh
|
|
|
|
builds:
|
|
-
|
|
id: "s2c"
|
|
binary: s2c
|
|
main: ./s2/cmd/s2c/main.go
|
|
flags:
|
|
- -trimpath
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- aix
|
|
- linux
|
|
- freebsd
|
|
- netbsd
|
|
- windows
|
|
- darwin
|
|
goarch:
|
|
- 386
|
|
- amd64
|
|
- arm
|
|
- arm64
|
|
- ppc64
|
|
- ppc64le
|
|
- mips64
|
|
- mips64le
|
|
goarm:
|
|
- 7
|
|
-
|
|
id: "s2d"
|
|
binary: s2d
|
|
main: ./s2/cmd/s2d/main.go
|
|
flags:
|
|
- -trimpath
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- aix
|
|
- linux
|
|
- freebsd
|
|
- netbsd
|
|
- windows
|
|
- darwin
|
|
goarch:
|
|
- 386
|
|
- amd64
|
|
- arm
|
|
- arm64
|
|
- ppc64
|
|
- ppc64le
|
|
- mips64
|
|
- mips64le
|
|
goarm:
|
|
- 7
|
|
-
|
|
id: "s2sx"
|
|
binary: s2sx
|
|
main: ./s2/cmd/_s2sx/main.go
|
|
flags:
|
|
- -modfile=s2sx.mod
|
|
- -trimpath
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- aix
|
|
- linux
|
|
- freebsd
|
|
- netbsd
|
|
- windows
|
|
- darwin
|
|
goarch:
|
|
- 386
|
|
- amd64
|
|
- arm
|
|
- arm64
|
|
- ppc64
|
|
- ppc64le
|
|
- mips64
|
|
- mips64le
|
|
goarm:
|
|
- 7
|
|
|
|
archives:
|
|
-
|
|
id: s2-binaries
|
|
name_template: "s2-{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
|
|
format_overrides:
|
|
- goos: windows
|
|
format: zip
|
|
files:
|
|
- unpack/*
|
|
- s2/LICENSE
|
|
- s2/README.md
|
|
checksum:
|
|
name_template: 'checksums.txt'
|
|
snapshot:
|
|
version_template: "{{ .Tag }}-next"
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- '^doc:'
|
|
- '^docs:'
|
|
- '^test:'
|
|
- '^tests:'
|
|
- '^Update\sREADME.md'
|
|
|
|
nfpms:
|
|
-
|
|
file_name_template: "s2_package__{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
|
|
vendor: Klaus Post
|
|
homepage: https://github.com/klauspost/compress
|
|
maintainer: Klaus Post <[email protected]>
|
|
description: S2 Compression Tool
|
|
license: BSD 3-Clause
|
|
formats:
|
|
- deb
|
|
- rpm
|