mirror of
https://git.cloudron.io/cloudron/minio-app
synced 2025-09-03 15:55:18 +00:00
Compare commits
78 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
0047b6bd3b | ||
|
b4e59c928c | ||
|
d33cff8f0a | ||
|
4eb440baaf | ||
|
96e54e6b3c | ||
|
bfbe792135 | ||
|
31bbeed39f | ||
|
9a175b6685 | ||
|
a6e36be63d | ||
|
9a348b2de6 | ||
|
c696512b49 | ||
|
cc1385c856 | ||
|
89a6b2407b | ||
|
36d5d82e88 | ||
|
8252a3ee75 | ||
|
c71586f092 | ||
|
09408ff9d4 | ||
|
661c07147e | ||
|
02d58cec8b | ||
|
e43de3a0e0 | ||
|
e391ed9d85 | ||
|
2c9a35effb | ||
|
9ee3f02a10 | ||
|
15f02a8d0f | ||
|
48ffc5257c | ||
|
7fad1aea6d | ||
|
aeb58c292f | ||
|
bcee168e84 | ||
|
150b220bf2 | ||
|
43403829eb | ||
|
75b4da6645 | ||
|
e0f1511552 | ||
|
338371b948 | ||
|
efa30f5115 | ||
|
90fa9036cb | ||
|
15b4ed267b | ||
|
67294dd890 | ||
|
aad0197fff | ||
|
b4a820e079 | ||
|
20cc0c935f | ||
|
b7f575fcf9 | ||
|
7f3a0acab2 | ||
|
6e9d718f4c | ||
|
00b781abe3 | ||
|
4800f84077 | ||
|
d6fc505561 | ||
|
b95c494758 | ||
|
2fc891a5ea | ||
|
f65641edce | ||
|
79b941eb4c | ||
|
f55d0e6b40 | ||
|
2c423db822 | ||
|
a6352ab7d8 | ||
|
01d9c176ce | ||
|
0828f5a2e8 | ||
|
d4341084da | ||
|
a6a23d7023 | ||
|
b3bc027a10 | ||
|
d2a23f97ce | ||
|
d1fa4ee583 | ||
|
3bacd89adc | ||
|
a8805259b5 | ||
|
bcf271abc9 | ||
|
101195f02f | ||
|
bd58749e91 | ||
|
19ff6a62a4 | ||
|
b0d5963549 | ||
|
3d98790d90 | ||
|
a0a9824424 | ||
|
966be1a13e | ||
|
00f3eb3d69 | ||
|
fce20e1783 | ||
|
f18c49de7b | ||
|
7de060613a | ||
|
466dcff1d8 | ||
|
73ebc5b10e | ||
|
352f9250d3 | ||
|
f92fc952af |
281
CHANGELOG
281
CHANGELOG
@@ -1393,3 +1393,284 @@ Improve replication performance. See (#12080, #12054, #12009) for more details.
|
||||
* feat: Add healing trace by @klauspost in #15616
|
||||
* Encrypt checksums by @klauspost in #15620
|
||||
* fix: add healing metric type for heal tracing by @harshavardhana in #15631
|
||||
|
||||
[2.9.3]
|
||||
* Update minio to 2022-09-07T22-25-02Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-09-07T22-25-02Z)
|
||||
* avoid printing io.ErrUnexpectedEOF for .metacache objects by @harshavardhana in #15642
|
||||
* do not print object not found errors in MRF healing by @harshavardhana in #15646
|
||||
* fis deadlock caused by unlocking a non-existing lock by @yudoutingle in #15635
|
||||
* fix: use optimized json.NewEncoder instead for metrics by @harshavardhana in #15648
|
||||
* Reuse madmin.ClusterRegistrationInfo by @anjalshireesh in #15654
|
||||
* verify RenameData() versions to be consistent by @harshavardhana in #15649
|
||||
* allow non-standards fallback for Expires header by @harshavardhana in #15655
|
||||
* allow non-standards fallback for all http.TimeFormats by @harshavardhana in #15662
|
||||
|
||||
[2.9.4]
|
||||
* Update minio to 2022-09-17T00-09-45Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-09-17T00-09-45Z)
|
||||
* limit number of buckets to 500k by @harshavardhana in #15668
|
||||
* Add StopDiskAtLimit by @klauspost in #15670
|
||||
* add vulncheck action to CI by @aead in #15676
|
||||
* Persist in-memory replication stats to disk by @poornas in #15594
|
||||
* prometheus: Track errors during REST read/write calls by @vadmeste in #15678
|
||||
* Fix S3 Select CSV -> JSON with variable field count by @klauspost in #15677
|
||||
* use go1.19.1 for vulncheck by @harshavardhana in #15680
|
||||
* Pass groups claim into condition values by @donatello in #15679
|
||||
* panic if replication config could not be read from disk by @poornas in #15685
|
||||
* update docs to add cycle in scanner by @sinhaashish in #15686
|
||||
* Fix flaky TestGetObjectWithOutdatedDisks by @klauspost in #15687
|
||||
* When listing, do not count delete markers by @klauspost in #15689
|
||||
|
||||
[2.9.5]
|
||||
* Update minio to 2022-09-22T18-57-27Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-09-22T18-57-27Z)
|
||||
* nable cross compile for openbsd/amd64 by @harshavardhana in #15701
|
||||
* Implement KMS methods for keys, policies and identities by @reivaj05 in #15673
|
||||
* Remove deprecated io/ioutil by @klauspost in #15707
|
||||
* helm: specify service account for the jobs by @cowjen01 in #15706
|
||||
* site replication: clear config if remove --all specified by @poornas in #15716
|
||||
* Fix cancellation leaks by @jiuker in #15721
|
||||
|
||||
[2.9.6]
|
||||
* Update minio to 2022-09-25T15-44-53Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-09-25T15-44-53Z)
|
||||
* fix: parse and save retainUntilDate in correct time format by @harshavardhana in #15741
|
||||
* validate correct ETag for the parts sent during CompleteMultipart by @harshavardhana in #15751
|
||||
* Relax retention date enforcement on replication target by @poornas in #15752
|
||||
* Add auto configuration of replication workers by @poornas in #15636
|
||||
* remove unused package internal/smart by @harshavardhana in #15758
|
||||
|
||||
[2.9.7]
|
||||
* Update minio to 2022-10-02T19-29-29Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-10-02T19-29-29Z)
|
||||
* Add RPC tcp timeout/errs and avg duration to prometheus by @vadmeste in #15747
|
||||
* fix: generalize SC config and also skip healing sub-sys under SD by @harshavardhana in #15757
|
||||
* Quick initialized of bucket target notifications by @vadmeste in #15571
|
||||
* support tagging based policy conditions by @harshavardhana in #15763
|
||||
* Update links to documentation site by @djwfyi in #15750
|
||||
* Fix Audit kafka configuration loading by @vadmeste in #15766
|
||||
* Fix race when accessing REST tcp dial values by @vadmeste in #15770
|
||||
* Re-load config after reset by @anjalshireesh in #15771
|
||||
* fix: de-duplicate conflicting object names on namespace by @harshavardhana in #15772
|
||||
|
||||
[2.9.8]
|
||||
* Update minio to 2022-10-05T14-58-27Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-10-05T14-58-27Z)
|
||||
|
||||
[2.9.9]
|
||||
* Update minio to 2022-10-08T20-11-00Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-10-08T20-11-00Z)
|
||||
* set bucket creation timestamp properly for legacy FS backend by @harshavardhana in #15800
|
||||
* decom: Ignore object/version error during deletion by @vadmeste in #15806
|
||||
* remove build asset caching by @harshavardhana in #15807
|
||||
* Fix GetObjectRetention to parse in iso8601 time format by @poornas in #15809
|
||||
* Update pkg to v1.4.5 by @reivaj05 in #15808
|
||||
* remove unused debug param from evalActionFromLifecycle by @harshavardhana in #15813
|
||||
|
||||
[2.9.10]
|
||||
* Update minio to 2022-10-15T19-57-03Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-10-15T19-57-03Z)
|
||||
* Add missing server info fields by @klauspost in #15826
|
||||
* indicate how long it took to bring the drive online by @harshavardhana in #15835
|
||||
* honor specified target prefix under batch replication by @harshavardhana in #15834
|
||||
* remove spurious logging for object not found by @harshavardhana in #15842
|
||||
* Add metrics, version and apis handlers by @reivaj05 in #15839
|
||||
|
||||
[2.9.11]
|
||||
* Update minio to 2022-10-20T00-55-09Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-10-20T00-55-09Z)
|
||||
* do not assume invalid buf to be non-xl.meta by @harshavardhana in #15843
|
||||
* convert context.DeadlineExceed to offline disk in DiskInfo() by @vadmeste in #15886
|
||||
* remove nancy, we rely on vulncheck from now on by @harshavardhana in #15893
|
||||
* do not need to trace ignored objects by @harshavardhana in #15894
|
||||
* Add concurrent Snowball extraction + options by @klauspost in #15836
|
||||
* storage: Return errDiskNotFound when a peer is during shutdown by @vadmeste in #15868
|
||||
|
||||
[2.9.12]
|
||||
* Update minio to 2022-10-21T22-37-48Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-10-21T22-37-48Z)
|
||||
* Do not freeze s3 traffic in healthinfo api by @anjalshireesh in #15912
|
||||
* lifecycle: Fix rules filtering by @vadmeste in #15914
|
||||
* Pass encrypted etag as is for immediate tiering by @krisis in #15925
|
||||
* Set CONSOLE_MINIO_SERVER to 127.0.0.1 by default by @vadmeste in #15887
|
||||
* Fix deletemarker replication check properly by @poornas in #15923
|
||||
* Check for s3zip content offset by @klauspost in #15924
|
||||
|
||||
[2.9.13]
|
||||
* Update minio to 2022-10-24T18-35-07Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-10-24T18-35-07Z)
|
||||
* Fix Prometheus Probe tlsConfig, doesn't belong in ProberSpec by @briend in #15739
|
||||
* Audit dangling object removal by @vadmeste in #15933
|
||||
|
||||
[2.10.0]
|
||||
* Update minio to 2022-10-29T06-21-33Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-10-29T06-21-33Z)
|
||||
* First release to support rebalancing two or more pooled setups to even out disk usage refer #15483
|
||||
* Removes remaining gateway implementations of NAS/S3 and legacy FS mode completely - refer #15929.
|
||||
* Existing users should continue to use their current releases if they wish to continue using gateway mode.
|
||||
* Subscribed customers get downstream support until they are subscribed as per the terms of the subscription.
|
||||
* Other miscellaneous fixes in Site Replication, Multipart Checksums and SUBNET registration.
|
||||
|
||||
[3.0.0]
|
||||
* **IMPORTANT: This release removes the fs backend completely and this upgrade will fail if you are using the fs backend. Please read and understand [this forum post](https://forum.cloudron.io/topic/7967/minio-package-3-x) to determine what backend you are using before upgrading. If your minio uses the fs backend and you upgrade without a backup, all data can be lost.**
|
||||
* Update minio to 2022-10-29T06-21-33Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-10-29T06-21-33Z)
|
||||
* First release to support rebalancing two or more pooled setups to even out disk usage refer #15483
|
||||
* Removes remaining gateway implementations of NAS/S3 and legacy FS mode completely - refer #15929.
|
||||
|
||||
[3.0.1]
|
||||
* Update minio to 2022-11-10T18-20-21Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-11-10T18-20-21Z)
|
||||
* rebalance status must return appropriate error initially by @harshavardhana in #16022
|
||||
* remove io/util for advanced golang by @yanggangtony in #16011
|
||||
* Use the same lock for the scanner and site replication healing by @vadmeste in #15985
|
||||
* Remove some logs caused by external apps by @vadmeste in #16027
|
||||
* remove printing map() checksums by @harshavardhana in #16028
|
||||
|
||||
[3.0.2]
|
||||
* Update minio to 2022-11-11T03-44-20Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-11-11T03-44-20Z)
|
||||
* fix: parsing multipart uploadID under site replicated setup by @poornas in #16048
|
||||
* netPerfRX Reset() should use write Lock() @jiuker in #16043
|
||||
|
||||
[3.1.0]
|
||||
* Update minio to 2022-11-17T23-20-09Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-11-17T23-20-09Z)
|
||||
* save deploymentID to avoid mutating request entry in Audit by @jiuker in #16053
|
||||
* configuring the nats target to reconnect forever by @rayjanoka in #16050
|
||||
* helm: fix positional parameter in template by @yanggangtony in #15983
|
||||
* improve server startup error when pools are incorrect by @harshavardhana in #16056
|
||||
* choose default values upon incorrect storage_class value by @harshavardhana in #16058
|
||||
|
||||
[3.2.0]
|
||||
* Update minio to 2022-11-26T22-43-32Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-11-26T22-43-32Z)
|
||||
* Optimizations in Multipart code-path in multi-pool setups, via #16086
|
||||
* Fixes a regression in server side replication due to ETag mismatch issue under specific type of MinIO setups, fixed via #16129
|
||||
|
||||
[3.3.0]
|
||||
* Update minio to 2022-11-29T23-40-49Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-11-29T23-40-49Z)
|
||||
* avoid serializing decryptKey() every 15mins by @harshavardhana in #16135
|
||||
* kms: fix possible deadlock due to nested RLock calls. by @aead in #16136
|
||||
* Improvements in logger and audit webhooks by @anjalshireesh in #16102
|
||||
|
||||
[3.3.1]
|
||||
* Update minio to 2022-12-02T19-19-22Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-12-02T19-19-22Z)
|
||||
* update reedsolomon v1.11.3 by @harshavardhana in #16149
|
||||
* re-order the top-level config keys for priority by @harshavardhana in #16150
|
||||
* repl: resync orchestrator to use global shared lock by @vadmeste in #16154
|
||||
|
||||
[3.3.2]
|
||||
* Update minio to 2022-12-07T00-56-37Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-12-07T00-56-37Z)
|
||||
* fix: in disk cache readCacheFileStream should closed upon return by @jiuker in #16138
|
||||
* Start PR on Enterprise when there is new MinIO Version by @cniackz in #16121
|
||||
* kms: add support for KES enclaves by @aead in #16139
|
||||
* fix: update the JSON keys for latest 'mc' release by @harshavardhana in #16171
|
||||
|
||||
[3.3.3]
|
||||
* Update minio to 2022-12-12T19-27-27Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-12-12T19-27-27Z)
|
||||
* remove unnecessary logs for truncated XML inputs by @harshavardhana in #16184
|
||||
* Encrypt checksums with KMS on CompleteMultipartUpload by @klauspost in #16177
|
||||
* feat: Encrypt s3zip file index by @klauspost in #16179
|
||||
* reuse sha256 in config GetSettings by @jiuker in #16188
|
||||
* Add version id to healresult by @klauspost in #16193
|
||||
* Replace filepathx with fork by @klauspost in #16192
|
||||
* fix: translate tier add errors properly by @harshavardhana in #16191
|
||||
* remove hard limit for number of buckets by @harshavardhana in #16194
|
||||
* fix: delete marker discrepancies via DeleteObject() API by @harshavardhana in #16195
|
||||
* Add IAM API to attach/detach policies for LDAP by @donatello in #16182
|
||||
* avoid double deletes() when no more versions by @harshavardhana in #16206
|
||||
* do not rename multipart failed transactions back to tmp by @harshavardhana in #16204
|
||||
* Use different subnet public key during dev/test by @anjalshireesh in #16216
|
||||
* fix: iso8601TimeFormat padding issue for certain nanoseconds by @harshavardhana in #16207
|
||||
* Add LDAP DNS SRV record lookup support by @donatello in #16201
|
||||
|
||||
[3.4.0]
|
||||
* Update minio to 2023-01-02T09-40-09Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-01-02T09-40-09Z)
|
||||
* Rebalancing pools correctly choose object sizes to calculate the final distribution #16240
|
||||
* Startup improvements to support WAN-based distributed MinIO setups #16259
|
||||
* Add HTTP2-only support for external policy plugin #16225
|
||||
* Locks are now spread across different pools based on object affinity #16312
|
||||
|
||||
[3.4.1]
|
||||
* Update minio to 2023-01-06T18-11-18Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-01-06T18-11-18Z)
|
||||
* vectorize cluster-wide calls such as bucket operations by @harshavardhana in #16313
|
||||
* update klauspost/compress dependency by @harshavardhana in #16343
|
||||
* update replication tests with latest 'mc' by @harshavardhana in #16348
|
||||
* converge listBuckets() as a peer call by @harshavardhana in #16346
|
||||
* remove unnecessary kernel-tuning docs by @harshavardhana in #16354
|
||||
|
||||
[3.4.2]
|
||||
* Update minio to 2023-01-12T02-06-16Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-01-12T02-06-16Z)
|
||||
* xl: Quit early when EC config is not correct by @vadmeste in #16390
|
||||
* Add comment field to service accounts by @vadmeste in #16380
|
||||
* fix: allow bind on ipv6 loopback failures by @allanrogerr in #16388
|
||||
* fix: error out if an object is found after a full decom by @vadmeste in #16277
|
||||
* Update console to 0.22.5 by @donatello in #16400
|
||||
|
||||
[3.4.3]
|
||||
* Update minio to 2023-01-18T04-36-38Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-01-18T04-36-38Z)
|
||||
* Simplify/speedup container image publishing script by @donatello in #16403
|
||||
* Remove checks target from docker target by @dvaldivia in #16399
|
||||
* metrics: Add more logs when unable to read bucket usage by @vadmeste in #16405
|
||||
* fix: calculate common parity properly by @harshavardhana in #16406
|
||||
* Avoid dangling deletes if disk not found by @poornas in #16401
|
||||
|
||||
[3.4.4]
|
||||
* Update minio to 2023-01-20T02-05-44Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-01-20T02-05-44Z)
|
||||
* Signal stop-rebalance to all rebalancing pools by @krisis in #16438
|
||||
* Use async healing in PutObject call by @vadmeste in #16431
|
||||
* add a way to avoid blocking queueHealTask() depending on caller by @harshavardhana in #16433
|
||||
* Fix bandwidth monitoring to be per remote target by @poornas in #16360
|
||||
|
||||
[3.4.5]
|
||||
* Update minio to 2023-01-25T00-19-54Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-01-25T00-19-54Z)
|
||||
* fix: deleted object names for directory objects by @klauspost in #16448
|
||||
* grafana: Show one metric for the total data growth by @vadmeste in #16449
|
||||
* replication: Avoid logging PreConditionFailed error by @poornas in #16450
|
||||
|
||||
[3.4.6]
|
||||
* Update minio to 2023-01-31T02-24-19Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-01-31T02-24-19Z)
|
||||
* Rename peer S3 prefix to avoid collision in the future by @vadmeste in #16473
|
||||
* Better error when setting up replication with a service account alias by @vadmeste in #16472
|
||||
* add x-amz-id-2 to indicate the node that received the request by @harshavardhana in #16474
|
||||
* fix: anonymize the x-amz-id-2 value from hostname by @harshavardhana in #16478
|
||||
|
||||
[3.4.7]
|
||||
* Update minio to 2023-02-10T18-48-39Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-02-10T18-48-39Z)
|
||||
* Periodically refresh buckets metadata from the backend disks by @vadmeste in #16561
|
||||
* fix: aclHandlers convert XML parse error to relevant client error by @jiuker in #16587
|
||||
* fix: README.md in docs/config by @k0i in #16564
|
||||
* fix: username replacements for aws:username must use parentUser by @harshavardhana in #16591
|
||||
|
||||
[3.4.8]
|
||||
* Update minio to 2023-02-17T17-52-43Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-02-17T17-52-43Z)
|
||||
* ServerInfo: return per erasure set information by @vadmeste in #16583
|
||||
* remove incorrect use of WaitGroup by @jiuker in #16596
|
||||
* fix: allow global leader lock context merge to be canceled by @vadmeste in #16603
|
||||
* Remove parentheses by @atalakey4work in #16605
|
||||
* Periodically remove stale buckets from in-memory by @harshavardhana in #16597
|
||||
|
||||
[3.4.9]
|
||||
* Update minio to 2023-02-22T18-23-45Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-02-22T18-23-45Z)
|
||||
* avoid locks when unnecessary in SiteReplicationMetaInfo() by @harshavardhana in #16650
|
||||
* add missing x-amz-id-2 to event notification date by @harshavardhana in #16646
|
||||
* update dependencies to latest releases by @harshavardhana in #16651
|
||||
* fix: healing of replication config for endpoint changes by @poornas in #16648
|
||||
* Add detailed scanner trace output and notifications by @klauspost in #16668
|
||||
* Set meaningful message from minio with env variable KMS_SECRET_KEY by @allanrogerr in #16584
|
||||
|
@@ -5,8 +5,8 @@
|
||||
"description": "file://DESCRIPTION.md",
|
||||
"changelog": "file://CHANGELOG",
|
||||
"tagline": "Distributed object storage",
|
||||
"version": "2.9.2",
|
||||
"upstreamVersion": "2022-09-01T23-53-36Z",
|
||||
"version": "3.4.9",
|
||||
"upstreamVersion": "2023-02-22T18-23-45Z",
|
||||
"healthCheckPath": "/minio/login",
|
||||
"memoryLimit": 805306368,
|
||||
"httpPort": 8000,
|
||||
|
10
Dockerfile
10
Dockerfile
@@ -1,15 +1,15 @@
|
||||
FROM cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea
|
||||
FROM cloudron/base:4.0.0@sha256:31b195ed0662bdb06a6e8a5ddbedb6f191ce92e8bee04c03fb02dd4e9d0286df
|
||||
|
||||
RUN mkdir -p /app/code
|
||||
WORKDIR /app/code
|
||||
|
||||
ARG VERSION=RELEASE.2022-09-01T23-53-36Z
|
||||
ARG MC_VERSION=RELEASE.2022-08-28T20-08-11Z
|
||||
ARG VERSION=RELEASE.2023-02-22T18-23-45Z
|
||||
|
||||
# sometimes here https://dl.min.io/server/minio/release/linux-amd64/archive/
|
||||
RUN wget https://dl.min.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio && chmod +x /app/code/minio
|
||||
# RUN wget https://dl.min.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio && chmod +x /app/code/minio
|
||||
RUN wget https://dl.min.io/server/minio/release/linux-amd64/archive/minio.${VERSION} -O /app/code/minio && chmod +x /app/code/minio
|
||||
# https://dl.min.io/client/mc/release/linux-amd64/
|
||||
RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc.${MC_VERSION} -O /app/code/mc && chmod +x /app/code/mc
|
||||
RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc -O /app/code/mc && chmod +x /app/code/mc
|
||||
|
||||
COPY env.sh start.sh /app/code/
|
||||
|
||||
|
@@ -37,3 +37,8 @@ PATH=$PATH:node_modules/.bin mocha --bail test.js
|
||||
## Notes
|
||||
|
||||
MinIO Console is an embedded web-based object browser built into MinIO Server
|
||||
|
||||
## Multi-domain
|
||||
|
||||
MINIO_DOMAIN=domain.com env var can be set to server DNS style requests as bucket.domain.com . This requires the platform code to set aliases for the httpPorts and not the primaryport.
|
||||
|
||||
|
811
test/package-lock.json
generated
811
test/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -9,11 +9,11 @@
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"chromedriver": "^104.0.0",
|
||||
"chromedriver": "^110.0.0",
|
||||
"delay": "^5.0.0",
|
||||
"expect.js": "^0.3.1",
|
||||
"mocha": "^10.0.0",
|
||||
"selenium-webdriver": "^4.4.0",
|
||||
"superagent": "^8.0.0"
|
||||
"mocha": "^10.2.0",
|
||||
"selenium-webdriver": "^4.8.1",
|
||||
"superagent": "^8.0.9"
|
||||
}
|
||||
}
|
||||
|
14
test/test.js
14
test/test.js
@@ -54,7 +54,7 @@ describe('Application life cycle test', function () {
|
||||
await waitForElement(By.id('accessKey'));
|
||||
await browser.findElement(By.id('accessKey')).sendKeys(accessKey);
|
||||
await browser.findElement(By.id('secretKey')).sendKeys(secretKey);
|
||||
await browser.findElement(By.xpath('//button[contains(text(), "Login")]')).click();
|
||||
await browser.findElement(By.xpath('//button[@id="do-login"]')).click();
|
||||
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
|
||||
await delay(5000);
|
||||
}
|
||||
@@ -62,18 +62,20 @@ describe('Application life cycle test', function () {
|
||||
async function logout() {
|
||||
await browser.get(`https://${app.fqdn}/`);
|
||||
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
|
||||
await browser.findElement(By.xpath('//div/span[contains(text(), "Logout")]')).click();
|
||||
const button = await browser.findElement(By.xpath('//div/span[contains(text(), "Sign Out")]'));
|
||||
await browser.executeScript('arguments[0].scrollIntoView(false)', button);
|
||||
await button.click();
|
||||
await waitForElement(By.id('accessKey'));
|
||||
}
|
||||
|
||||
async function addBucket() {
|
||||
await browser.get(`https://${app.fqdn}/buckets`);
|
||||
await waitForElement(By.xpath('//button/span[text()="Create Bucket"]'));
|
||||
await browser.findElement(By.xpath('//button/span[text()="Create Bucket"]')).click();
|
||||
await waitForElement(By.xpath('//button[@id="create-bucket"]'));
|
||||
await browser.findElement(By.xpath('//button[@id="create-bucket"]')).click();
|
||||
await browser.sleep(2000);
|
||||
await browser.findElement(By.xpath('//input[@id="bucket-name"]')).sendKeys(BUCKET);
|
||||
await browser.findElement(By.xpath('//button[text()="Create Bucket"]')).click();
|
||||
await waitForElement(By.xpath(`//a[contains(text(), "${BUCKET}")]`));
|
||||
await browser.findElement(By.xpath('//button[@id="create-bucket"]')).click();
|
||||
await waitForElement(By.xpath(`//h1[contains(text(), "${BUCKET}")]`));
|
||||
await delay(5000);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user