mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
d059f16e10
new file: projects/min.io/package.yml
28 lines
685 B
YAML
28 lines
685 B
YAML
distributable:
|
|
url: https://github.com/minio/minio/archive/RELEASE.2023-10-25T06-33-25Z.tar.gz
|
|
strip-components: 1
|
|
versions:
|
|
- 2023.10.25.06.33.25
|
|
build:
|
|
dependencies:
|
|
go.dev: '*'
|
|
script:
|
|
- go build $GO_ARGS -ldflags="$LD_FLAGS"
|
|
env:
|
|
GO_ARGS:
|
|
- -trimpath
|
|
- -o="{{prefix}}/bin/minio"
|
|
linux:
|
|
GO_ARGS:
|
|
- -buildmode=pie
|
|
LD_FLAGS:
|
|
- -s
|
|
- -w
|
|
- "-X github.com/minio/minio/cmd.ReleaseTag=2023-10-25T06-33-25Z"
|
|
provides:
|
|
- bin/minio
|
|
test:
|
|
script:
|
|
- minio --version | grep "2023-10-25T06-33-25Z"
|
|
- minio --config-dir $PWD server $PWD/export | grep "MinIO Object Storage Server" &
|
|
- killall minio || true |