1
0
mirror of https://git.cloudron.io/cloudron/minio-app synced 2025-09-13 00:15:40 +00:00

Compare commits

...

133 Commits

Author SHA1 Message Date
Girish Ramakrishnan
d6fc505561 Version 3.0.0-1 2022-11-11 10:28:19 +01:00
Girish Ramakrishnan
b95c494758 Version 3.0.0 2022-11-11 10:26:29 +01:00
Girish Ramakrishnan
2fc891a5ea Version 2.10.0 2022-10-29 17:23:37 +02:00
Girish Ramakrishnan
f65641edce Update minio to 2022-10-29T06-21-33Z 2022-10-29 17:14:55 +02:00
Girish Ramakrishnan
79b941eb4c Version 2.9.13 2022-10-25 20:34:13 +02:00
Girish Ramakrishnan
f55d0e6b40 Update test packages 2022-10-25 20:29:49 +02:00
Girish Ramakrishnan
2c423db822 Update minio to 2022-10-24T18-35-07Z 2022-10-25 20:24:18 +02:00
Girish Ramakrishnan
a6352ab7d8 Version 2.9.12 2022-10-23 08:21:35 +02:00
Girish Ramakrishnan
01d9c176ce Update minio to 2022-10-21T22-37-48Z 2022-10-23 08:00:24 +02:00
Girish Ramakrishnan
0828f5a2e8 Version 2.9.11 2022-10-20 19:27:10 +02:00
Girish Ramakrishnan
d4341084da Update minio to 2022-10-20T00-55-09Z 2022-10-20 19:20:18 +02:00
Girish Ramakrishnan
a6a23d7023 Version 2.9.10 2022-10-16 16:08:18 +02:00
Girish Ramakrishnan
b3bc027a10 Update test packages 2022-10-16 16:01:16 +02:00
Girish Ramakrishnan
d2a23f97ce Update minio to 2022-10-15T19-57-03Z 2022-10-16 16:00:18 +02:00
Girish Ramakrishnan
d1fa4ee583 Version 2.9.9 2022-10-10 12:23:17 +02:00
Girish Ramakrishnan
3bacd89adc Update minio to 2022-10-08T20-11-00Z 2022-10-10 12:11:27 +02:00
Girish Ramakrishnan
a8805259b5 Version 2.9.8 2022-10-06 10:39:47 +02:00
Girish Ramakrishnan
bcf271abc9 No need to version the client 2022-10-06 10:15:43 +02:00
Girish Ramakrishnan
101195f02f Update minio to RELEASE.2022-10-05T14-58-27Z 2022-10-06 10:05:58 +02:00
Girish Ramakrishnan
bd58749e91 Version 2.9.7 2022-10-04 09:54:12 +02:00
Girish Ramakrishnan
19ff6a62a4 Update test packages 2022-10-04 09:47:01 +02:00
Girish Ramakrishnan
b0d5963549 Update mc to 2022-10-01T07-56-14Z 2022-10-04 09:44:14 +02:00
Girish Ramakrishnan
3d98790d90 Update minio to 2022-10-02T19-29-29Z 2022-10-04 09:41:43 +02:00
Girish Ramakrishnan
a0a9824424 Version 2.9.6 2022-09-28 09:56:02 +02:00
Girish Ramakrishnan
966be1a13e Update minio to 2022-09-25T15-44-53Z 2022-09-27 11:17:09 +02:00
Girish Ramakrishnan
00f3eb3d69 Version 2.9.5 2022-09-23 09:30:39 +02:00
Girish Ramakrishnan
fce20e1783 Update minio to 2022-09-22T18-57-27Z 2022-09-23 09:16:08 +02:00
Girish Ramakrishnan
f18c49de7b Version 2.9.4 2022-09-20 18:59:11 +02:00
Girish Ramakrishnan
7de060613a Fixup tests 2022-09-20 18:57:27 +02:00
Girish Ramakrishnan
466dcff1d8 Update minio to 2022-09-17T00-09-45Z 2022-09-20 17:57:28 +02:00
Girish Ramakrishnan
73ebc5b10e Update test packages 2022-09-20 17:57:14 +02:00
Girish Ramakrishnan
352f9250d3 Version 2.9.3 2022-09-10 11:49:35 +02:00
Girish Ramakrishnan
f92fc952af Update minio to 2022-09-07T22-25-02Z 2022-09-10 10:36:14 +02:00
Girish Ramakrishnan
b3b18d1b18 Version 2.9.2 2022-09-05 10:41:54 +02:00
Girish Ramakrishnan
ffedc9db25 Update mc 2022-09-05 10:16:50 +02:00
Girish Ramakrishnan
d8064088ce Update minio to 2022-09-01T23-53-36Z 2022-09-05 10:15:51 +02:00
Girish Ramakrishnan
695806c300 Update minio to 2022-08-26T19-53-15Z 2022-08-29 21:01:33 +02:00
Girish Ramakrishnan
1a3a0f18b9 Version 2.9.1 2022-08-25 20:00:16 +02:00
Girish Ramakrishnan
f8f48ee71c Update minio to 2022-08-25T07-17-05Z 2022-08-25 19:45:16 +02:00
Girish Ramakrishnan
381c362e84 Version 2.9.0 2022-08-24 12:59:39 +02:00
Girish Ramakrishnan
e064370467 Update minio to 2022-08-22T23-53-06Z 2022-08-24 12:45:40 +02:00
Girish Ramakrishnan
88cf43708d Version 2.8.12 2022-08-15 09:31:11 +02:00
Girish Ramakrishnan
e83c637e08 Update mc to 2022-08-11T00-30-48Z 2022-08-15 09:19:16 +02:00
Girish Ramakrishnan
f48251e55c Update minio to 2022-08-13T21-54-44Z 2022-08-15 09:14:48 +02:00
Girish Ramakrishnan
b0edebfba8 Version 2.8.11 2022-08-12 07:45:00 +02:00
Girish Ramakrishnan
4f76314872 Update minio to 2022-08-11T04-37-28Z 2022-08-12 07:32:55 +02:00
Girish Ramakrishnan
12c3b3ec2c Version 2.8.10 2022-08-09 08:44:52 +02:00
Girish Ramakrishnan
7298aad053 Update minio to 2022-08-08T18-34-09Z 2022-08-09 08:33:17 +02:00
Girish Ramakrishnan
3c4b7290db Version 2.8.9 2022-08-06 08:14:00 +02:00
Girish Ramakrishnan
33803ec2d6 Update mc to 2022-08-05T08-01-28Z 2022-08-06 08:00:03 +02:00
Girish Ramakrishnan
acbc45a26f Update minio to 2022-08-05T23-27-09Z 2022-08-06 07:57:23 +02:00
Girish Ramakrishnan
78abd09c30 Version 2.8.8 2022-08-03 09:53:31 +02:00
Girish Ramakrishnan
4898a75d5b Update minio to 2022-08-02T23-59-16Z 2022-08-03 09:32:21 +02:00
Girish Ramakrishnan
251f8d18a5 Version 2.8.7 2022-07-30 11:33:54 +02:00
Girish Ramakrishnan
4174832c63 Update minio to 2022-07-30T05-21-40Z 2022-07-30 10:54:51 +02:00
Girish Ramakrishnan
c95b7ec69c Version 2.8.6 2022-07-26 13:25:23 +02:00
Girish Ramakrishnan
765ac6c810 Update minio to 2022-07-26T00-53-03Z 2022-07-26 13:07:21 +02:00
Girish Ramakrishnan
68e6b92c08 Version 2.8.5 2022-07-25 11:10:38 +02:00
Girish Ramakrishnan
49190b074c Update minio to 2022-07-24T17-09-31Z 2022-07-25 10:51:32 +02:00
Girish Ramakrishnan
7e29cf3ca6 API_SERVER_DOMAIN will always be set now 2022-07-24 09:51:27 +02:00
Girish Ramakrishnan
3dc1454fd7 Update minio to 2022-07-24T01-54-52Z 2022-07-24 09:51:27 +02:00
Johannes Zellner
08ee194809 Bump version 2022-07-18 08:57:36 +02:00
Girish Ramakrishnan
a95014bef5 Version 2.8.3 2022-07-15 13:19:35 +05:30
Girish Ramakrishnan
6f8c2823a3 Update minio to 2022-07-15T03-44-22Z 2022-07-15 12:56:50 +05:30
Johannes Zellner
e0a95c19f3 Update test deps 2022-07-14 13:04:13 +02:00
Johannes Zellner
add3c0728c Bump version 2022-07-14 13:04:01 +02:00
Girish Ramakrishnan
ab082d612a Version 2.8.1 2022-07-07 14:19:11 +05:30
Girish Ramakrishnan
b732aa9833 Update mc client 2022-07-07 13:57:57 +05:30
Girish Ramakrishnan
e68520b2cd Update minio to 2022-07-06T20-29-49Z 2022-07-07 13:56:35 +05:30
Girish Ramakrishnan
83a9ffe9bd Version 2.8.0 2022-07-05 08:24:31 +05:30
Girish Ramakrishnan
56e76c6098 Update minio to 2022-07-04T21-02-54Z 2022-07-05 08:23:14 +05:30
Girish Ramakrishnan
4172a77c28 Not ready for multiDomain yet 2022-07-05 08:13:55 +05:30
Johannes Zellner
62b482f6de Update test deps 2022-07-01 10:49:03 +02:00
Johannes Zellner
a3e521d243 Bump version 2022-07-01 10:48:30 +02:00
Girish Ramakrishnan
7b5a6629b3 Add multidomain support
this allows subdomain style bucket access
2022-06-28 08:45:24 -07:00
Girish Ramakrishnan
0b3787bb4c Version 2.7.6 2022-06-27 12:32:03 -07:00
Girish Ramakrishnan
4485660f19 Update minio to 2022-06-25T15-50-16Z 2022-06-27 12:20:47 -07:00
Girish Ramakrishnan
198a7ba2d8 Version 2.7.5 2022-06-20 23:10:07 -07:00
Girish Ramakrishnan
694ea1a835 Update minio to 2022-06-20T23-13-45Z 2022-06-20 22:49:21 -07:00
Girish Ramakrishnan
ae7b78e2d7 Version 2.7.4 2022-06-18 09:17:25 -07:00
Girish Ramakrishnan
f5b85c7dfa Update minio to 2022-06-17T02-00-35Z 2022-06-18 08:54:46 -07:00
Girish Ramakrishnan
6148966516 Version 2.7.3 2022-06-12 10:14:37 -07:00
Girish Ramakrishnan
9967b12167 Update test packages 2022-06-12 10:13:54 -07:00
Girish Ramakrishnan
5574cc464a Update minio to 2022-06-11T19-55-32Z 2022-06-12 10:03:46 -07:00
Girish Ramakrishnan
794538bbe9 Version 2.7.2 2022-06-11 08:44:31 -07:00
Girish Ramakrishnan
a1e5589dca Update mc 2022-06-11 08:30:31 -07:00
Girish Ramakrishnan
f7d9d69187 Update minio to 2022-06-10T16-59-15Z 2022-06-11 08:29:26 -07:00
Girish Ramakrishnan
2762522066 Version 2.7.1 2022-06-10 11:33:52 -07:00
Girish Ramakrishnan
4c6b99857c Bump memory limit 2022-06-10 11:25:20 -07:00
Girish Ramakrishnan
6c788ded2d Version 2.7.0 2022-06-06 21:26:18 -07:00
Girish Ramakrishnan
542b8a4412 add delays everywhere
doing things fast in the ui breaks now
2022-06-06 21:25:18 -07:00
Girish Ramakrishnan
4b3b4b9d4d Update minio to 2022-06-07T00-33-41Z 2022-06-06 20:57:01 -07:00
Girish Ramakrishnan
a0c9c76bd8 Update minio to 2022-06-03T01-40-53Z 2022-06-06 12:48:55 -07:00
Girish Ramakrishnan
d23b35e1b8 Version 2.6.0 2022-06-02 08:23:53 -07:00
Girish Ramakrishnan
32684767b6 Update minio to 2022-06-02T02-11-04Z 2022-06-02 08:07:35 -07:00
Girish Ramakrishnan
ad93f49467 Version 2.5.3 2022-05-26 08:51:17 -07:00
Girish Ramakrishnan
52b7e49b44 Update minio to 2022-05-26T05-48-41Z 2022-05-26 08:43:30 -07:00
Girish Ramakrishnan
ab20e34d26 Version 2.5.2 2022-05-23 19:35:40 -07:00
Girish Ramakrishnan
522cfeff67 Update test packages 2022-05-23 19:30:42 -07:00
Girish Ramakrishnan
d7b08ca48c Update minio to 2022-05-23T18-45-11Z 2022-05-23 19:29:42 -07:00
Girish Ramakrishnan
058673d882 Version 2.5.1 2022-05-20 09:01:45 -07:00
Girish Ramakrishnan
8c3ea72c86 Update minio to 2022-05-19T18-20-59Z 2022-05-20 08:55:01 -07:00
Girish Ramakrishnan
74eea35e18 Version 2.5.0 2022-05-09 09:32:24 -07:00
Girish Ramakrishnan
eafdc900b3 Update minio to 2022-05-08T23-50-31Z 2022-05-09 09:18:17 -07:00
Girish Ramakrishnan
0ec3052ad8 Version 2.4.14 2022-05-04 09:18:40 -07:00
Girish Ramakrishnan
c10b3888f0 Update mc again 2022-05-04 09:08:58 -07:00
Girish Ramakrishnan
8d2b9d84ce Update minio to 2022-05-04T07-45-27Z 2022-05-04 09:05:00 -07:00
Girish Ramakrishnan
13a4de046d Version 2.4.13 2022-05-03 15:42:40 -07:00
Girish Ramakrishnan
d030ce00cc Update minio to 2022-05-03T20-36-08Z 2022-05-03 15:32:54 -07:00
Girish Ramakrishnan
a2ea852bd4 can only change password with env vars now
https://docs.min.io/docs/minio-server-configuration-guide.html#credentials
2022-04-30 15:45:21 -07:00
Girish Ramakrishnan
aeeb7473b9 Version 2.4.12 2022-04-29 10:57:03 -07:00
Girish Ramakrishnan
a988358a84 Update minio to 2022-04-29T01-27-09Z 2022-04-29 10:49:15 -07:00
Girish Ramakrishnan
76e75b2421 Version 2.4.11 2022-04-25 22:46:17 -07:00
Girish Ramakrishnan
51bd508a5e Update minio to 2022-04-26T01-20-24Z 2022-04-25 22:31:06 -07:00
Girish Ramakrishnan
4e042bb62f Version 2.4.10 2022-04-17 11:35:02 -05:00
Girish Ramakrishnan
00fc4851bc Update minio to 2022-04-16T04-26-02Z 2022-04-17 11:23:56 -05:00
Girish Ramakrishnan
fb0dae799d Version 2.4.9 2022-04-13 09:18:58 -05:00
Girish Ramakrishnan
a68bdeeade Update minio to 2022-04-12T06-55-35Z 2022-04-13 09:08:05 -05:00
Girish Ramakrishnan
c1dbd2139f Version 2.4.8 2022-04-10 06:57:22 -07:00
Girish Ramakrishnan
fe88ff7d1c Update minio to 2022-04-09T15-09-52Z 2022-04-10 06:52:12 -07:00
Girish Ramakrishnan
fecebfd7e1 Version 2.4.7 2022-04-04 09:21:42 -07:00
Girish Ramakrishnan
0d171ddb5a Update minio to 2022-04-01T03-41-39Z 2022-04-04 09:06:44 -07:00
Girish Ramakrishnan
a5736bba2b Version 2.4.6 2022-03-29 11:27:46 -07:00
Girish Ramakrishnan
f1181e9383 Update minio to 2022-03-26T06-49-28Z 2022-03-29 11:19:33 -07:00
Girish Ramakrishnan
6346e564f9 Version 2.4.5 2022-03-24 09:29:36 -07:00
Girish Ramakrishnan
4843a8345a Update minio to 2022-03-24T00-43-44Z 2022-03-24 09:22:04 -07:00
Girish Ramakrishnan
fd7c75da9f Version 2.4.4 2022-03-22 09:21:29 -07:00
Girish Ramakrishnan
327ede57c3 Update minio to 2022-03-22T02-05-10Z 2022-03-22 09:06:33 -07:00
Girish Ramakrishnan
179628163f Version 2.4.3 2022-03-17 09:39:55 -07:00
Girish Ramakrishnan
dfcab10abe Update minio to 2022-03-17T06-34-49Z 2022-03-17 09:15:47 -07:00
Girish Ramakrishnan
642f1860d2 Version 2.4.2 2022-03-15 09:45:31 -07:00
Girish Ramakrishnan
bc6656111f Update client also 2022-03-15 09:37:51 -07:00
Girish Ramakrishnan
53371d5428 Update minio to 2022-03-14T18-25-24Z 2022-03-15 09:34:11 -07:00
9 changed files with 771 additions and 387 deletions

456
CHANGELOG
View File

@@ -1063,3 +1063,459 @@ Improve replication performance. See (#12080, #12054, #12009) for more details.
* add filesystem group change policy for large minio deployments by @dharapvj in #14528 * add filesystem group change policy for large minio deployments by @dharapvj in #14528
* Fix regression from range GET proxying #14345 by @poornas in #14532 * Fix regression from range GET proxying #14345 by @poornas in #14532
[2.4.2]
* Update minio to 2022-03-14T18-25-24Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-14T18-25-24Z)
[2.4.3]
* Update minio to 2022-03-17T06-34-49Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-17T06-34-49Z)
[2.4.4]
* Update minio to 2022-03-22T02-05-10Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-22T02-05-10Z)
[2.4.5]
* Update minio to 2022-03-24T00-43-44Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-24T00-43-44Z)
[2.4.6]
* Update minio to 2022-03-26T06-49-28Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-26T06-49-28Z)
[2.4.7]
* Update minio to 2022-04-01T03-41-39Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-04-01T03-41-39Z)
* Always get the actual object size in bulk SSE-S3 by @vadmeste in #14637
* listing: decrypt only SSE-S3 single-part ETags by @aead in #14638
* Load IAM with a single listing call by @donatello in #14640
* fix: multiple pool setup return incorrect DeleteMarker metadata by @harshavardhana in #14642
* Quick type for fix ttfb entry in table by @eco-minio in #14647
[2.4.8]
* Update minio to 2022-04-09T15-09-52Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-04-09T15-09-52Z)
* Add metrics for observing IAM sync operations by @donatello in #14680
* Write deployment id to health report at the start by @anjalshireesh in #14673
* etag: add Format and Decrypt functions by @aead in #14659
* Remove unnecessary log printing by @vadmeste in #14685
* listing: improve listing of encrypted objects by @aead in #14667
* Set inspect-input.txt modtime by @klauspost in #14688
[2.4.9]
* Update minio to 2022-04-12T06-55-35Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-04-12T06-55-35Z)
* Fix a privilege escalation security issue - https://github.com/minio/minio/security/advisories/GHSA-2j69-jjmg-534q
* Console v0.15.10 by @dvaldivia in #14723
* align atomic variables once more for 32bit by @harshavardhana in #14721
* make sure to pass Lifecycle if set for List filtering by @harshavardhana in #14722
* Set permissions for GitHub actions by @naveensrinivasan in #14693
* Add support for minio tier type by @krisis in #14468
[2.4.10]
* Update minio to 2022-04-16T04-26-02Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-04-16T04-26-02Z)
* Allow parallel decom migration threads to be more than erasure sets by @krishnasrinivas in #14733
* Include speedtest as part of healthinfo api by @anjalshireesh in #14696
* Support templating accessKey existingSecret and bucket name by @yisiqi in #14643
* enable go1.18.x builds by @harshavardhana in #14746
* [S3Select] Switch to new parquet library and reduce locking by @donatello in #14731
* Update Console v0.15.13 by @dvaldivia in #14751
[2.4.11]
* Update minio to 2022-04-26T01-20-24Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-04-26T01-20-24Z)
[2.4.12]
* Update minio to 2022-04-29T01-27-09Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-04-29T01-27-09Z)
[2.4.13]
* Update minio to 2022-05-03T20-36-08Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-05-03T20-36-08Z)
* fix: panic in browser redirect handler for unexpected r.Host by @harshavardhana in #14844
* fix: reject invalid r.Host headers by @harshavardhana in #14846
* fix: disallow newer policies, users & groups with space characters by @harshavardhana in #14845
* Check error status codes by @klauspost in #14850
* Log Range Header by @klauspost in #14851
* fix: remove embedded-policy as requested by the user by @harshavardhana in #14847
[2.4.14]
* Update minio to 2022-05-04T07-45-27Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-05-04T07-45-27Z)
* Add audit log for decommissioning
[2.5.0]
* Update minio to 2022-05-08T23-50-31Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-05-08T23-50-31Z)
* Fix missing annotations for PVCs by @Sea-you in #14793
* Add OPA doc and remove deprecation marking by @donatello in #14863
* avoid concurrent reads and writes to opts.UserDefined by @harshavardhana in #14862
[2.5.1]
* Update minio to 2022-05-19T18-20-59Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-05-19T18-20-59Z)
* pools: GetObjectNInfo should cover locking during object read by @vadmeste in #14887
* tracing: Add disk path to storage tracing by @vadmeste in #14883
* Add support for Access Management Plugin by @donatello in #14875
* If decom of an object fails, retry for 3 times by @krishnasrinivas in #14861
* update new name for MINIO_POLICY_OPA_URL by @itsericqiu in #14898
* add support for extra Prometheus labels by @harshavardhana in #14899
* use BadRequest HTTP status instead of Conflict for certain errors by @harshavardhana in #14900
[2.5.2]
* Update minio to 2022-05-23T18-45-11Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-05-23T18-45-11Z)
* mrf: Fix stale MRF data showed in heal info by @vadmeste in #14953
* Relax site replication syncing of service accounts by @poornas in #14955
* Fix WalkDir fallback hot loop by @klauspost in #14961
* fetch bucket replication stats across peers in single call by @harshavardhana in #14956
[2.5.3]
* Update minio to 2022-05-26T05-48-41Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-05-26T05-48-41Z)
* replication healing: Fix typo when healing bucket quota info by @vadmeste in #14966
* Do not use inline data size in xl.meta quorum calculation by @vadmeste in #14831
* hash-set: Add file input for debug tool by @klauspost in #14965
* site replication: Allow replication rule edit by @poornas in #14969
* fix: copyObject on versioned bucket when updating metadata by @harshavardhana in #14971
[2.6.0]
* Update minio to 2022-06-02T02-11-04Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-06-02T02-11-04Z)
* feat: Single drive XL implementation
[2.7.0]
* Update minio to 2022-06-07T00-33-41Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-06-07T00-33-41Z)
[2.7.1]
* Update minio to 2022-06-07T00-33-41Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-06-07T00-33-41Z)
* do not print errors upon 'nil' err (06/06/22) (Minio Trusted)
[2.7.2]
* Update minio to 2022-06-10T16-59-15Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-06-10T16-59-15Z)
* Include the entirety of vendor folder in .gitignore by @kaankabalak in #15046
* relax O_DIRECT in single drive mode if unsupported by @harshavardhana in #15045
* Bump Console v0.18.1 by @dvaldivia in #15051
* healthcheck cluster endpoint should honor write/readQuorum per pool by @harshavardhana in #15053
* fix: make metrics endpoint responsive by reducing the chatter by @harshavardhana in #15055
[2.7.3]
* Update minio to 2022-06-11T19-55-32Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-06-11T19-55-32Z)
* debug: verify diff on latest objects on source and target buckets by @harshavardhana in #15069
* fix: add missing minio_s3_requests_total by @harshavardhana in #15070
* Update dperf to 0.4.1 by @vadmeste in #15071
* sts: Avoid printing all STS errors by @vadmeste in #15065
[2.7.4]
* Update minio to 2022-06-17T02-00-35Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-06-17T02-00-35Z)
* debug: Close object after check by @vadmeste in #15077
* kms: initialize after cli parsing by @vadmeste in #15076
* Support configuration of a session policy file by @rgcostea in #15078
* erasure-sd: Evaluate versioning Prefix in multi-delete objects by @vadmeste in #15081
* fix: simplify healthcheck code to freeze calls only once by @harshavardhana in #15082
* add bucket level S3 received/sent bytes by @harshavardhana in #15084
* fix: background local test also via channel by @harshavardhana in #15086
* add dataErrs for healing debug log by @harshavardhana in #15092
[2.7.5]
* Update minio to 2022-06-20T23-13-45Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-06-20T23-13-45Z)
* Update gopsutil to v3.22.5 by @danieljakots in #15098
* fix: ignore printing io.EOF during WalkDir() on concurrently modified objects by @harshavardhana in #15100
* Avoid CompleteMultipart freeze with unexpected network issue by @vadmeste in #15102
* Add generic function to retrieve config value with metadata by @donatello in #15083
* fix typo in site replication version healing by @poornas in #15103
* Add import/export APIs to migrate bucket metadata by @poornas in #14929
[2.7.6]
* Update minio to 2022-06-25T15-50-16Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-06-25T15-50-16Z)
* remove gateway banner and some other TODO loggers by @harshavardhana in #15125
* s3-verify: Fix endpoint and missing comparison by @vadmeste in #15129
* Parallelize new disks healing of different erasure sets by @vadmeste in #15112
* fips: simplify TLS configuration by @aead in #15127
* fix: cant parse comment without '=' in environment file by @anoworl in #15130
* add go1.18 specific curve preferences by @harshavardhana in #15132
[2.7.7]
* Update minio to 2022-06-30T20-58-09Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-06-30T20-58-09Z)
* Supports parity configuration of '0', '1' enabling support for 2,3 drive setups for erasure coding.
* add license banner for GNU AGPLv3 by @harshavardhana in #15178
* save MinIO version with each version (8-bytes extra) by @harshavardhana in #15170
* Remove unnecessary code in WalkDir() by @vadmeste in #15168
* perform object sweep after equeue the latest CopyObject() by @harshavardhana in #15183
* Upgrade reedsolomon/compression packages by @klauspost in #15182
* Revert proxying requests with precondition errors by @vadmeste in #15180
* allow support for parity '0', '1' enabling support for 2,3 drive setups by @harshavardhana in #15171
* handle missing funcNames for handlers by @harshavardhana in #15188
* update banner to reflect the final agreed UI by @harshavardhana in #15192
* site healing: Skip stale bucket metadata updates from peer by @poornas in #15186
* de-couple caller context to avoid internal races by @harshavardhana in #15195
* Save minio version in xl.meta while healing in outdated disks by @vadmeste in #15181
* finalize startup-banner and remove unnecessary logs by @harshavardhana in #15202
* Make ReqInfo concurrency safe by @klauspost in #15204
* update banner with version+runtime by @harshavardhana in #15206
[2.8.0]
* Update minio to 2022-07-04T21-02-54Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-07-04T21-02-54Z)
* Simplify Prometheus metrics gather by @harshavardhana in #15210
* site healing: Skip stale iam asset updates from peer. by @poornas in #15203
* return appropriate error under 'decom status' by @harshavardhana in #15213
* do not print errFileNotFound in entries.resolve() by @harshavardhana in #15216
* decom IAM, Bucket metadata properly by @harshavardhana in #15220
[2.8.1]
* Update minio to 2022-07-06T20-29-49Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-07-06T20-29-49Z)
* Major scanner metrics overhaul now you can watch scanner metrics in realtime using mc admin top scanner #15161
* Multiple external IDP management simplification #15152
* Decommission now supports mutations such as delete, update of metadata on objects from an active decom pool.
[2.8.2]
* Update minio to 2022-07-13T23-29-44Z
* Update mc to 2022-07-11T16-16-12Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-07-13T23-29-44Z)
* Adding error check for jetstream connection by @rayjanoka in #15252
* Fix Helm chart does not support special characters in access/secret key by @dormanze in #15243
* do not recreate deprecated delete-journal.bin, only read it by @harshavardhana in #15185
* remove auto-port warning for console-address by @harshavardhana in #15260
* Allow compaction at bucket top level. by @klauspost in #15266
* fix grammatic errors and minor rewrites by @daniel-bogusz95 in #15264
* Purge the objects immediately when x-minio-force-delete header is passed in DeleteObject and DeleteBucket API by @Praveenrajmani in #15148
* metric: add KMS-related metrics by @aead in #15258
* site replication: Ignore missing targets/replication config during re… by @poornas in #15269
* Add compressed file index by @klauspost in #15247
* Add 4K minimum compressed size by @klauspost in #15273
* Do not print erasure read log when a disk becomes offline by @vadmeste in #15277
* allow custom speedtest bucket by @harshavardhana in #15271
* fix: simplify passing auditLog eventType by @harshavardhana in #15278
* Avoid listing buckets from a suspended pool by @vadmeste in #15283
* preserve incoming query params in success_action_redirect by @harshavardhana in #15280
* Upgrade compression package by @klauspost in #15284
* Add padding to compressed+encrypted files by @klauspost in #15282
* resync: Avoid concurrent access/write on map by @poornas in #15286
* Add a github workflow test for root disk detection by @vadmeste in #15267
* Fix tier-add help by @krisis in https://github.com/minio/mc/pull/4148
* add mc ping command by @sinhaashish in https://github.com/minio/mc/pull/4074
[2.8.3]
* Update minio to 2022-07-15T03-44-22Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-07-15T03-44-22Z)
* correct RefreshCall & UnlockCall of DefaultTimeouts by @shichanglin5 in #15288
* listing: Expire object versions past expiry by @krisis in #15287
* Updating minio-go by @cniackz in #15297
* Fix site replication healing of missing buckets by @poornas in #15298
[2.8.4]
* Update minio to 2022-07-17T15-43-14Z
* Update mc to 2022-07-17T15-43-14Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-07-17T15-43-14Z)
* add reconnect duration allows for verifying disconnect intervals by @harshavardhana in #15306
* copy query values before update to preserve the expected keys by @harshavardhana in #15310
* support 'admin update' for hotfix versions by @harshavardhana in #15308
* allow decommission to continue when healing by @harshavardhana in #15312
* Allow topologySpreadConstraints configuration by @justusbunsi in #14684
* Fix failure in createUser used by make-user-job helm chart by @lamida in #15293
* add annotations to ServiceMonitor by @sathieu in #15020
* Fix data race, which caused tests execution to fail by @shichanglin5 in #15313
* Exclude upload-ids with incomplete part upload in multipart listing by @vadmeste in #15318
* support encrypted/compressed objects properly during decommission by @harshavardhana in #15320
* Add decommission compression+encryption enabled tests by @harshavardhana in #15322
* Move mc admin top scanner -> mc admin scanner info (#4151)
[2.8.5]
* Update minio to 2022-07-24T17-09-31Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-07-24T17-09-31Z)
* fix: fork os.MkdirAll to optimize cases where parent exists by @harshavardhana in #15379
* Add compression scheme to header by @klauspost in #15395
[2.8.6]
* Update minio to 2022-07-26T00-53-03Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-07-26T00-53-03Z)
[2.8.7]
* Update minio to 2022-07-30T05-21-40Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-07-30T05-21-40Z)
[2.8.8]
* Update minio to 2022-08-02T23-59-16Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-08-02T23-59-16Z)
* target: Set 20000 as maximum parallel target notif calls by @vadmeste in #15435
* fix: resetting a config with a non default target name by @vadmeste in #15448
* fix: allow P-384/P-512 constant time implementation by @harshavardhana in #15445
* modify user secret volumes mount path name by @dormanze in #15443
* fix: instrument os.OpenFile differently for Reads and Writes by @harshavardhana in #15449
[2.8.9]
* Update minio to 2022-08-05T23-27-09Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-08-05T23-27-09Z)
[2.8.10]
* Update minio to 2022-08-08T18-34-09Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-08-08T18-34-09Z)
[2.8.11]
* Update minio to 2022-08-11T04-37-28Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-08-11T04-37-28Z)
[2.8.12]
* Update minio to 2022-08-13T21-54-44Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-08-13T21-54-44Z)
[2.9.0]
* Update minio to 2022-08-22T23-53-06Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-08-22T23-53-06Z)
* Versioning now supports Idempotent delete markers #15521
* Disk IO statistics is now available as real-time monitoring via mc #15512
* Replication now more accurately tracks failed replication events #15556
[2.9.1]
* Update minio to 2022-08-25T07-17-05Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-08-25T07-17-05Z)
[2.9.2]
* Update minio to 2022-09-01T23-53-36Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-09-01T23-53-36Z)
* improve performance for inlined data by @harshavardhana in #15603
* site replication: Avoid returning root svcacct info in sr metadata by @poornas in #15608
* Add extended checksum by @klauspost in #15433
* audit-log: Add time to get object from remote-tier by @krisis in #15602
* Avoid messages from go test output by @vadmeste in #15601
* chore: remove duplicate word in comments by @Abirdcfly in #15607
* 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.

View File

@@ -5,9 +5,10 @@
"description": "file://DESCRIPTION.md", "description": "file://DESCRIPTION.md",
"changelog": "file://CHANGELOG", "changelog": "file://CHANGELOG",
"tagline": "Distributed object storage", "tagline": "Distributed object storage",
"version": "2.4.1", "version": "3.0.0-1",
"upstreamVersion": "2022-03-11T23-57-45Z", "upstreamVersion": "2022-10-29T06-21-33Z",
"healthCheckPath": "/minio/login", "healthCheckPath": "/minio/login",
"memoryLimit": 805306368,
"httpPort": 8000, "httpPort": 8000,
"httpPorts": { "httpPorts": {
"API_SERVER_DOMAIN": { "API_SERVER_DOMAIN": {

View File

@@ -1,27 +1,29 @@
## About
Minio is a distributed object storage server built for cloud applications and devops. Minio is a distributed object storage server built for cloud applications and devops.
### Features ## Features
#### Amazon S3 Compatible ### Amazon S3 Compatible
Minio implements Amazon S3 v4 APIs. Minio also includes client SDKs and a console utility. Minio implements Amazon S3 v4 APIs. Minio also includes client SDKs and a console utility.
#### Minimalist Design ### Minimalist Design
Minio is deeply influenced by minimalism. We believe that only simple things scale. Minio is deeply influenced by minimalism. We believe that only simple things scale.
#### Apache License 2.0 ### Apache License 2.0
Minio is free software, released under Apache license v2.0. Minio has an active developer and user community. Minio is free software, released under Apache license v2.0. Minio has an active developer and user community.
#### Lambda Functions ### Lambda Functions
Minio triggers Lambda functions through event notification service. In addition Minio also supports simple queueing service for AMQP, Elasticsearch, Redis, NATS and Postgres targets. Minio triggers Lambda functions through event notification service. In addition Minio also supports simple queueing service for AMQP, Elasticsearch, Redis, NATS and Postgres targets.
#### Erasure Code & Bitrot Protection ### Erasure Code & Bitrot Protection
Minio protects data against hardware failures and silent data corruption using erasure code and checksums. You may lose half the number of drives and still recover from it. Minio protects data against hardware failures and silent data corruption using erasure code and checksums. You may lose half the number of drives and still recover from it.
#### Written in Go ### Written in Go
Go is an emerging language of choice for modern cloud infrastructure projects. Go language enables Minio to be highly concurrent and lightweight. Go is an emerging language of choice for modern cloud infrastructure projects. Go language enables Minio to be highly concurrent and lightweight.

View File

@@ -3,14 +3,14 @@ FROM cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd1
RUN mkdir -p /app/code RUN mkdir -p /app/code
WORKDIR /app/code WORKDIR /app/code
ARG VERSION=RELEASE.2022-03-11T23-57-45Z ARG VERSION=RELEASE.2022-10-29T06-21-33Z
ARG MC_VERSION=RELEASE.2022-03-09T02-08-36Z
# sometimes here https://dl.min.io/server/minio/release/linux-amd64/archive/ # 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/ # 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 minio-credentials start.sh /app/code/ COPY env.sh start.sh /app/code/
CMD [ "/app/code/start.sh" ] CMD [ "/app/code/start.sh" ]

View File

@@ -1,41 +0,0 @@
#!/usr/bin/env node
'use strict';
const fs = require('fs');
const MINIO_CONFIG = '/app/data/data/.minio.sys/config/config.json';
function usage() {
console.log('Usage:\n');
console.log('\tminio-credentials get');
console.log('\tminio-credentials set <access key> <secret key>');
console.log();
}
let config = JSON.parse(fs.readFileSync(MINIO_CONFIG, 'utf8'));
let adminCredentials = config['credentials']['_'];
let accessKey = adminCredentials.filter(kv => kv.key === 'access_key')[0];
let secretKey = adminCredentials.filter(kv => kv.key === 'secret_key')[0];
if (process.argv[2] === 'get') {
console.log('Access Key:', accessKey.value);
console.log('Secret Key:', secretKey.value);
} else if (process.argv[2] === 'set') {
if (process.argv.length !== 5) return usage();
// https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateAccessKey.html
if (process.argv[4].length < 5) return console.log('secret key must be atleast 5 characters');
if (!/^[\w+=,.@-]+$/.test(process.argv[3])) return console.log('access key has invalid characters');
accessKey.value = process.argv[3];
if (process.argv[4].length < 8) return console.log('secret key must be atleast 8 characters');
secretKey.value = process.argv[4];
fs.writeFileSync(MINIO_CONFIG, JSON.stringify(config), 'utf8');
console.log('Credentials updated. Restart minio app for new credentials to take effect.\n');
} else {
usage();
}

View File

@@ -8,7 +8,7 @@ mkdir -p /app/data/data /run/minio/config /run/minio/certs
source /app/data/env.sh source /app/data/env.sh
# https://docs.min.io/minio/baremetal/reference/minio-server/minio-server.html#envvar.MINIO_SERVER_URL # https://docs.min.io/minio/baremetal/reference/minio-server/minio-server.html#envvar.MINIO_SERVER_URL
[[ -n "${API_SERVER_DOMAIN:-}" ]] && export MINIO_SERVER_URL="https://${API_SERVER_DOMAIN}" export MINIO_SERVER_URL="https://${API_SERVER_DOMAIN}"
export MINIO_BROWSER_REDIRECT_URL="https://${CLOUDRON_APP_DOMAIN}" export MINIO_BROWSER_REDIRECT_URL="https://${CLOUDRON_APP_DOMAIN}"
if [[ ! -d /app/data/mc_config ]]; then if [[ ! -d /app/data/mc_config ]]; then

586
test/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -9,10 +9,11 @@
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"chromedriver": "^99.0.0", "chromedriver": "^106.0.1",
"delay": "^5.0.0",
"expect.js": "^0.3.1", "expect.js": "^0.3.1",
"mocha": "^9.2.2", "mocha": "^10.1.0",
"selenium-webdriver": "^4.1.1", "selenium-webdriver": "^4.5.0",
"superagent": "^7.1.1" "superagent": "^8.0.3"
} }
} }

View File

@@ -11,7 +11,8 @@
require('chromedriver'); require('chromedriver');
const execSync = require('child_process').execSync, const delay = require('delay'),
execSync = require('child_process').execSync,
expect = require('expect.js'), expect = require('expect.js'),
fs = require('fs'), fs = require('fs'),
path = require('path'), path = require('path'),
@@ -23,7 +24,7 @@ describe('Application life cycle test', function () {
this.timeout(0); this.timeout(0);
const LOCATION = 'test'; const LOCATION = 'test';
const TEST_TIMEOUT = 10000; const TEST_TIMEOUT = 30000;
const BUCKET = 'cloudrontestbucket'; const BUCKET = 'cloudrontestbucket';
const EXEC_ARGS = { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' }; const EXEC_ARGS = { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' };
@@ -53,25 +54,27 @@ describe('Application life cycle test', function () {
await waitForElement(By.id('accessKey')); await waitForElement(By.id('accessKey'));
await browser.findElement(By.id('accessKey')).sendKeys(accessKey); await browser.findElement(By.id('accessKey')).sendKeys(accessKey);
await browser.findElement(By.id('secretKey')).sendKeys(secretKey); 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('//h4[contains(text(), "Buckets")]')); await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
await delay(5000);
} }
async function logout() { async function logout() {
await browser.get(`https://${app.fqdn}/`); await browser.get(`https://${app.fqdn}/`);
await waitForElement(By.xpath('//h4[contains(text(), "Buckets")]')); await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
await browser.findElement(By.xpath('//div/span[contains(text(), "Logout")]')).click(); await browser.findElement(By.xpath('//div/span[contains(text(), "Logout")]')).click();
await waitForElement(By.id('accessKey')); await waitForElement(By.id('accessKey'));
} }
async function addBucket() { async function addBucket() {
await browser.get(`https://${app.fqdn}/buckets`); await browser.get(`https://${app.fqdn}/buckets`);
await waitForElement(By.xpath('//button/span[text()="Create Bucket"]')); await waitForElement(By.xpath('//button[@id="create-bucket"]'));
await browser.findElement(By.xpath('//button/span[text()="Create Bucket"]')).click(); await browser.findElement(By.xpath('//button[@id="create-bucket"]')).click();
await browser.sleep(2000); await browser.sleep(2000);
await browser.findElement(By.xpath('//input[@id="bucket-name"]')).sendKeys(BUCKET); await browser.findElement(By.xpath('//input[@id="bucket-name"]')).sendKeys(BUCKET);
await browser.findElement(By.xpath('//button[text()="Create Bucket"]')).click(); await browser.findElement(By.xpath('//button[@id="create-bucket"]')).click();
await waitForElement(By.xpath(`//a[contains(text(), "${BUCKET}")]`)); await waitForElement(By.xpath(`//a[contains(text(), "${BUCKET}")]`));
await delay(5000);
} }
async function checkBucket() { async function checkBucket() {
@@ -92,7 +95,10 @@ describe('Application life cycle test', function () {
} }
xit('build app', function () { execSync('cloudron build', EXEC_ARGS); }); xit('build app', function () { execSync('cloudron build', EXEC_ARGS); });
it('install app', function () { execSync(`cloudron install --location ${LOCATION} --secondary-domains API_SERVER_DOMAIN=${LOCATION}-api`, EXEC_ARGS); }); it('install app', async function () {
execSync(`cloudron install --location ${LOCATION} --secondary-domains API_SERVER_DOMAIN=${LOCATION}-api`, EXEC_ARGS);
await delay(10000);
});
it('can get app information', getAppInfo); it('can get app information', getAppInfo);
@@ -102,7 +108,7 @@ describe('Application life cycle test', function () {
it('does redirect', checkRedirect); it('does redirect', checkRedirect);
it('check api', checkApi); it('check api', checkApi);
it('can change credentials', function () { it('can change credentials', async function () {
let data = fs.readFileSync(path.join(__dirname, '../env.sh'), 'utf8'); let data = fs.readFileSync(path.join(__dirname, '../env.sh'), 'utf8');
data = data data = data
.replace(/MINIO_ROOT_USER=.*/, 'MINIO_ROOT_USER=minioakey') .replace(/MINIO_ROOT_USER=.*/, 'MINIO_ROOT_USER=minioakey')
@@ -110,6 +116,7 @@ describe('Application life cycle test', function () {
fs.writeFileSync('/tmp/env.sh', data); fs.writeFileSync('/tmp/env.sh', data);
execSync(`cloudron push --app ${app.id} /tmp/env.sh /app/data/env.sh`, EXEC_ARGS); execSync(`cloudron push --app ${app.id} /tmp/env.sh /app/data/env.sh`, EXEC_ARGS);
execSync(`cloudron restart --app ${app.id}`, EXEC_ARGS); execSync(`cloudron restart --app ${app.id}`, EXEC_ARGS);
await delay(10000);
}); });
it('can restart app', function () { execSync(`cloudron restart --app ${app.id}`, EXEC_ARGS); }); it('can restart app', function () { execSync(`cloudron restart --app ${app.id}`, EXEC_ARGS); });
@@ -121,12 +128,13 @@ describe('Application life cycle test', function () {
it('check api', checkApi); it('check api', checkApi);
it('backup app', function () { execSync('cloudron backup create --app ' + app.id, EXEC_ARGS); }); it('backup app', function () { execSync('cloudron backup create --app ' + app.id, EXEC_ARGS); });
it('restore app', function () { it('restore app', async function () {
const backups = JSON.parse(execSync(`cloudron backup list --raw --app ${app.id}`)); const backups = JSON.parse(execSync(`cloudron backup list --raw --app ${app.id}`));
execSync('cloudron uninstall --app ' + app.id, EXEC_ARGS); execSync('cloudron uninstall --app ' + app.id, EXEC_ARGS);
execSync('cloudron install --location ' + LOCATION, EXEC_ARGS); execSync('cloudron install --location ' + LOCATION, EXEC_ARGS);
getAppInfo(); getAppInfo();
execSync(`cloudron restore --backup ${backups[0].id} --app ${app.id}`, EXEC_ARGS); execSync(`cloudron restore --backup ${backups[0].id} --app ${app.id}`, EXEC_ARGS);
await delay(10000);
}); });
it('can login', login.bind(null, 'minioakey', 'minioskey')); it('can login', login.bind(null, 'minioakey', 'minioskey'));
@@ -135,9 +143,10 @@ describe('Application life cycle test', function () {
it('does redirect', checkRedirect); it('does redirect', checkRedirect);
it('check api', checkApi); it('check api', checkApi);
it('move to different location', function () { it('move to different location', async function () {
browser.manage().deleteAllCookies(); browser.manage().deleteAllCookies();
execSync('cloudron configure --location ' + LOCATION + '2', EXEC_ARGS); execSync('cloudron configure --location ' + LOCATION + '2', EXEC_ARGS);
await delay(10000);
}); });
it('can get app information', getAppInfo); it('can get app information', getAppInfo);