mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
new file: projects/min.io/config.json
new file: projects/min.io/package.yml
This commit is contained in:
parent
1f5cc45023
commit
d059f16e10
2 changed files with 58 additions and 0 deletions
30
projects/min.io/config.json
Normal file
30
projects/min.io/config.json
Normal file
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"version": "14",
|
||||
"credential": {
|
||||
"accessKey": "minio",
|
||||
"secretKey": "minio123"
|
||||
},
|
||||
"region": "us-east-1",
|
||||
"browser": "on",
|
||||
"logger": {
|
||||
"console": {
|
||||
"level": "error",
|
||||
"enable": true
|
||||
},
|
||||
"file": {
|
||||
"level": "error",
|
||||
"enable": false,
|
||||
"filename": ""
|
||||
}
|
||||
},
|
||||
"notify": {
|
||||
"redis": {
|
||||
"1": {
|
||||
"enable": true,
|
||||
"address": "127.0.0.1:6379",
|
||||
"password": "",
|
||||
"key": "minio_events"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
28
projects/min.io/package.yml
Normal file
28
projects/min.io/package.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
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
|
Loading…
Reference in a new issue