1
0
mirror of https://git.cloudron.io/cloudron/minio-app synced 2025-09-04 16:25:35 +00:00

Compare commits

...

290 Commits

Author SHA1 Message Date
Package Updates
43bde46b81 Update package version to 3.17.0 2024-12-16 07:48:54 +00:00
Renovate Bot
b44db98e35 chore(deps): update dependency minio/minio to release.2024-12-13t22-19-12z
| datasource      | package     | from                         | to                           |
| --------------- | ----------- | ---------------------------- | ---------------------------- |
| github-releases | minio/minio | RELEASE.2024-11-07T00-52-20Z | RELEASE.2024-12-13T22-19-12Z |
2024-12-16 00:20:11 +00:00
Package Updates
52221cca35 Update package version to 3.16.0 2024-11-08 08:35:46 +00:00
Renovate Bot
ea4dfaccf3 chore(deps): update dependency minio/minio to release.2024-11-07t00-52-20z
| datasource      | package     | from                         | to                           |
| --------------- | ----------- | ---------------------------- | ---------------------------- |
| github-releases | minio/minio | RELEASE.2024-10-29T16-01-48Z | RELEASE.2024-11-07T00-52-20Z |
2024-11-08 00:19:19 +00:00
Girish Ramakrishnan
bbcfa6b84e Update renovate.json5 2024-11-04 17:09:59 +00:00
Girish Ramakrishnan
19866198e1 Add renovate.json5 2024-11-04 17:02:55 +00:00
Girish Ramakrishnan
87c4917e82 Delete renovate.json 2024-11-04 16:56:46 +00:00
Girish Ramakrishnan
0f0c70fe95 Delete .gitlab-ci.yml 2024-11-04 08:37:56 +00:00
Johannes Zellner
17670769fa Bump version 2024-10-31 09:21:09 +01:00
Renovate Bot
038ebcd485 chore(deps): update dependency minio/minio to release.2024-10-29t16-01-48z
| datasource      | package     | from                         | to                           |
| --------------- | ----------- | ---------------------------- | ---------------------------- |
| github-releases | minio/minio | RELEASE.2024-10-13T13-34-11Z | RELEASE.2024-10-29T16-01-48Z |
2024-10-31 00:19:17 +00:00
Girish Ramakrishnan
69894610e9 Version 3.15.1 2024-10-15 23:07:36 +02:00
Renovate Bot
38d81367d3 chore(deps): update dependency minio/minio to release.2024-10-13t13-34-11z 2024-10-15 20:47:50 +00:00
Girish Ramakrishnan
8bfac72b10 Update renovate config 2024-10-06 13:45:54 +00:00
Girish Ramakrishnan
6e0cf2f9d8 Version 3.15.0 2024-10-03 21:01:54 +02:00
Renovate Bot
fd48a26065 chore(deps): update dependency minio/minio to release.2024-10-02t17-50-41z 2024-10-03 18:15:58 +00:00
Girish Ramakrishnan
ef398fbdeb add ci file 2024-10-03 20:15:43 +02:00
Girish Ramakrishnan
fb570b0256 maybe? 2024-10-03 19:59:04 +02:00
Girish Ramakrishnan
e2a4a1b594 add build to the mix 2024-10-03 19:10:59 +02:00
Girish Ramakrishnan
242ca7052b too many slashes? 2024-10-03 19:04:48 +02:00
Girish Ramakrishnan
ecfd75afd1 loose does not seem to work 2024-10-03 19:02:49 +02:00
Renovate Bot
6ac4576a7f chore(deps): add renovate.json 2024-10-03 16:45:07 +00:00
Girish Ramakrishnan
635924b0e5 add renovate 2024-10-03 18:43:37 +02:00
Girish Ramakrishnan
bcde4b30d6 add ci files 2024-10-03 18:23:28 +02:00
Girish Ramakrishnan
e0a5ac3fe2 Version 3.14.0 2024-09-23 23:37:11 +02:00
Girish Ramakrishnan
7ec1c63a02 Update test packages 2024-09-23 23:23:06 +02:00
Girish Ramakrishnan
9cefaa80be Update minio to 2024-09-22T00-33-43Z 2024-09-23 23:21:08 +02:00
Johannes Zellner
09e82cd3e3 Bump version 2024-09-14 18:05:12 +02:00
Johannes Zellner
f75118e15a Update test deps 2024-09-14 17:43:27 +02:00
Johannes Zellner
4f5fadaa8a Update to 2024-09-13T20-26-02Z 2024-09-14 17:43:03 +02:00
Johannes Zellner
42ecaf8662 Bump version 2024-09-10 08:19:48 +02:00
Johannes Zellner
7fb6950cab Update test deps 2024-09-10 07:57:52 +02:00
Johannes Zellner
d952670c20 Update to 2024-09-09T16-59-28Z 2024-09-10 07:57:44 +02:00
Girish Ramakrishnan
8239fd8ade Version 3.13.37 2024-08-30 09:31:23 +02:00
Johannes Zellner
41644f3c54 Update test deps 2024-08-30 08:09:45 +02:00
Johannes Zellner
31da17a3e1 Update to 2024-08-29T01-40-52Z 2024-08-30 08:09:27 +02:00
Johannes Zellner
9a9a8b0b13 Bump version 2024-08-27 00:13:02 +02:00
Johannes Zellner
ab05d0a834 Update test deps 2024-08-26 23:55:19 +02:00
Johannes Zellner
e0db747a08 Update to 2024-08-26T15-33-07Z 2024-08-26 23:42:38 +02:00
Girish Ramakrishnan
eb0b1f9e79 Version 3.13.35 2024-08-17 19:16:34 +02:00
Girish Ramakrishnan
d556596770 Update test packages 2024-08-17 17:59:34 +02:00
Girish Ramakrishnan
d6654f7e72 Update minio to 2024-08-17T01-24-54Z 2024-08-17 17:06:31 +02:00
Johannes Zellner
9e5494c2f4 Bump version 2024-08-05 11:53:15 +02:00
Johannes Zellner
042424145e Update to 2024-08-03T04-33-23Z 2024-08-05 11:10:26 +02:00
Johannes Zellner
f20ff8beba Bump version 2024-07-31 12:10:23 +02:00
Johannes Zellner
46eca06f85 Update test deps 2024-07-31 11:41:49 +02:00
Johannes Zellner
060c0d0b9e Update to 2024-07-31T05-46-26Z 2024-07-31 11:39:40 +02:00
Johannes Zellner
1d94015a6d Bump version 2024-07-30 10:10:52 +02:00
Johannes Zellner
6158eb4dfb Update to 2024-07-29T22-14-52Z 2024-07-30 09:48:21 +02:00
Girish Ramakrishnan
bb429dce76 Version 3.13.31 2024-07-27 15:11:51 +02:00
Girish Ramakrishnan
9905f1ea9e Update test packages 2024-07-27 15:07:51 +02:00
Girish Ramakrishnan
9695742134 Update minio to 2024-07-26T20-48-21Z 2024-07-27 15:05:28 +02:00
Girish Ramakrishnan
4dc7f3e9fc Version 3.13.30 2024-07-17 20:52:21 +02:00
Girish Ramakrishnan
9acfaf24b2 Update minio to 2024-07-16T23-46-41Z 2024-07-17 20:50:10 +02:00
Johannes Zellner
453ff9f199 Bump version 2024-07-16 09:07:29 +02:00
Johannes Zellner
c8ca9511e0 Update to 2024-07-15T19-02-30Z 2024-07-16 08:46:39 +02:00
Johannes Zellner
5df913be43 Bump version 2024-07-14 11:08:10 +02:00
Johannes Zellner
b1a1791d4e Update to 2024-07-13T01-46-15Z 2024-07-14 10:17:07 +02:00
Girish Ramakrishnan
ac2c9c41fc Version 3.13.27 2024-07-11 10:33:14 +02:00
Girish Ramakrishnan
c0467b9eb6 Update minio to RELEASE.2024-07-10T18-41-49Z 2024-07-11 10:02:28 +02:00
Girish Ramakrishnan
824337583f Version 3.13.26 2024-07-05 10:41:12 +02:00
Girish Ramakrishnan
99c29a629b Update test packages 2024-07-05 09:42:39 +02:00
Girish Ramakrishnan
4b5422208c Update minio to 2024-07-04T14-25-45Z 2024-07-05 09:41:48 +02:00
Johannes Zellner
3a7bdd5e39 Bump version 2024-06-30 15:29:44 +02:00
Johannes Zellner
2fd201cb32 Update to 2024-06-29T01-20-47Z 2024-06-30 15:01:58 +02:00
Johannes Zellner
12e40b8e6a Bump version 2024-06-28 20:51:27 +02:00
Johannes Zellner
e6901e02ff Update test deps 2024-06-28 20:14:26 +02:00
Johannes Zellner
958a954c07 Update to 2024-06-28T09-06-49Z 2024-06-28 20:14:10 +02:00
Johannes Zellner
901d877b5f Bump version 2024-06-26 08:04:10 +02:00
Johannes Zellner
acc5e3c6be Update test deps 2024-06-26 07:30:37 +02:00
Johannes Zellner
c17b207a70 Update to 2024-06-26T01-06-18Z 2024-06-26 07:30:31 +02:00
Johannes Zellner
0e681b6b1a Bump version 2024-06-22 12:34:39 +02:00
Johannes Zellner
0bfd368aa2 Update test deps 2024-06-22 10:33:54 +02:00
Johannes Zellner
94abf5cd3e Update to 2024-06-22T05-26-45Z 2024-06-22 10:33:43 +02:00
Johannes Zellner
9a9b0588ae Bump version 2024-06-14 12:19:45 +02:00
Johannes Zellner
92a30fdd7c Update test deps 2024-06-14 11:03:56 +02:00
Johannes Zellner
07f1df3a20 Update to 2024-06-13T22-53-53Z 2024-06-14 11:03:49 +02:00
Girish Ramakrishnan
b624d6775c Version 3.13.20 2024-06-11 09:07:26 +02:00
Girish Ramakrishnan
330f186821 Update minio to 2024-06-11T03-13-30Z 2024-06-11 08:43:56 +02:00
Girish Ramakrishnan
72224538ea Version 3.13.19 2024-06-07 11:08:50 +02:00
Girish Ramakrishnan
fb1f583f4c Update test packages 2024-06-07 11:08:03 +02:00
Girish Ramakrishnan
5699a05783 Update minio to 2024-06-06T09-36-42Z 2024-06-07 10:22:19 +02:00
Girish Ramakrishnan
64222e227e Version 3.13.18 2024-06-05 08:53:17 +02:00
Girish Ramakrishnan
8f7a046554 Update minio to 2024-06-04T19-20-08Z 2024-06-05 08:47:30 +02:00
Girish Ramakrishnan
3717901b12 Version 3.13.17 2024-05-29 09:48:21 +02:00
Girish Ramakrishnan
85f4a808be Update minio to 2024-05-28T17-19-04Z 2024-05-29 08:56:57 +02:00
Girish Ramakrishnan
9d1b7e1a9d Version 3.13.6 2024-05-28 09:06:25 +02:00
Girish Ramakrishnan
9bea0cc891 Update minio to 2024-05-27T19-17-46Z 2024-05-28 08:59:10 +02:00
Johannes Zellner
557a8acd3d Bump version 2024-05-10 13:52:21 +02:00
Johannes Zellner
fb1db2809a Update test deps 2024-05-10 11:23:20 +02:00
Johannes Zellner
7fcfa2d793 Update to 2024-05-10T01-41-38Z 2024-05-10 11:23:12 +02:00
Johannes Zellner
2e71a424d6 Bump version 2024-05-08 13:08:05 +02:00
Johannes Zellner
d5ed478302 Update to 2024-05-07T06-41-25Z 2024-05-08 12:14:43 +02:00
Johannes Zellner
63240d9ef7 Bump version 2024-05-01 11:15:41 +02:00
Johannes Zellner
ea84113aa7 Update to 2024-05-01T01-11-10Z 2024-05-01 10:12:09 +02:00
Johannes Zellner
d70ab90edf Bump version 2024-04-30 09:37:14 +02:00
Johannes Zellner
47ca8d4426 Update test deps 2024-04-30 08:50:27 +02:00
Johannes Zellner
a6c683af4d Update to 2024-04-28T17-53-50Z 2024-04-30 08:50:17 +02:00
Girish Ramakrishnan
b64d0c834b Version 3.13.11 2024-04-19 10:44:16 +02:00
Girish Ramakrishnan
8aab79757f Update test packages 2024-04-19 10:29:50 +02:00
Girish Ramakrishnan
4d0ed6744f Update minio to 2024-04-18T19-09-19Z 2024-04-19 10:19:46 +02:00
Girish Ramakrishnan
5f7d71f028 Version 3.13.10 2024-04-06 09:55:22 +02:00
Girish Ramakrishnan
26e95361b6 Update minio to 2024-04-06T05-26-02Z 2024-04-06 09:29:02 +02:00
Girish Ramakrishnan
5cee1588f3 Version 3.13.9 2024-04-01 11:59:58 +02:00
Girish Ramakrishnan
d8c7fa0d47 Update test packages 2024-04-01 11:52:02 +02:00
Girish Ramakrishnan
2f8caf38d4 Update minio to 2024-03-30T09-41-56Z 2024-03-31 11:31:27 +02:00
Johannes Zellner
51850a87d8 Bump version 2024-03-27 10:28:05 +01:00
Johannes Zellner
9a9367d5f4 Update test deps 2024-03-27 10:08:51 +01:00
Johannes Zellner
bedc600aa5 Update to 2024-03-26T22-10-45Z 2024-03-27 10:08:14 +01:00
Johannes Zellner
368da33581 Bump version 2024-03-25 11:18:57 +01:00
Johannes Zellner
ca6eaad35d Update test deps 2024-03-25 10:47:04 +01:00
Johannes Zellner
e47f31b8a8 Update to 2024-03-21T23-13-43Z 2024-03-25 10:46:05 +01:00
Johannes Zellner
05c08cdafe Update test deps 2024-03-15 08:40:58 +01:00
Johannes Zellner
af2efcfd46 Bump version 2024-03-15 08:40:51 +01:00
Johannes Zellner
042e08f7ad Fixup version in changelog 2024-03-10 15:08:15 +01:00
Johannes Zellner
5f6b3ef9c3 Bump version 2024-03-10 13:56:46 +01:00
Johannes Zellner
0e6b93f732 Update to 2024-03-10T02-53-48Z 2024-03-10 13:55:36 +01:00
Girish Ramakrishnan
2b7aff15d3 Version 3.13.4 2024-03-07 09:49:08 +01:00
Girish Ramakrishnan
febd561bfb Update minio to 2024-03-07T00-43-48Z 2024-03-07 09:19:29 +01:00
Girish Ramakrishnan
abef481b63 Version 3.13.3 2024-03-05 10:42:40 +01:00
Girish Ramakrishnan
2b0dcc7d38 Update minio to 2024-03-05T04-48-44Z 2024-03-05 10:41:47 +01:00
Girish Ramakrishnan
0c32be8139 Update tests 2024-03-04 11:33:45 +01:00
Girish Ramakrishnan
fd04e1b784 Version 3.13.2 2024-03-04 10:22:55 +01:00
Girish Ramakrishnan
bd883b747c Update minio to 2024-03-03T17-50-39Z 2024-03-04 10:08:19 +01:00
Johannes Zellner
618c3c6736 Bump version 2024-02-26 15:28:12 +01:00
Johannes Zellner
fba9a4ff32 Update test deps 2024-02-26 14:42:49 +01:00
Johannes Zellner
7878d690b9 Update to 2024-02-26T09-33-48Z 2024-02-26 14:42:36 +01:00
Girish Ramakrishnan
623b291e62 Fixup tests 2024-02-20 13:26:29 +01:00
Girish Ramakrishnan
74bc0cbbd2 Version 3.13.0 2024-02-20 12:25:21 +01:00
Girish Ramakrishnan
316047b1d3 minio does not show the password login by default when OIDC is setup
we generate a dynamic password because users might forget to change the admin password (with the oidc login being so click friendly)
2024-02-20 12:19:30 +01:00
Vladimir D
569e830514 optionalSso flag added, tests updated 2024-02-19 18:31:04 +04:00
Vladimir D
7417ce44e5 OIDC auth implemented, tests updated 2024-02-19 17:13:57 +04:00
Johannes Zellner
88918c602a Bump version 2024-02-17 16:21:16 +01:00
Johannes Zellner
7b26be880d Update test deps 2024-02-17 15:53:05 +01:00
Johannes Zellner
e966943be5 Update to 2024-02-17T01-15-57Z 2024-02-17 15:52:35 +01:00
Johannes Zellner
dd46a7f8e9 Bump version 2024-02-15 10:33:59 +01:00
Johannes Zellner
5295380629 Update to 2024-02-14T21-36-02Z 2024-02-15 10:10:09 +01:00
Johannes Zellner
22f00b1803 Bump version 2024-02-13 18:04:59 +01:00
Johannes Zellner
8315f77f5c Update to 2024-02-13T15-35-11Z 2024-02-13 17:51:59 +01:00
Johannes Zellner
e1a29850c8 Bump version 2024-02-13 11:09:56 +01:00
Johannes Zellner
c94a90e4ab Update to 2024-02-12T21-02-27Z 2024-02-13 10:44:20 +01:00
Girish Ramakrishnan
d4ec80fab3 2GB min (RAM)
https://github.com/minio/minio/issues/18906
https://github.com/minio/docs/issues/1116
https://github.com/minio/minio/pull/18846
2024-02-12 06:44:34 +01:00
Johannes Zellner
682dd521a1 Bump version 2024-02-10 13:04:32 +01:00
Johannes Zellner
cd7055c916 Update test deps 2024-02-10 12:45:25 +01:00
Johannes Zellner
6d385533b3 Update to 2024-02-09T21-25-16Z 2024-02-10 12:45:08 +01:00
Girish Ramakrishnan
36d669ad59 Version 3.12.9 2024-02-07 15:06:45 +01:00
Girish Ramakrishnan
cc5e013c1f Update minio to 2024-02-06T21-36-22Z 2024-02-07 14:47:38 +01:00
Johannes Zellner
20bbaff551 Bump version 2024-02-05 10:57:39 +01:00
Johannes Zellner
d39b1cb50f Update to RELEASE.2024-02-04T22-36-13Z 2024-02-05 10:41:27 +01:00
Johannes Zellner
0dec46fdc0 Bump version 2024-02-01 14:11:01 +01:00
Johannes Zellner
9d8938b7bf Update to 2024-01-31T20-20-33Z 2024-02-01 13:55:19 +01:00
Girish Ramakrishnan
4f43bc611e Version 3.12.6 2024-01-29 09:29:09 +01:00
Johannes Zellner
db768973d6 Update test deps 2024-01-29 09:20:07 +01:00
Johannes Zellner
db0d84862d Update to 2024-01-29T03-56-32Z 2024-01-29 09:19:56 +01:00
Girish Ramakrishnan
0e70c439cf Version 3.12.5 2024-01-19 15:40:44 +01:00
Girish Ramakrishnan
59ed1a0fc1 Update minio to 2024-01-18T22-51-28Z 2024-01-19 15:33:41 +01:00
Johannes Zellner
6542475614 Bump version 2024-01-16 18:54:02 +01:00
Johannes Zellner
9cffe692df Update to 2024-01-16T16-07-38Z 2024-01-16 18:37:28 +01:00
Johannes Zellner
eeac9f0af4 Bump version 2024-01-16 18:37:17 +01:00
Johannes Zellner
b1fe43b656 Update to 2024-01-13T07-53-03Z 2024-01-15 11:40:46 +01:00
Johannes Zellner
eb93b292fa Bump version 2024-01-11 13:33:19 +01:00
Johannes Zellner
aea86c627d Update to 2024-01-11T07-46-16Z 2024-01-11 13:05:55 +01:00
Girish Ramakrishnan
454d83318c typo 2024-01-06 16:27:14 +01:00
Girish Ramakrishnan
fed871de22 Version 3.12.1 2024-01-06 16:26:13 +01:00
Girish Ramakrishnan
648231e821 Update minio to 2024-01-05T22-17-24Z 2024-01-06 16:05:53 +01:00
Girish Ramakrishnan
927cdbb0a2 Version 3.12.0 2024-01-02 10:16:54 +01:00
Girish Ramakrishnan
cb61faa569 Update minio to 2024-01-01T16-36-33Z 2024-01-02 10:14:29 +01:00
Johannes Zellner
cf11bcd7e6 Update test deps 2023-12-24 10:20:50 +01:00
Johannes Zellner
669976c293 Bump version 2023-12-24 10:20:38 +01:00
Johannes Zellner
951a874909 Bump version 2023-12-20 15:18:36 +01:00
Johannes Zellner
0bb46d9867 Update to 2023-12-20 2023-12-20 13:49:03 +01:00
Girish Ramakrishnan
540ad857fd Version 3.11.2 2023-12-15 10:16:17 +01:00
Girish Ramakrishnan
c06f2d9e9d Update minio to 2023-12-14T18-51-57Z 2023-12-15 09:53:20 +01:00
Girish Ramakrishnan
0d96abc3c8 Version 3.11.1 2023-12-14 11:33:53 +01:00
Girish Ramakrishnan
63f6910f5f Update test packages 2023-12-14 10:01:11 +01:00
Girish Ramakrishnan
b09a9cc6ea Update minio to 2023-12-13T23-28-55Z 2023-12-14 09:38:09 +01:00
Girish Ramakrishnan
b0f6a030f3 remove unused args (release notes of https://github.com/minio/minio/releases/tag/RELEASE.2023-12-09T18-17-51Z) 2023-12-11 11:39:27 +01:00
Girish Ramakrishnan
84b4ebeac4 add note 2023-12-11 11:39:03 +01:00
Girish Ramakrishnan
c5404f53c1 Update minio to 2023-12-09T18-17-51Z 2023-12-11 11:21:32 +01:00
Girish Ramakrishnan
cacf9d9441 Version 3.10.2 2023-12-07 10:18:26 +01:00
Girish Ramakrishnan
3b1eecfd73 Update minio to 2023-12-07T04-16-00Z 2023-12-07 09:43:02 +01:00
Girish Ramakrishnan
237a7747d9 Version 3.10.1 2023-12-06 16:23:56 +01:00
Girish Ramakrishnan
ce4f12fbd6 Update minio to 2023-12-06T09-09-22Z 2023-12-06 14:49:35 +01:00
Girish Ramakrishnan
7e14939670 Version 3.10.0 2023-12-03 14:51:01 +01:00
Girish Ramakrishnan
1de078ee2a Update minio to RELEASE.2023-12-02T10-51-33Z 2023-12-03 14:21:34 +01:00
Girish Ramakrishnan
533b6d91e6 Version 3.9.11 2023-11-21 11:04:36 +01:00
Girish Ramakrishnan
ef4bdec677 Update minio to RELEASE.2023-11-20T22-40-07Z 2023-11-21 10:32:48 +01:00
Girish Ramakrishnan
da470851f7 Update minio to 3.9.10 2023-11-16 08:53:14 +01:00
Girish Ramakrishnan
242ed4386b Update minio to 2023-11-15T20-43-25Z 2023-11-16 08:35:23 +01:00
Girish Ramakrishnan
11bb0c8edc Version 3.9.9 2023-11-13 09:05:08 +01:00
Girish Ramakrishnan
4ac71ff8e7 Update minio to 2023-11-11T08-14-41Z 2023-11-13 08:27:34 +01:00
Girish Ramakrishnan
05cbddd40e Version 3.9.8 2023-11-08 12:52:22 +01:00
Girish Ramakrishnan
1ecb2e3593 Update minio to 2023-11-06T22-26-08Z 2023-11-08 12:44:47 +01:00
Girish Ramakrishnan
124bc9e833 Version 3.9.7 2023-11-02 10:49:42 +01:00
Girish Ramakrishnan
c5a3a190b2 Update minio to 2023-11-01T18-37-25Z 2023-11-02 10:37:13 +01:00
Girish Ramakrishnan
97e6ae5a6f Version 3.9.6 2023-11-01 14:42:16 +01:00
Girish Ramakrishnan
dfa728d7a5 Update test packages 2023-11-01 14:24:08 +01:00
Girish Ramakrishnan
f06d703fce Update minio to 2023-11-01T01-57-10Z 2023-11-01 14:20:35 +01:00
Girish Ramakrishnan
c78df06cb7 Version 3.9.5 2023-10-25 14:10:25 +02:00
Girish Ramakrishnan
87859252ce Update minio to 2023-10-25T06-33-25Z 2023-10-25 14:02:20 +02:00
Girish Ramakrishnan
9ef74c45d5 Version 3.9.4 2023-10-24 11:00:48 +02:00
Girish Ramakrishnan
e551d6535d Update minio to 2023-10-24T04-42-36Z 2023-10-24 10:40:42 +02:00
Girish Ramakrishnan
9a97ef5913 Version 3.9.3 2023-10-17 10:17:50 +02:00
Girish Ramakrishnan
ac937559e0 Update minio to 2023-10-16T04-13-43Z 2023-10-17 10:07:39 +02:00
Girish Ramakrishnan
3b4e8d04de Version 3.9.2 2023-10-08 18:41:27 +05:30
Girish Ramakrishnan
4d3cd5ed61 Update minio to 2023-10-07T15-07-38Z 2023-10-08 18:26:10 +05:30
Girish Ramakrishnan
9e5aa33e09 Version 3.9.1 2023-10-01 10:02:42 +05:30
Girish Ramakrishnan
4f3e70f3e0 Update minio to 2023-09-30T07-02-29Z 2023-10-01 09:03:48 +05:30
Girish Ramakrishnan
270a7cd6ee Version 3.9.0 2023-09-29 08:22:13 +05:30
Girish Ramakrishnan
da87188fad Update minio to 2023-09-27T15-22-50Z 2023-09-29 06:33:22 +05:30
Girish Ramakrishnan
16df482288 Version 3.8.5 2023-09-26 14:12:04 +05:30
Girish Ramakrishnan
0524be735e Update minio to 2023-09-23T03-47-50Z 2023-09-26 13:40:03 +05:30
Girish Ramakrishnan
a4451ecb22 Version 3.8.4 2023-09-21 14:25:22 +05:30
Girish Ramakrishnan
f452505ae7 Update minio to 2023-09-20T22-49-55Z 2023-09-21 14:04:16 +05:30
Girish Ramakrishnan
1fe052d819 Version 3.8.3 2023-09-16 17:14:40 +05:30
Girish Ramakrishnan
ba1a52dc5e Update minio to 2023-09-16T01-01-47Z 2023-09-16 16:37:43 +05:30
Girish Ramakrishnan
5b7a96134f Version 3.8.2 2023-09-08 18:44:35 +05:30
Girish Ramakrishnan
1366fc8932 Update minio to 2023-09-07T02-05-02Z 2023-09-08 08:35:31 +05:30
Girish Ramakrishnan
d9bdf5749e Version 3.8.1 2023-09-05 08:45:46 +05:30
Girish Ramakrishnan
2c30861af0 Update minio to 2023-09-04T19-57-37Z 2023-09-05 07:37:37 +05:30
Girish Ramakrishnan
37157e6538 Version 3.8.0 2023-09-01 07:38:33 +05:30
Girish Ramakrishnan
38e110edc7 Update minio to 2023-08-31T15-31-16Z 2023-09-01 07:00:00 +05:30
Girish Ramakrishnan
758b98fc20 Version 3.7.5 2023-08-30 15:33:14 +05:30
Girish Ramakrishnan
b92644ffdd Update minio to 2023-08-29T23-07-35Z 2023-08-30 13:19:40 +05:30
Girish Ramakrishnan
3b9e31f363 Version 3.7.4 2023-08-24 13:15:00 +05:30
Girish Ramakrishnan
17d5977c74 Update minio to 2023-08-23T10-07-06Z 2023-08-24 12:23:05 +05:30
Girish Ramakrishnan
d898eba22e Version 3.7.3 2023-08-17 08:37:34 +05:30
Girish Ramakrishnan
9c6a787df9 Update minio to 2023-08-16T20-17-30Z 2023-08-17 08:15:31 +05:30
Girish Ramakrishnan
9f4fc4c2f2 Version 3.7.2 2023-08-10 10:39:45 +05:30
Girish Ramakrishnan
2f271c7db9 Update minio to 2023-08-09T23-30-22Z 2023-08-10 06:21:16 +05:30
Girish Ramakrishnan
30f7bbf53b Version 3.7.1 2023-08-07 07:50:36 +05:30
Girish Ramakrishnan
b246112d3f Update minio to 2023-08-04T17-40-21Z 2023-08-07 07:26:20 +05:30
Girish Ramakrishnan
986df393a1 Version 3.7.0 2023-07-22 08:23:40 +05:30
Girish Ramakrishnan
d5b3bd9c2f Update minio to 2023-07-21T21-12-44Z 2023-07-22 07:43:24 +05:30
Girish Ramakrishnan
c1ce6031f7 Version 3.6.3 2023-07-19 08:32:46 +05:30
Girish Ramakrishnan
9c5f6b5636 Update minio to 2023-07-18T17-49-40Z 2023-07-19 08:08:43 +05:30
Girish Ramakrishnan
7fa5fa0427 Version 3.6.2 2023-07-12 09:05:00 +05:30
Girish Ramakrishnan
55711af940 Update minio to 2023-07-11T21-29-34Z 2023-07-12 08:37:01 +05:30
Girish Ramakrishnan
7a3ee2504f Version 3.6.1 2023-07-07 16:11:56 +05:30
Girish Ramakrishnan
c2388d2710 Update minio to 2023-07-07T07-13-57Z 2023-07-07 15:44:46 +05:30
Girish Ramakrishnan
81186e53f4 Version 3.6.0 2023-06-29 16:46:29 +05:30
Girish Ramakrishnan
f37fd6a660 Update minio to 2023-06-29T05-12-28Z 2023-06-29 16:29:10 +05:30
Girish Ramakrishnan
365254e971 Version 3.5.6 2023-06-25 15:14:58 +05:30
Girish Ramakrishnan
665851a84a Update minio to RELEASE.2023-06-23T20-26-00Z 2023-06-25 15:02:47 +05:30
Girish Ramakrishnan
a625014aeb Version 3.5.5 2023-06-20 12:18:30 +05:30
Girish Ramakrishnan
25ff8b66f6 Update minio to 2023-06-19T19-52-50Z 2023-06-20 11:27:41 +05:30
Girish Ramakrishnan
2fbefac3a9 Version 3.5.4 2023-06-16 17:29:29 +05:30
Girish Ramakrishnan
2bbf11f795 Fix test 2023-06-16 17:25:23 +05:30
Girish Ramakrishnan
ca3aebef4a Update minio to 2023-06-16T02-41-06Z 2023-06-16 16:34:49 +05:30
Girish Ramakrishnan
effb90c2ac Version 3.5.3 2023-06-10 12:07:15 +05:30
Girish Ramakrishnan
e8972242ca Update test packages 2023-06-10 12:05:56 +05:30
Girish Ramakrishnan
e84ef0cddf Update minio to RELEASE.2023-06-09T07-32-12Z 2023-06-10 12:00:09 +05:30
Girish Ramakrishnan
594b45051d Version 3.5.2 2023-06-03 10:26:25 +02:00
Girish Ramakrishnan
ed8e041180 Update tests 2023-06-03 10:26:21 +02:00
Girish Ramakrishnan
f9c0870c59 Update minio to 2023-06-02T23-17-26Z 2023-06-03 09:48:02 +02:00
Girish Ramakrishnan
550ea43e59 Version 3.5.1 2023-05-28 10:28:15 +02:00
Girish Ramakrishnan
832f1f26a8 Update minio to 2023-05-27T05-56-19Z 2023-05-28 10:17:13 +02:00
Girish Ramakrishnan
293beffadc Version 3.5.0 2023-05-21 07:18:24 +02:00
Girish Ramakrishnan
29f3101513 Update minio to 2023-05-18T00-05-36Z 2023-05-21 07:10:27 +02:00
Girish Ramakrishnan
ef6edee2a1 Version 3.4.20-1 2023-05-05 10:05:25 +02:00
Girish Ramakrishnan
e00e95eb94 Version 3.4.20 2023-05-05 10:00:10 +02:00
Girish Ramakrishnan
f6a78ee7cb Update minio to 2023-05-04T21-44-30Z 2023-05-05 09:35:46 +02:00
Girish Ramakrishnan
c32fc59b39 Version 3.4.19 2023-04-29 09:33:36 +02:00
Girish Ramakrishnan
78913a6f02 Update minio to 2023-04-28T18-11-17Z 2023-04-29 08:59:52 +02:00
Girish Ramakrishnan
9964fd0db8 Version 3.4.18 2023-04-21 18:21:52 +02:00
Girish Ramakrishnan
86ebec77eb Update minio to 2023-04-20T17-56-55Z 2023-04-21 18:16:25 +02:00
Girish Ramakrishnan
281ec626e3 Version 3.4.17 2023-04-13 10:47:28 +02:00
Girish Ramakrishnan
6f76e442fc Update test packages 2023-04-13 10:47:22 +02:00
Girish Ramakrishnan
c720de4dcf Update minio to RELEASE.2023-04-13T03-08-07Z 2023-04-13 10:20:12 +02:00
Girish Ramakrishnan
32a649b52a Version 3.4.16 2023-04-09 09:54:48 +02:00
Girish Ramakrishnan
08f1230582 Update test packages 2023-04-09 09:48:36 +02:00
Girish Ramakrishnan
eda4dd653f Update minio to 2023-04-07T05-28-58Z 2023-04-09 09:29:45 +02:00
Girish Ramakrishnan
d49de43f6b Version 3.4.15 2023-03-25 09:21:22 +01:00
Girish Ramakrishnan
d385379da8 Update minio to 2023-03-24T21-41-23Z 2023-03-25 09:10:35 +01:00
Girish Ramakrishnan
40f6e1675d Version 3.4.14 2023-03-23 07:12:20 +01:00
Girish Ramakrishnan
19d114beda Update minio to 2023-03-22T06-36-24Z 2023-03-23 07:05:12 +01:00
Girish Ramakrishnan
13329afe50 Version 3.4.13 2023-03-21 09:43:31 +01:00
Girish Ramakrishnan
8feb8dd0e3 Update minio to 2023-03-20T20-16-18Z 2023-03-21 09:30:08 +01:00
Girish Ramakrishnan
1370d93592 Version 3.4.12 2023-03-14 09:46:13 +01:00
Girish Ramakrishnan
d24e4b9896 Update minio to RELEASE.2023-03-13T19-46-17Z 2023-03-14 09:39:17 +01:00
Girish Ramakrishnan
b279130d74 Version 3.4.11 2023-03-10 10:01:22 +01:00
Girish Ramakrishnan
3504fc48f9 Update minio to 2023-03-09T23-16-13Z 2023-03-10 09:13:08 +01:00
Girish Ramakrishnan
1ac3bbe134 Version 3.4.10 2023-02-28 10:05:23 +01:00
Girish Ramakrishnan
fe7fd0147c Update minio to RELEASE.2023-02-27T18-10-45Z 2023-02-28 09:52:35 +01:00
Girish Ramakrishnan
0047b6bd3b Version 3.4.9 2023-02-23 09:43:13 +01:00
Girish Ramakrishnan
b4e59c928c Update minio to 2023-02-22T18-23-45Z 2023-02-23 09:25:24 +01:00
Girish Ramakrishnan
d33cff8f0a Version 3.4.8 2023-02-18 08:23:47 +01:00
Girish Ramakrishnan
4eb440baaf Update test packages 2023-02-18 08:22:58 +01:00
Girish Ramakrishnan
96e54e6b3c Update minio to 2023-02-17T17-52-43Z 2023-02-18 07:57:31 +01:00
Girish Ramakrishnan
bfbe792135 Version 3.4.7 2023-02-11 08:31:02 +01:00
Girish Ramakrishnan
31bbeed39f Update minio to 2023-02-10T18-48-39Z 2023-02-11 08:14:00 +01:00
11 changed files with 2975 additions and 622 deletions

1090
CHANGELOG

File diff suppressed because it is too large Load Diff

View File

@@ -5,10 +5,10 @@
"description": "file://DESCRIPTION.md",
"changelog": "file://CHANGELOG",
"tagline": "Distributed object storage",
"version": "3.4.6",
"upstreamVersion": "2023-01-31T02-24-19Z",
"version": "3.17.0",
"upstreamVersion": "RELEASE.2024-12-13T22-19-12Z",
"healthCheckPath": "/minio/login",
"memoryLimit": 805306368,
"memoryLimit": 2147483648,
"httpPort": 8000,
"httpPorts": {
"API_SERVER_DOMAIN": {
@@ -19,8 +19,12 @@
}
},
"addons": {
"localstorage": {}
"localstorage": {},
"oidc": {
"loginRedirectUri": "/oauth_callback"
}
},
"optionalSso": true,
"manifestVersion": 2,
"website": "http://www.minio.io",
"minBoxVersion": "7.1.2",
@@ -28,7 +32,12 @@
"documentationUrl": "https://docs.cloudron.io/apps/minio/",
"contactEmail": "support@cloudron.io",
"icon": "logo.png",
"tags": [ "storage", "hosting", "s3", "objectstore" ],
"tags": [
"storage",
"hosting",
"s3",
"objectstore"
],
"mediaLinks": [
"https://screenshots.cloudron.io/io.minio.cloudronapp/pic1.png",
"https://screenshots.cloudron.io/io.minio.cloudronapp/pic2.png"

View File

@@ -1,16 +1,16 @@
FROM cloudron/base:4.0.0@sha256:31b195ed0662bdb06a6e8a5ddbedb6f191ce92e8bee04c03fb02dd4e9d0286df
FROM cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768ba473078319a47f4
RUN mkdir -p /app/code
WORKDIR /app/code
ARG VERSION=RELEASE.2023-01-31T02-24-19Z
# renovate: datasource=github-releases depName=minio/minio versioning=regex:^RELEASE\.(?<major>\d{4})-(?<minor>\d{2})-(?<patch>\d{2})T(?<build>.+)
ARG MINIO_VERSION=RELEASE.2024-12-13T22-19-12Z
# 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/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/server/minio/release/linux-amd64/archive/minio.${MINIO_VERSION} -O /app/code/minio && chmod +x /app/code/minio
# Latest CLI
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/
COPY env.sh.template start.sh /app/code/
CMD [ "/app/code/start.sh" ]

View File

@@ -1,7 +1,19 @@
<nosso>
Please use the following credentials to login:
**Username**: minioadmin<br/>
**Password**: minioadmin<br/>
Please change the credentials immediately by following this [guide](https://cloudron.io/documentation/apps/minio/#admin-credentials).
</nosso>
<sso>
Please use the following credentials to login via 'Other Authentication Methods' -> 'Use Credentials':
**Username**: minioadmin<br/>
**Password**: See `MINIO_ROOT_PASSWORD` in `/app/data/env.sh` <a href="/frontend/filemanager.html#/viewer/app/$CLOUDRON-APP-ID/env.sh">Open File Manager</a><br/>
Cloudron users have `readwrite` access policy. See the [docs](https://cloudron.io/documentation/apps/minio/#admin-credentials) on how to change it.
</nosso>

9
env.sh
View File

@@ -1,9 +0,0 @@
# Add custom minio configuration to this file. Restart the app for changes to take effect.
export CLOUDRON_MINIO_STARTUP_ARGS='server /app/data/data'
# See https://docs.min.io/minio/baremetal/reference/minio-server/minio-server.html#envvar.MINIO_ROOT_USER
# You can use pwgen -1s 64 to generate usernames and passwords
export MINIO_ROOT_USER=minioadmin
export MINIO_ROOT_PASSWORD=minioadmin

4
env.sh.template Normal file
View File

@@ -0,0 +1,4 @@
# Add custom minio configuration to this file. Restart the app for changes to take effect.
export CLOUDRON_MINIO_STARTUP_ARGS='server /app/data/data'

4
renovate.json5 Normal file
View File

@@ -0,0 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["local>devops/renovator//default.renovate.json5"]
}

View File

@@ -4,7 +4,19 @@ set -eu
mkdir -p /app/data/data /run/minio/config /run/minio/certs
[[ ! -f /app/data/env.sh ]] && cp /app/code/env.sh /app/data/env.sh
# env vars take precedence over config.yaml (https://github.com/minio/minio/blob/master/docs/distributed/CONFIG.md#things-to-know)
if [[ ! -f /app/data/env.sh ]]; then
echo "=> First run"
cp /app/code/env.sh.template /app/data/env.sh
# minio does not show the password login by default when OIDC is setup (https://github.com/minio/minio/discussions/16928)
# we generate a dynamic password because users might forget to change the admin password (with the oidc login being so click friendly)
if [[ -n "${CLOUDRON_OIDC_ISSUER:-}" ]]; then
echo -e "export MINIO_ROOT_USER=minioadmin\nexport MINIO_ROOT_PASSWORD=$(pwgen -1s 20)\n\n" >> /app/data/env.sh
else
echo -e "export MINIO_ROOT_USER=minioadmin\nexport MINIO_ROOT_PASSWORD=minioadmin\n\n" >> /app/data/env.sh
fi
fi
source /app/data/env.sh
# https://docs.min.io/minio/baremetal/reference/minio-server/minio-server.html#envvar.MINIO_SERVER_URL
@@ -16,11 +28,23 @@ if [[ ! -d /app/data/mc_config ]]; then
/app/code/mc --config-dir /app/data/mc_config &> /dev/null || true
fi
if [[ -n "${CLOUDRON_OIDC_ISSUER:-}" ]]; then
export MINIO_IDENTITY_OPENID_DISPLAY_NAME="Cloudron"
export MINIO_IDENTITY_OPENID_CONFIG_URL="${CLOUDRON_OIDC_DISCOVERY_URL}"
export MINIO_IDENTITY_OPENID_CLIENT_ID="${CLOUDRON_OIDC_CLIENT_ID}"
export MINIO_IDENTITY_OPENID_CLIENT_SECRET="${CLOUDRON_OIDC_CLIENT_SECRET}"
export MINIO_IDENTITY_OPENID_SCOPES="openid profile email"
if [[ -z "${MINIO_IDENTITY_OPENID_ROLE_POLICY:-}" ]]; then
export MINIO_IDENTITY_OPENID_ROLE_POLICY="readwrite"
fi
export MINIO_IDENTITY_OPENID_COMMENT="Cloudron OIDC"
fi
# minio is used for backups at times and has a large number of files. optimize by checking if files are actually in correct chown state
echo "==> Changing ownership"
[[ $(stat --format '%U' /app/data/data) != "cloudron" ]] && chown -R cloudron:cloudron /app/data
# the --config-dir is deprecated and not used. but without it, minio will try to create $HOME/.minio :/ same for --certs-dir
echo "==> Starting minio"
exec /usr/local/bin/gosu cloudron:cloudron /app/code/minio --certs-dir /run/minio/certs --config-dir /run/minio/config --quiet ${CLOUDRON_MINIO_STARTUP_ARGS} --address :9000 --console-address :8000
exec /usr/local/bin/gosu cloudron:cloudron /app/code/minio --quiet ${CLOUDRON_MINIO_STARTUP_ARGS} --address :9000 --console-address :8000

2204
test/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -9,11 +9,10 @@
"author": "",
"license": "ISC",
"dependencies": {
"chromedriver": "^109.0.0",
"delay": "^5.0.0",
"chromedriver": "^131.0.3",
"expect.js": "^0.3.1",
"mocha": "^10.2.0",
"selenium-webdriver": "^4.8.0",
"superagent": "^8.0.9"
"mocha": "^11.0.1",
"selenium-webdriver": "^4.27.0",
"superagent": "^10.1.1"
}
}

View File

@@ -1,43 +1,61 @@
#!/usr/bin/env node
/* jshint esversion: 8 */
/* global describe */
/* global before */
/* global after */
/* global it */
/* global xit */
/* global it, xit, describe, before, after, afterEach */
'use strict';
require('chromedriver');
const delay = require('delay'),
execSync = require('child_process').execSync,
const execSync = require('child_process').execSync,
expect = require('expect.js'),
fs = require('fs'),
path = require('path'),
superagent = require('superagent'),
timers = require('timers/promises'),
{ Builder, By, until } = require('selenium-webdriver'),
{ Options } = require('selenium-webdriver/chrome');
if (!process.env.USERNAME || !process.env.PASSWORD) {
console.log('USERNAME and PASSWORD env vars need to be set');
process.exit(1);
}
describe('Application life cycle test', function () {
this.timeout(0);
const LOCATION = 'test';
const TEST_TIMEOUT = 30000;
const LOCATION = process.env.LOCATION || 'test';
const TEST_TIMEOUT = parseInt(process.env.TIMEOUT, 10) || 30000;
const BUCKET = 'cloudrontestbucket';
const EXEC_ARGS = { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' };
let browser, app;
let athenticated_by_oidc = false, rootPassword;
const username = process.env.USERNAME;
const password = process.env.PASSWORD;
before(function () {
browser = new Builder().forBrowser('chrome').setChromeOptions(new Options().windowSize({ width: 1280, height: 1024 })).build();
const chromeOptions = new Options().windowSize({ width: 1280, height: 1024 });
if (process.env.CI) chromeOptions.addArguments('no-sandbox', 'disable-dev-shm-usage', 'headless');
browser = new Builder().forBrowser('chrome').setChromeOptions(chromeOptions).build();
if (!fs.existsSync('./screenshots')) fs.mkdirSync('./screenshots');
});
after(function () {
browser.quit();
});
afterEach(async function () {
if (!process.env.CI || !app) return;
const currentUrl = await browser.getCurrentUrl();
if (!currentUrl.includes(app.domain)) return;
expect(this.currentTest.title).to.be.a('string');
const screenshotData = await browser.takeScreenshot();
fs.writeFileSync(`./screenshots/${new Date().getTime()}-${this.currentTest.title.replaceAll(' ', '_')}.png`, screenshotData, 'base64');
});
async function waitForElement(elem) {
await browser.wait(until.elementLocated(elem), TEST_TIMEOUT);
await browser.wait(until.elementIsVisible(browser.findElement(elem)), TEST_TIMEOUT);
@@ -49,23 +67,58 @@ describe('Application life cycle test', function () {
expect(app).to.be.an('object');
}
async function login(accessKey='minioadmin', secretKey='minioadmin') {
async function login(username, password, expandLoginForm=true) {
await browser.manage().deleteAllCookies();
await browser.get('about:blank');
await browser.sleep(2000);
await browser.get(`https://${app.fqdn}/login`);
await browser.sleep(2000);
if (expandLoginForm) {
await waitForElement(By.xpath('//div[@id="alternativeMethods-select"]/div[contains(., "Other Authentication Methods")]'));
await browser.findElement(By.xpath('//div[@id="alternativeMethods-select"]/div[contains(., "Other Authentication Methods")]')).click();
await browser.sleep(2000);
await browser.findElement(By.xpath('//li[contains(., "Use Credentials")] | //div[@label="Use Credentials"]')).click();
await browser.sleep(2000);
}
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.id('accessKey')).sendKeys(username);
await browser.findElement(By.id('secretKey')).sendKeys(password);
await browser.findElement(By.xpath('//button[@id="do-login"]')).click();
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
await delay(5000);
await timers.setTimeout(5000);
}
async function loginOIDC(username, password) {
browser.manage().deleteAllCookies();
await browser.get(`https://${app.fqdn}/login`);
await browser.sleep(10000);
await browser.findElement(By.xpath('//button[contains(., "Cloudron")]')).click();
await browser.sleep(10000);
if (!athenticated_by_oidc) {
await waitForElement(By.xpath('//input[@name="username"]'));
await browser.findElement(By.xpath('//input[@name="username"]')).sendKeys(username);
await browser.findElement(By.xpath('//input[@name="password"]')).sendKeys(password);
await browser.sleep(2000);
await browser.findElement(By.id('loginSubmitButton')).click();
await browser.sleep(2000);
athenticated_by_oidc = true;
}
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
}
async function logout() {
await browser.get(`https://${app.fqdn}/`);
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
const button = await browser.findElement(By.xpath('//div/span[contains(text(), "Sign Out")]'));
const button = await browser.findElement(By.xpath('//button[@id="sign-out"]'));
await browser.executeScript('arguments[0].scrollIntoView(false)', button);
await button.click();
await waitForElement(By.id('accessKey'));
await browser.sleep(10000); // needed!
await waitForElement(By.xpath('//*[@id="accessKey"] | //button[contains(., "Cloudron")]'));
}
async function addBucket() {
@@ -76,7 +129,7 @@ describe('Application life cycle test', function () {
await browser.findElement(By.xpath('//input[@id="bucket-name"]')).sendKeys(BUCKET);
await browser.findElement(By.xpath('//button[@id="create-bucket"]')).click();
await waitForElement(By.xpath(`//h1[contains(text(), "${BUCKET}")]`));
await delay(5000);
await timers.setTimeout(5000);
}
async function checkBucket() {
@@ -96,38 +149,87 @@ describe('Application life cycle test', function () {
expect(response.body.toString('utf8')).to.contain('<Code>AccessDenied</Code>');
}
async function changeAdminCredentials() {
let data = fs.readFileSync(path.join(__dirname, '../env.sh.template'), 'utf8');
data += '\nexport MINIO_ROOT_USER=minioakey\nexport MINIO_ROOT_PASSWORD=minioskey\n';
fs.writeFileSync('/tmp/env.sh', data);
execSync(`cloudron push --app ${app.id} /tmp/env.sh /app/data/env.sh`, EXEC_ARGS);
execSync(`cloudron restart --app ${app.id}`, EXEC_ARGS);
await timers.setTimeout(10000);
}
async function getAdminCredentials() {
execSync(`cloudron pull --app ${app.id} /app/data/env.sh /tmp/env.sh`, EXEC_ARGS);
const data = fs.readFileSync('/tmp/env.sh', 'utf8');
const m = data.match(/MINIO_ROOT_PASSWORD=(.*)/);
if (!m) throw new Error('Could not detect root password');
rootPassword = m[1].trim();
console.log(`root password is [${rootPassword}]`);
}
xit('build app', function () { execSync('cloudron build', EXEC_ARGS); });
it('install app', async function () {
execSync(`cloudron install --location ${LOCATION} --secondary-domains API_SERVER_DOMAIN=${LOCATION}-api`, EXEC_ARGS);
await delay(10000);
// // no SSO
it('install app (no SSO)', async function () {
execSync(`cloudron install --no-sso --location ${LOCATION} --secondary-domains API_SERVER_DOMAIN=${LOCATION}-api`, EXEC_ARGS);
await timers.setTimeout(10000);
});
it('can get app information', getAppInfo);
it('can login', login.bind(null, 'minioadmin', 'minioadmin'));
it('can admin login', login.bind(null, 'minioadmin', 'minioadmin', false));
it('can add bucket', addBucket);
it('can logout', logout);
it('does redirect', checkRedirect);
it('check api', checkApi);
it('can change credentials', async function () {
let data = fs.readFileSync(path.join(__dirname, '../env.sh'), 'utf8');
data = data
.replace(/MINIO_ROOT_USER=.*/, 'MINIO_ROOT_USER=minioakey')
.replace(/MINIO_ROOT_PASSWORD=.*/, 'MINIO_ROOT_PASSWORD=minioskey');
fs.writeFileSync('/tmp/env.sh', data);
execSync(`cloudron push --app ${app.id} /tmp/env.sh /app/data/env.sh`, EXEC_ARGS);
it('can change admin credentials', changeAdminCredentials);
it('can restart app', async function () {
execSync(`cloudron restart --app ${app.id}`, EXEC_ARGS);
await delay(10000);
await timers.setTimeout(10000);
});
it('can restart app', function () { execSync(`cloudron restart --app ${app.id}`, EXEC_ARGS); });
it('can login', login.bind(null, 'minioakey', 'minioskey'));
it('can admin login', login.bind(null, 'minioakey', 'minioskey', false));
it('has bucket', checkBucket);
it('can logout', logout);
it('does redirect', checkRedirect);
it('check api', checkApi);
it('uninstall app', function () { execSync('cloudron uninstall --app ' + app.id, EXEC_ARGS); });
// SSO
it('install app (SSO)', async function () {
execSync(`cloudron install --location ${LOCATION} --secondary-domains API_SERVER_DOMAIN=${LOCATION}-api`, EXEC_ARGS);
await timers.setTimeout(10000);
});
it('can get app information', getAppInfo);
it('can get admin credentials', getAdminCredentials);
it('can admin login', async function () { await login('minioadmin', rootPassword); });
it('can add bucket', addBucket);
it('can logout', logout);
it('does redirect', checkRedirect);
it('check api', checkApi);
it('can OIDC login', loginOIDC.bind(null, username, password));
it('has bucket', checkBucket);
it('can logout', logout);
it('can change admin credentials', changeAdminCredentials);
it('can restart app', async function () {
execSync(`cloudron restart --app ${app.id}`, EXEC_ARGS);
await timers.setTimeout(10000);
});
it('can admin login', login.bind(null, 'minioakey', 'minioskey'));
it('has bucket', checkBucket);
it('can logout', logout);
it('does redirect', checkRedirect);
it('check api', checkApi);
it('can OIDC login', loginOIDC.bind(null, username, password));
it('has bucket', checkBucket);
it('can logout', logout);
it('backup app', function () { execSync('cloudron backup create --app ' + app.id, EXEC_ARGS); });
it('restore app', async function () {
@@ -136,44 +238,66 @@ describe('Application life cycle test', function () {
execSync('cloudron install --location ' + LOCATION, EXEC_ARGS);
getAppInfo();
execSync(`cloudron restore --backup ${backups[0].id} --app ${app.id}`, EXEC_ARGS);
await delay(10000);
await timers.setTimeout(10000);
});
it('can login', login.bind(null, 'minioakey', 'minioskey'));
it('can get app information', getAppInfo);
it('can admin login', login.bind(null, 'minioakey', 'minioskey'));
it('has bucket', checkBucket);
it('can logout', logout);
it('can OIDC login', loginOIDC.bind(null, username, password));
it('has bucket', checkBucket);
it('can logout', logout);
it('does redirect', checkRedirect);
it('check api', checkApi);
it('move to different location', async function () {
browser.manage().deleteAllCookies();
execSync('cloudron configure --location ' + LOCATION + '2', EXEC_ARGS);
await delay(10000);
await timers.setTimeout(10000);
});
it('can get app information', getAppInfo);
it('can login', login.bind(null, 'minioakey', 'minioskey'));
it('can admin login', login.bind(null, 'minioakey', 'minioskey'));
it('has bucket', checkBucket);
it('can logout', logout);
it('can OIDC login', loginOIDC.bind(null, username, password));
it('has bucket', checkBucket);
it('can logout', logout);
it('does redirect', checkRedirect);
it('check api', checkApi);
it('uninstall app', function () { execSync('cloudron uninstall --app ' + app.id, EXEC_ARGS); });
// test update
it('can install app', function () { execSync('cloudron install --appstore-id io.minio.cloudronapp --location ' + LOCATION, EXEC_ARGS); });
it('can install app for update', function () { execSync('cloudron install --appstore-id io.minio.cloudronapp --location ' + LOCATION, EXEC_ARGS); });
it('can get app information', getAppInfo);
it('can login', login.bind(null, 'minioadmin', 'minioadmin'));
it('can get admin credentials', getAdminCredentials);
it('can admin login', async function () { await login('minioadmin', rootPassword); });
it('can add buckets', addBucket);
it('can logout', logout);
it('can OIDC login', loginOIDC.bind(null, username, password));
it('has bucket', checkBucket);
it('can logout', logout);
it('can update', function () { execSync(`cloudron update --app ${LOCATION}`, EXEC_ARGS); });
it('can configure', function () { execSync(`cloudron configure --app ${LOCATION} --location ${LOCATION} --secondary-domains API_SERVER_DOMAIN=${LOCATION}-api`, EXEC_ARGS); });
it('can get app information', getAppInfo);
it('can login', login.bind(null, 'minioadmin', 'minioadmin'));
it('can admin login', async function () { await login('minioadmin', rootPassword); });
it('has bucket', checkBucket);
it('can logout', logout);
it('can OIDC login', loginOIDC.bind(null, username, password));
it('has bucket', checkBucket);
it('can logout', logout);
it('does redirect', checkRedirect);
it('check api', checkApi);