1
0
mirror of https://git.cloudron.io/cloudron/minio-app synced 2025-09-03 07:45:20 +00:00

Compare commits

...

122 Commits

Author SHA1 Message Date
Girish Ramakrishnan
af0e17d5b0 Version 1.88.0 2020-01-08 10:00:11 -08:00
Girish Ramakrishnan
c662d0caab Update minio to 2020-01-03T19-12-21Z 2020-01-08 09:27:00 -08:00
Girish Ramakrishnan
1f76bbfd77 Version 1.87.0 2019-12-30 11:00:00 -08:00
Girish Ramakrishnan
f7c784c228 Update minio to RELEASE.2019-12-30T05-45-39Z 2019-12-30 10:50:49 -08:00
Girish Ramakrishnan
ee7795df9a Version 1.86.0 2019-12-20 12:10:46 -08:00
Girish Ramakrishnan
6dd64a829c Fixup tests 2019-12-20 12:03:35 -08:00
Girish Ramakrishnan
75e7154353 Update minio to RELEASE.2019-12-19T22-52-26Z 2019-12-20 12:02:11 -08:00
Girish Ramakrishnan
3b8576093e Update minio to 2019-12-17T23-16-33Z 2019-12-17 16:24:19 -08:00
Girish Ramakrishnan
5dd4f2d8e3 Version 1.85.0 2019-10-14 09:12:52 -07:00
Girish Ramakrishnan
00a2c3569b Update minio to 2019-10-12T01-39-57Z 2019-10-14 09:04:36 -07:00
Girish Ramakrishnan
cc7890f71d Version 1.84.0 2019-10-11 18:21:22 -07:00
Girish Ramakrishnan
f156ab5168 Update minio to 2019-10-11T00-38-09Z 2019-10-11 18:08:35 -07:00
Girish Ramakrishnan
0b2d206655 Version 1.83.0 2019-10-03 13:58:56 -07:00
Girish Ramakrishnan
4c01df72b5 Update Version to RELEASE.2019-10-02T21-19-38Z 2019-10-03 13:53:44 -07:00
Girish Ramakrishnan
ada7671d81 Version 1.82.0 2019-09-30 15:02:21 -07:00
Girish Ramakrishnan
5a0ec69dfd Update minio to RELEASE.2019-09-26T19-42-35Z 2019-09-30 14:55:50 -07:00
Girish Ramakrishnan
bf4f230766 Version 1.81.0 2019-09-26 09:18:26 -07:00
Girish Ramakrishnan
49b6a854f9 Update minio to RELEASE.2019-09-25T18-25-51Z 2019-09-26 09:07:25 -07:00
Girish Ramakrishnan
5f72ec0c47 Version 1.80.0 2019-09-21 19:04:02 -07:00
Girish Ramakrishnan
fc2a5016eb Update minio to RELEASE.2019-09-18T21-55-05Z 2019-09-21 18:32:06 -07:00
Girish Ramakrishnan
52d85d06a8 Version 1.79.0 2019-09-12 09:40:00 -07:00
Girish Ramakrishnan
2e87474fc0 Update minio to 2019-09-11T19-53-16Z 2019-09-12 09:34:52 -07:00
Girish Ramakrishnan
252ffc4128 Version 1.78.0 2019-09-08 10:52:19 -07:00
Girish Ramakrishnan
a591960982 Update minio to 2019-09-05T23-24-38Z 2019-09-08 10:41:34 -07:00
Girish Ramakrishnan
371db41bac Version 1.77.0 2019-09-01 08:45:49 -07:00
Girish Ramakrishnan
ea4c66ea9e Update minio to 2019-08-29T00-25-01Z 2019-08-28 21:18:25 -07:00
Girish Ramakrishnan
34e7ea8a94 Version 1.76.0 2019-08-21 20:43:03 -07:00
Girish Ramakrishnan
1bf20110ce Update minio to RELEASE.2019-08-21T19-40-07Z 2019-08-21 20:36:42 -07:00
Girish Ramakrishnan
d58be51a79 Version 1.75.0 2019-08-20 10:16:51 -07:00
Girish Ramakrishnan
0e8e1525d0 Fix tests 2019-08-20 10:16:14 -07:00
Girish Ramakrishnan
f362df6f92 Update minio to RELEASE.2019-08-14T20-37-41Z 2019-08-20 07:57:15 -07:00
Girish Ramakrishnan
c0da9e678b Version 1.74.0 2019-08-07 06:18:59 -07:00
Girish Ramakrishnan
3780f971e3 Update Web driver 2019-08-07 06:18:04 -07:00
Girish Ramakrishnan
0e26a175fb Update minio to RELEASE.2019-08-07T01-59-21Z 2019-08-07 06:01:05 -07:00
Girish Ramakrishnan
474243b6a0 Version 1.73.0 2019-08-02 09:16:30 -07:00
Girish Ramakrishnan
41b7a699ec Version RELEASE.2019-08-01T22-18-54Z 2019-08-02 09:05:24 -07:00
Girish Ramakrishnan
35103b8888 Version 1.72.0 2019-07-24 09:49:31 -07:00
Girish Ramakrishnan
ae33b6cd32 Update minio to 2019-07-24T02-02-23Z 2019-07-24 09:22:09 -07:00
Girish Ramakrishnan
a1ee8284b3 Version 1.71.0 2019-07-18 09:39:40 -07:00
Girish Ramakrishnan
0b94589ca7 Version RELEASE.2019-07-17T22-54-12Z 2019-07-18 09:34:34 -07:00
Girish Ramakrishnan
fa5921039d Version 1.70.0 2019-07-15 09:29:00 -07:00
Girish Ramakrishnan
82474bb099 Update minio to RELEASE.2019-07-10T00-34-56Z 2019-07-15 09:24:38 -07:00
Girish Ramakrishnan
080f9f2756 Version 1.69.0 2019-07-05 14:53:03 -07:00
Girish Ramakrishnan
6f1aeb6adf Update minio to RELEASE.2019-07-05T21-20-21Z 2019-07-05 14:48:01 -07:00
Girish Ramakrishnan
a464984a9b Version 1.68.0 2019-07-01 13:46:05 -07:00
Girish Ramakrishnan
06702b72a6 Update minio to 2019-06-27T21-13-50Z 2019-07-01 13:40:45 -07:00
Girish Ramakrishnan
6bfa60424c Version 1.67.0 2019-06-20 08:38:19 -07:00
Girish Ramakrishnan
9ef4a9b6ce Update minio to RELEASE.2019-06-19T18-24-42Z 2019-06-20 08:23:47 -07:00
Girish Ramakrishnan
5c3c319d57 Version 1.66.0 2019-06-17 10:10:30 -07:00
Girish Ramakrishnan
1b28eef31b Update manifest to v2 2019-06-17 10:09:55 -07:00
Girish Ramakrishnan
95ccb12a84 Update minio to RELEASE.2019-06-15T23-07-18Z 2019-06-17 10:00:26 -07:00
Girish Ramakrishnan
71be7ea8a7 Version 1.65.0 2019-06-12 08:48:26 -07:00
Girish Ramakrishnan
625fde23b7 Update minio to RELEASE.2019-06-11T00-44-33Z 2019-06-12 08:30:05 -07:00
Girish Ramakrishnan
be069e9849 Version 1.64.0 2019-06-07 13:48:23 -07:00
Girish Ramakrishnan
a6571e8e6e Update minio to RELEASE.2019-06-04T01-15-58Z 2019-06-07 13:38:56 -07:00
Girish Ramakrishnan
2e299fce84 Version 1.63.0 2019-06-03 09:45:39 -07:00
Girish Ramakrishnan
7a49168732 Update minio to RELEASE.2019-06-01T03-46-14Z 2019-06-03 09:33:19 -07:00
Girish Ramakrishnan
fe56ecfd3d Version 1.62.0 2019-05-28 10:48:49 -07:00
Girish Ramakrishnan
2b96c15d8c Fix test 2019-05-28 10:48:15 -07:00
Girish Ramakrishnan
e7bd62c4ef update tests 2019-05-28 10:43:28 -07:00
Girish Ramakrishnan
c887c30e92 Update minio to 2019-05-23T00-29-34Z 2019-05-28 10:39:01 -07:00
Girish Ramakrishnan
1f184eacbf Version 1.61.0 2019-05-14 18:08:26 -07:00
Girish Ramakrishnan
0c8d81686b Update minio to 2019-05-14T23-57-45Z 2019-05-14 18:04:35 -07:00
Girish Ramakrishnan
0f89e283cf Version 1.60.0 2019-05-09 11:02:20 -07:00
Girish Ramakrishnan
cfabc51ae5 Update minio to RELEASE.2019-05-02T19-07-09Z 2019-05-09 10:47:44 -07:00
Girish Ramakrishnan
067f8069eb Version 1.59.0 2019-04-24 09:30:38 -07:00
Girish Ramakrishnan
44236fb8a6 Update minio to RELEASE.2019-04-23T23-50-36Z 2019-04-24 09:18:16 -07:00
Girish Ramakrishnan
98a80ebe26 Version 1.58.0 2019-04-22 11:38:54 -07:00
Girish Ramakrishnan
2323b653e1 Update minio to RELEASE.2019-04-18T21-44-59Z 2019-04-22 11:32:17 -07:00
Girish Ramakrishnan
caed9ab165 Version 1.57.0 2019-04-10 10:06:35 -07:00
Girish Ramakrishnan
d754979356 Update minio to 2019-04-09T01-22-30Z 2019-04-10 09:17:42 -07:00
Girish Ramakrishnan
fb4db828f1 Version 1.56.0 2019-04-07 17:04:24 -07:00
Girish Ramakrishnan
1edd7cf09a Update minio to 2019-04-04T18-31-46Z 2019-04-07 17:02:54 -07:00
Girish Ramakrishnan
e3f7780921 Version 1.55.0 2019-03-28 05:46:15 -07:00
Girish Ramakrishnan
0e0869148b Update minio to RELEASE.2019-03-27T22-35-21Z 2019-03-28 05:36:45 -07:00
Girish Ramakrishnan
7c5a36dd61 Version 1.54.0 2019-03-21 12:09:12 -07:00
Girish Ramakrishnan
9e5350068f Update minio to RELEASE.2019-03-20T22-38-47Z 2019-03-21 09:00:17 -07:00
Girish Ramakrishnan
2588b6acf1 Version 1.53.0 2019-03-19 10:38:07 -07:00
Girish Ramakrishnan
14be49edf1 Update minio to RELEASE.2019-03-13T21-59-47Z 2019-03-19 10:32:30 -07:00
Girish Ramakrishnan
b03de0c6f2 Version 1.52.0 2019-03-08 11:35:18 -08:00
Girish Ramakrishnan
3618aa0f9e Update minio to RELEASE.2019-03-06T22-47-10Z 2019-03-08 11:15:29 -08:00
Girish Ramakrishnan
30b42a8cba Version 1.51.0 2019-02-27 11:11:31 -08:00
Girish Ramakrishnan
9545cbb4e7 Update minio to 2019-02-26T19-51-46Z 2019-02-27 11:04:36 -08:00
Girish Ramakrishnan
b2fad00b2d Version 1.50.0 2019-02-21 10:53:41 -08:00
Girish Ramakrishnan
76eb4498e6 Version 1.49.0 2019-02-18 11:36:15 -08:00
Girish Ramakrishnan
5dbe388b18 Update minio to RELEASE.2019-02-14T00-21-45Z 2019-02-18 11:27:50 -08:00
Girish Ramakrishnan
a5350c48f4 Version 1.48.0 2019-02-13 10:31:16 -08:00
Girish Ramakrishnan
a77e1f0890 Update minio to 2019-02-12T21-58-47Z 2019-02-13 09:54:04 -08:00
Girish Ramakrishnan
0418bad52a Version 1.47.0 2019-02-08 10:18:59 -08:00
Girish Ramakrishnan
2722263115 Update minio to RELEASE.2019-02-06T21-16-36Z 2019-02-08 10:10:23 -08:00
Girish Ramakrishnan
3a8404539d Version 1.46.0 2019-01-31 09:40:26 -08:00
Girish Ramakrishnan
24d10e77c6 Update minio to RELEASE.2019-01-31T00-31-19Z 2019-01-31 09:32:57 -08:00
Girish Ramakrishnan
aceb98bad5 Version 1.45.0 2019-01-28 11:14:55 -08:00
Girish Ramakrishnan
d0f1393544 Update minio to 2019-01-23T23-18-58Z 2019-01-28 11:04:54 -08:00
Girish Ramakrishnan
3683b8797d Version 1.44.0 2019-01-22 16:11:12 -08:00
Girish Ramakrishnan
ba9362ec8c create cert dir 2019-01-22 16:05:31 -08:00
Girish Ramakrishnan
926345c331 Update minio to RELEASE.2019-01-10T00-21-20Z 2019-01-10 10:15:47 -08:00
Girish Ramakrishnan
a6285b939f Version 1.43.0 2018-12-28 07:30:13 -08:00
Girish Ramakrishnan
5fd7750cb3 Update minio to RELEASE.2018-12-27T18-33-08Z 2018-12-28 07:25:30 -08:00
Girish Ramakrishnan
d574deb02a Version 1.42.0 2018-12-26 12:13:26 -08:00
Girish Ramakrishnan
7591e99678 Update minio to 2018-12-19T23-46-24Z 2018-12-26 12:01:54 -08:00
Girish Ramakrishnan
507e2a3822 Version 1.41.0 2018-12-17 10:06:38 -08:00
Girish Ramakrishnan
3fa052700c Update minio to 2018-12-13T02-04-19Z 2018-12-17 09:58:23 -08:00
Girish Ramakrishnan
11e58dc4db Version 1.40.0 2018-12-10 11:43:04 -08:00
Girish Ramakrishnan
1ea93afb2a Update minio to RELEASE.2018-12-06T01-27-43Z 2018-12-10 11:36:36 -08:00
Girish Ramakrishnan
da1dca94e6 Version 1.39.0 2018-11-30 10:54:59 -08:00
Girish Ramakrishnan
19dfab036d Update minio to 2018-11-30T03-56-59Z 2018-11-30 10:36:24 -08:00
Girish Ramakrishnan
59fd4cbdc0 Version 1.38.0 2018-11-20 10:46:34 -08:00
Girish Ramakrishnan
e84210ed1f Update minio to RELEASE.2018-11-17T01-23-48Z 2018-11-20 10:08:26 -08:00
Girish Ramakrishnan
1187abb63e Version 1.37.0 2018-11-09 16:25:53 -08:00
Girish Ramakrishnan
2d44c616ca Update minio to RELEASE.2018-11-06T01-01-02Z 2018-11-09 16:21:19 -08:00
Girish Ramakrishnan
810f1c0b86 Version 1.36.0 2018-11-05 09:35:16 -08:00
Girish Ramakrishnan
0a13ee10e8 Update minio to RELEASE.2018-10-25T01-27-03Z 2018-11-05 09:34:29 -08:00
Girish Ramakrishnan
e302797337 Version 1.35.0 2018-10-20 19:47:08 -07:00
Girish Ramakrishnan
d08aae367c Update minio to RELEASE.2018-10-18T00-28-58Z 2018-10-20 19:35:45 -07:00
Girish Ramakrishnan
62f98aba04 Version 1.34.0 2018-10-08 09:32:55 -07:00
Girish Ramakrishnan
7ddffa93d8 Update minio to 2018-10-06T00-15-16Z 2018-10-08 09:28:40 -07:00
Girish Ramakrishnan
cb3a01ee8f Use latest base image 2018-10-08 09:28:21 -07:00
Girish Ramakrishnan
bc9e1ffcb6 Version 1.33.0 2018-10-05 09:49:00 -07:00
Girish Ramakrishnan
7cf2ff1d0d Update minio to 2018-10-05T01-03-03Z 2018-10-05 09:41:51 -07:00
Girish Ramakrishnan
8a6828eb3f Version 1.32.0 2018-10-04 11:34:46 -07:00
Girish Ramakrishnan
a85debccc3 Update minio to 2018-09-25T21-34-43Z 2018-10-04 11:29:16 -07:00
9 changed files with 1304 additions and 670 deletions

185
CHANGELOG
View File

@@ -220,3 +220,188 @@
[1.31.0]
* Update minio to 2018-09-12T18-49-56Z
[1.32.0]
* Update minio to 2018-09-25T21-34-43Z
[1.33.0]
* Update minio to 2018-10-05T01-03-03Z
[1.34.0]
* Update minio to 2018-10-06T00-15-16Z
* Use latest base image
[1.35.0]
* Update minio to 2018-10-18T00-28-58Z
[1.36.0]
* Update minio to 2018-10-25T01-27-03Z
[1.37.0]
* Update minio to 2018-11-06T01-01-02Z
[1.38.0]
* Update minio to 2018-11-17T01-23-48Z
[1.39.0]
* Update minio to 2018-11-30T03-56-59Z
[1.40.0]
* Update minio to 2018-12-06T01-27-43Z
[1.41.0]
* Update minio to 2018-12-13T02-04-19Z
[1.42.0]
* Update minio to 2018-12-19T23-46-24Z
[1.43.0]
* Update minio to 2018-12-27T18-33-08Z
[1.44.0]
* Update minio to 2019-01-16T21-44-08Z
[1.45.0]
* Update minio to 2019-01-23T23-18-58Z
[1.46.0]
* Update minio to 2019-01-31T00-31-19Z
[1.47.0]
* Update minio to 2019-02-06T21-16-36Z
[1.48.0]
* Update minio to 2019-02-12T21-58-47Z
[1.49.0]
* Update minio to 2019-02-14T00-21-45Z
[1.50.0]
* Update minio to 2019-02-20T22-44-29Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2019-02-20T22-44-29Z)
* Security Fix: Incoming requests with unusual behavior are now validated.Please see here for more details. Upgrade is recommended.
* Simplified and fixed vault token renewal. See #7241 for details.
* Added support for HTTP/2.0 in Minio Server. See #7204 for details.
[1.51.0]
* Update minio to 2019-02-26T19-51-46Z
* Bug fixes in various areas such as json & csv handling.
* s3: Encode StartAfter when encoding type is passed (#7281) (02/25/19)
* s3: Add support of encodingType parameter (#7265) (02/24/19)
[1.52.0]
* Update minio to 2019-03-06T22-47-10Z
* Added support for temporary credentials for minio users via AssumeRole API. See here for details.
* Miscellaneous bugfix improvements in areas such as snappy compression, copyobjectpart, listobjects performance and detecting mountpoints.
[1.53.0]
* Update minio to 2019-03-13T21-59-47Z
* Miscellaneous improvements in various areas such as healing, S3Select, http2, etcd & coreDNS integrations.
[1.54.0]
* Update minio to 2019-03-20T22-38-47Z
[1.55.0]
* Update minio to 2019-03-27T22-35-21Z
[1.56.0]
* Update miniot to 2019-04-04T18-31-46Z
* (security) fix privilege escalation against inter-node communication
* (security) Validate if bucket names are internal
* canonicalize ETag correctly
[1.57.0]
* Update minio to 2019-04-09T01-22-30Z
[1.58.0]
* Update minio to 2019-04-18T21-44-59Z
[1.59.0]
* Update minio to 2019-04-23T23-50-36Z
[1.60.0]
* Update minio to 2019-05-02T19-07-09Z
[1.61.0]
* Update minio to 2019-05-14T23-57-45Z
[1.62.0]
* Update minio to 2019-05-23T00-29-34Z
[1.63.0]
* Update minio to 2019-06-01T03-46-14Z
[1.64.0]
* Update minio to 2019-06-04T01-15-58Z
[1.65.0]
* Update minio to 2019-06-11T00-44-33Z
[1.66.0]
* Update minio to 2019-06-15T23-07-18Z
[1.67.0]
* Update minio to 2019-06-19T18-24-42Z
[1.68.0]
* Update minio to 2019-06-27T21-13-50Z
[1.69.0]
* Update minio to 2019-07-05T21-20-21Z
[1.70.0]
* Update minio to 2019-07-10T00-34-56Z
[1.71.0]
* Update minio to 2019-07-17T22-54-12Z
[1.72.0]
* Update minio to 2019-07-24T02-02-23Z
[1.73.0]
* Update minio to 2019-08-01T22-18-54Z
[1.74.0]
* Update minio to 2019-08-07T01-59-21Z
[1.75.0]
* Update minio to 2019-08-14T20-37-41Z
[1.76.0]
* Update minio to 2019-08-21T19-40-07Z
[1.77.0]
* Update minio to 2019-08-29T00-25-01Z
[1.78.0]
* Update minio to 2019-09-05T23-24-38Z
[1.79.0]
* Update minio to 2019-09-11T19-53-16Z
[1.80.0]
* Update minio to 2019-09-18T21-55-05Z
[1.81.0]
* Update minio to 2019-09-25T18-25-51Z
[1.82.0]
* Update minio to 2019-09-26T19-42-35Z
[1.83.0]
* Update minio to 2019-10-02T21-19-38Z
[1.84.0]
* Update minio to 2019-10-11T00-38-09Z
[1.85.0]
* Update minio to 2019-10-12T01-39-57Z
[1.86.0]
* Update minio to 2019-12-19T22-52-26Z
[1.87.0]
* Update minio to 2019-12-30T05-45-39Z
[1.88.0]
* Update minio to 2020-01-03T19-12-21Z

View File

@@ -5,15 +5,15 @@
"description": "file://DESCRIPTION.md",
"changelog": "file://CHANGELOG",
"tagline": "Distributed object storage",
"version": "1.31.0",
"version": "1.88.0",
"healthCheckPath": "/minio/login",
"httpPort": 8000,
"addons": {
"localstorage": {}
},
"manifestVersion": 1,
"manifestVersion": 2,
"website": "http://www.minio.io",
"minBoxVersion": "1.8.1",
"minBoxVersion": "4.1.4",
"documentationUrl": "https://cloudron.io/documentation/apps/minio/",
"contactEmail": "support@cloudron.io",
"icon": "logo.png",

View File

@@ -1,4 +1,4 @@
This app packages Minio <upstream>2018-09-12T18-49-56Z</upstream>.
This app packages Minio <upstream>2020-01-03T19-12-21Z</upstream>.
Minio is a distributed object storage server built for cloud applications and devops.

View File

@@ -1,9 +1,9 @@
FROM cloudron/base:0.10.0
FROM cloudron/base:1.0.0@sha256:147a648a068a2e746644746bbfb42eb7a50d682437cead3c67c933c546357617
EXPOSE 8000
ARG VERSION=RELEASE.2020-01-03T19-12-21Z
RUN mkdir -p /app/code \
&& wget https://dl.minio.io/server/minio/release/linux-amd64/minio.RELEASE.2018-09-12T18-49-56Z -O /app/code/minio \
&& wget https://dl.minio.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio \
&& chmod +x /app/code/minio
WORKDIR /app/code

View File

@@ -1,5 +1,5 @@
{
"version": "10",
"version": "33",
"credential": {
"accessKey": "admin",
"secretKey": "secretkey"
@@ -9,67 +9,6 @@
"console": {
"enable": true,
"level": "error"
},
"file": {
"enable": false,
"fileName": "",
"level": ""
}
},
"notify": {
"amqp": {
"1": {
"enable": false,
"url": "",
"exchange": "",
"routingKey": "",
"exchangeType": "",
"mandatory": false,
"immediate": false,
"durable": false,
"internal": false,
"noWait": false,
"autoDeleted": false
}
},
"nats": {
"1": {
"enable": false,
"address": "",
"subject": "",
"username": "",
"password": "",
"token": "",
"secure": false,
"pingInterval": 0
}
},
"elasticsearch": {
"1": {
"enable": false,
"url": "",
"index": ""
}
},
"redis": {
"1": {
"enable": false,
"address": "",
"password": "",
"key": ""
}
},
"postgresql": {
"1": {
"enable": false,
"connectionString": "",
"table": "",
"host": "",
"port": "",
"user": "",
"password": "",
"database": ""
}
}
}
}

View File

@@ -2,12 +2,16 @@
set -eu
mkdir -p /app/data/data /app/data/config
mkdir -p /app/data/data /app/data/certs /app/data/config
if ! [ -f /app/data/config/config.json ]; then
cp /app/code/config.json /app/data/config/config.json
fi
exec ./minio server -C /app/data/config --address :8000 /app/data/data
echo "Changing ownership"
chown -R cloudron:cloudron /app/data
echo "Starting minio"
exec /usr/local/bin/gosu cloudron:cloudron /app/code/minio server --config-dir /app/data/config --certs-dir /app/data/certs --address :8000 /app/data/data

1661
test/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -9,14 +9,14 @@
"author": "",
"license": "ISC",
"dependencies": {
"chromedriver": "^2.36.0",
"ejs": "^2.4.2",
"chromedriver": "^79.0.0",
"ejs": "^3.0.1",
"expect.js": "^0.3.1",
"mkdirp": "^0.5.1",
"mocha": "^2.5.3",
"rimraf": "^2.5.3",
"selenium-server-standalone-jar": "^2.53.1",
"selenium-webdriver": "^2.53.3",
"superagent": "^1.4.0"
"mocha": "^6.2.2",
"rimraf": "^3.0.0",
"selenium-server-standalone-jar": "^3.141.59",
"selenium-webdriver": "^3.6.0",
"superagent": "^5.1.3"
}
}

View File

@@ -9,8 +9,10 @@ var execSync = require('child_process').execSync,
path = require('path'),
webdriver = require('selenium-webdriver');
var by = webdriver.By,
until = webdriver.until;
var by = require('selenium-webdriver').By,
until = require('selenium-webdriver').until,
Key = require('selenium-webdriver').Key,
Builder = require('selenium-webdriver').Builder;
var accessKey = 'admin',
secretKey = 'secretkey';
@@ -23,8 +25,7 @@ process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
describe('Application life cycle test', function () {
this.timeout(0);
var chrome = require('selenium-webdriver/chrome');
var server, browser = new chrome.Driver();
var server, browser = new Builder().forBrowser('chrome').build();
before(function (done) {
var seleniumJar= require('selenium-server-standalone-jar');
@@ -95,13 +96,15 @@ describe('Application life cycle test', function () {
browser.get('https://' + app.fqdn);
pageLoaded().then(function () {
return visible(by.className('fa fa-plus'));
return visible(by.className('fa-plus'));
}).then(function () {
return browser.findElement(by.className('fa fa-plus')).click();
return browser.findElement(by.className('fa-plus')).click();
}).then(function () {
return visible(by.className('fa fa-hdd-o'));
const c = 'fa-hdd';
return visible(by.className(c));
}).then(function () {
return browser.findElement(by.className('fa fa-hdd-o')).click();
const c = 'fa-hdd';
return browser.findElement(by.className(c)).click();
}).then(function () {
return visible(by.xpath('//*[@class="modal-body"]/form/div/input'));
}).then(function () {
@@ -148,7 +151,7 @@ describe('Application life cycle test', function () {
});
it('install app', function () {
execSync('cloudron install --new --wait --location ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
execSync('cloudron install --location ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
});
it('can get app information', function () {
@@ -165,7 +168,7 @@ describe('Application life cycle test', function () {
it('can logout', logout);
it('can restart app', function (done) {
execSync('cloudron restart --wait');
execSync('cloudron restart');
done();
});
@@ -188,7 +191,7 @@ describe('Application life cycle test', function () {
it('move to different location', function () {
browser.manage().deleteAllCookies();
execSync('cloudron configure --wait --location ' + LOCATION + '2', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
execSync('cloudron configure --location ' + LOCATION + '2', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
var inspect = JSON.parse(execSync('cloudron inspect'));
app = inspect.apps.filter(function (a) { return a.location === LOCATION + '2'; })[0];
expect(app).to.be.an('object');
@@ -204,7 +207,7 @@ describe('Application life cycle test', function () {
// test update
it('can install app', function () {
execSync('cloudron install --new --wait --appstore-id io.minio.cloudronapp --location ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
execSync('cloudron install --appstore-id io.minio.cloudronapp --location ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
var inspect = JSON.parse(execSync('cloudron inspect'));
app = inspect.apps.filter(function (a) { return a.location === LOCATION; })[0];
expect(app).to.be.an('object');
@@ -214,7 +217,7 @@ describe('Application life cycle test', function () {
it('can add buckets', addBucket);
it('can logout', logout);
it('can update', function () {
execSync('cloudron install --wait --app ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
execSync('cloudron update --app ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
});
it('can login', login);
it('has bucket', checkBucket);