minimal-x86-64/nixos-minimal-25.05.813814.ac62194c3917-x86_64-linux/nix-store.squashfs.d/crs1ks6b3513ymkmxn8g4iivxz95gvkf-nixos-25.05.813814.ac62194c3917/nixos/nixos/tests
Loopback HTTPS URL or proxy tokenReferences a loopback HTTP URL
SHA-256c77c355cfaa1d1e6b0f4e404895c8cc4fd811b0ca8682acaf1a7a29f505adca1
MaleculeH₂(CmF)
Evidence
19:8… mport os
20 import sys
21 from minio import Minio
22
23 if len(sys.argv) > 1 and sys.argv[1] == 'tls':
24 tls = True
25 else:
26 tls = False
27
28 minioClient = Minio('localh …
47 '';
48 in
49 {
50 name = "minio";
51 meta = with pkgs.lib.maintainers; {
52 maintainers = [
53 bachp
⋯5 lines
81:66… le}")
82
83 # Test non-TLS server
84 machine.wait_for_unit("minio.service")
85 machine.wait_for_open_port(9000)
86
87 # Create a test bucket on the server
88 machine.succeed(
89 "mc config host add minio http://localhost:9000 ${accessKey} ${secretKey} --api s3v4"
90 )
91 machine.succeed("mc mb minio/test-bucket")
⋯5 lines
106:39… rver
107 machine.succeed(
108 "mc config host add minio https://localhost:9000 ${accessKey} ${secretKey} --api s3v4"
109 )
110 machine.succeed("mc --insecure mb minio/test-bucket")
⋯7 lines