nixosTests.minio: update minio-client command
This commit is contained in:
parent
d7e1e8467a
commit
bb7b63ac0b
2 changed files with 4 additions and 2 deletions
|
@ -44,7 +44,7 @@ in {
|
|||
|
||||
# Create a test bucket on the server
|
||||
machine.succeed(
|
||||
"mc config host add minio http://localhost:9000 ${accessKey} ${secretKey} S3v4"
|
||||
"mc config host add minio http://localhost:9000 ${accessKey} ${secretKey} --api s3v4"
|
||||
)
|
||||
machine.succeed("mc mb minio/test-bucket")
|
||||
machine.succeed("${minioPythonScript}")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "minio";
|
||||
|
@ -19,6 +19,8 @@ buildGoModule rec {
|
|||
-s -w -X github.com/minio/minio/cmd.Version=${version}
|
||||
''];
|
||||
|
||||
passthru.tests.minio = nixosTests.minio;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://www.minio.io/";
|
||||
description = "An S3-compatible object storage server";
|
||||
|
|
Loading…
Reference in a new issue