mirror of
https://git.cloudron.io/cloudron/minio-app
synced 2025-09-13 08:19:12 +00:00
Compare commits
50 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
440834cf09 | ||
|
05eaf385d5 | ||
|
3f27a31f65 | ||
|
fe1e252764 | ||
|
6391c53196 | ||
|
4dc37ac1aa | ||
|
fbeaf26fec | ||
|
9d46d755c0 | ||
|
3d3c799657 | ||
|
abf59caf8f | ||
|
38f8c55cc8 | ||
|
fb847996cc | ||
|
4399e68b2c | ||
|
ae264cf62f | ||
|
de69bdbb88 | ||
|
cc4c6df171 | ||
|
19c99f5ac0 | ||
|
1fe81c8b1f | ||
|
f0563df051 | ||
|
0f63d156be | ||
|
0003906ab9 | ||
|
46f6b579e5 | ||
|
ca1940cece | ||
|
85654cc1aa | ||
|
f72de1798f | ||
|
6eb1e7b4b9 | ||
|
5e85881327 | ||
|
1784ab0d7f | ||
|
de07f898c6 | ||
|
f0b11f50a5 | ||
|
494a408af6 | ||
|
13f98c0ec9 | ||
|
310348b307 | ||
|
96fa67400e | ||
|
cdd708e750 | ||
|
4cc9ff1112 | ||
|
989e9102d4 | ||
|
00093d376c | ||
|
9126170c3c | ||
|
2848dc79da | ||
|
5b177d7488 | ||
|
d212c71b83 | ||
|
1756fe4dc8 | ||
|
3d9cb9f5cc | ||
|
79fcb3ee2e | ||
|
5f8c83149e | ||
|
d7bf887392 | ||
|
6796795bbd | ||
|
4907d117bf | ||
|
40023c08ab |
166
CHANGELOG
166
CHANGELOG
@@ -91,7 +91,7 @@
|
|||||||
* Quorum based listing for XL (#5475)
|
* Quorum based listing for XL (#5475)
|
||||||
* fs.json file should be closed in CompleteMultipartUpload (#5482)
|
* fs.json file should be closed in CompleteMultipartUpload (#5482)
|
||||||
* simplify storage class validation (#5470)
|
* simplify storage class validation (#5470)
|
||||||
* Remove stale code from minio server (#5479)
|
* Remove stale code from minio server (#5479)
|
||||||
|
|
||||||
[1.8.0]
|
[1.8.0]
|
||||||
* Update minio to 2018-03-12T21-25-28Z
|
* Update minio to 2018-03-12T21-25-28Z
|
||||||
@@ -107,7 +107,7 @@
|
|||||||
* Support SSE-C multipart source objects in CopyObject (#5603)
|
* Support SSE-C multipart source objects in CopyObject (#5603)
|
||||||
* Handle incoming proxy requests ip, scheme (#5591)
|
* Handle incoming proxy requests ip, scheme (#5591)
|
||||||
* Make sure to filter out internal metadata (#5601)
|
* Make sure to filter out internal metadata (#5601)
|
||||||
* Use toAPIErrorCode in HeadObject handler when decrypting request fails (#5600)
|
* Use toAPIErrorCode in HeadObject handler when decrypting request fails (#5600)
|
||||||
|
|
||||||
[1.9.0]
|
[1.9.0]
|
||||||
* Update minio to 2018-03-16T22-52-12Z
|
* Update minio to 2018-03-16T22-52-12Z
|
||||||
@@ -144,7 +144,7 @@
|
|||||||
* Remove logging of redundant messages when running Minio server.
|
* Remove logging of redundant messages when running Minio server.
|
||||||
* Upgrading to this release will automatically migrate any erroneous bucket policies to strict S3 compliant bucket policies. Please check all your bucket policies after upgrading to this release.
|
* Upgrading to this release will automatically migrate any erroneous bucket policies to strict S3 compliant bucket policies. Please check all your bucket policies after upgrading to this release.
|
||||||
* Fix s3 compatibility fixes for getBucketLocation,headBucket,deleteBucket (#5842) (04/23/18)
|
* Fix s3 compatibility fixes for getBucketLocation,headBucket,deleteBucket (#5842) (04/23/18)
|
||||||
* Disable "chunked" uploading by the GCS client for objects smaller than the chunk size. (#5835) (04/20/18)
|
* Disable "chunked" uploading by the GCS client for objects smaller than the chunk size. (#5835) (04/20/18)
|
||||||
|
|
||||||
[1.15.0]
|
[1.15.0]
|
||||||
* Update minio to 2018-05-04T23-13-12Z
|
* Update minio to 2018-05-04T23-13-12Z
|
||||||
@@ -154,7 +154,7 @@
|
|||||||
* fs: fix logging by not logging common scenarios (#5882) (05/02/18)
|
* fs: fix logging by not logging common scenarios (#5882) (05/02/18)
|
||||||
* Return NoSuchKey for anonReqs with s3:ListBucket policy (#5876) (05/01/18)
|
* Return NoSuchKey for anonReqs with s3:ListBucket policy (#5876) (05/01/18)
|
||||||
* Remove s3:ListObjects policy action to be in sync with AWS-S3 (#5875) (05/01/18)
|
* Remove s3:ListObjects policy action to be in sync with AWS-S3 (#5875) (05/01/18)
|
||||||
* Copy an object without user-defined metadata for Azure gateway (#5872) (05/02/18)
|
* Copy an object without user-defined metadata for Azure gateway (#5872) (05/02/18)
|
||||||
|
|
||||||
[1.16.0]
|
[1.16.0]
|
||||||
* Update minio to 2018-05-11T00-29-24Z
|
* Update minio to 2018-05-11T00-29-24Z
|
||||||
@@ -172,7 +172,7 @@
|
|||||||
* Update minio to 2018-06-09T03-43-35Z
|
* Update minio to 2018-06-09T03-43-35Z
|
||||||
|
|
||||||
[1.21.0]
|
[1.21.0]
|
||||||
* Update minio to 2018-06-22T23-48-46Z
|
* Update minio to 2018-06-22T23-48-46Z
|
||||||
|
|
||||||
[1.22.0]
|
[1.22.0]
|
||||||
* Update minio to 2018-06-29T02-11-29Z
|
* Update minio to 2018-06-29T02-11-29Z
|
||||||
@@ -197,7 +197,7 @@
|
|||||||
* Log x-amz-request-id as log and XML error response (#6173) (07/20/18)
|
* Log x-amz-request-id as log and XML error response (#6173) (07/20/18)
|
||||||
* Remove ppc64le support from .travis.yml (#6180) (07/20/18)
|
* Remove ppc64le support from .travis.yml (#6180) (07/20/18)
|
||||||
* Remove unused functions and constants (#6175) (07/20/18)
|
* Remove unused functions and constants (#6175) (07/20/18)
|
||||||
* Do not trace HTTP body of PostPolicyBuckethandler (#6177) (07/20/18)
|
* Do not trace HTTP body of PostPolicyBuckethandler (#6177) (07/20/18)
|
||||||
|
|
||||||
[1.25.0]
|
[1.25.0]
|
||||||
* Update minio to 2018-07-31T02-11-47Z
|
* Update minio to 2018-07-31T02-11-47Z
|
||||||
@@ -305,7 +305,7 @@
|
|||||||
|
|
||||||
[1.56.0]
|
[1.56.0]
|
||||||
* Update miniot to 2019-04-04T18-31-46Z
|
* Update miniot to 2019-04-04T18-31-46Z
|
||||||
* (security) fix privilege escalation against inter-node communication
|
* (security) fix privilege escalation against inter-node communication
|
||||||
* (security) Validate if bucket names are internal
|
* (security) Validate if bucket names are internal
|
||||||
* canonicalize ETag correctly
|
* canonicalize ETag correctly
|
||||||
|
|
||||||
@@ -503,3 +503,155 @@
|
|||||||
* Update minio to 2020-06-22T03-12-50Z
|
* Update minio to 2020-06-22T03-12-50Z
|
||||||
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-06-22T03-12-50Z)
|
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-06-22T03-12-50Z)
|
||||||
|
|
||||||
|
[1.117.0]
|
||||||
|
* Update minio to 2020-07-02T00-15-09Z
|
||||||
|
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-07-02T00-15-09Z)
|
||||||
|
* fix: readiness needs to be like liveness. See (#9941) for more details.
|
||||||
|
* Allow optionally to disable range caching. See (#9908) for more details.
|
||||||
|
* Simplify background heal and trigger heal items early. See (#9928) for more details.
|
||||||
|
* update gorilla deps for query parsing performance improvements. See (#9929) for more details.
|
||||||
|
* Improvements to online status. See (#9858, #9808) for more details.
|
||||||
|
* pop entries from each drives in parallel. See (#9918) for more details.
|
||||||
|
|
||||||
|
[1.118.0]
|
||||||
|
* Update minio to 2020-07-12T19-14-17Z
|
||||||
|
* Avoid startup lock-up when nodes are coming online, fixes an issue with healthcheck routine which ended up reusing a downed client resulting in pereptual offline of that node - see #10026 for more details.
|
||||||
|
* Finally fix the CORS regression introduced by incompatible usage after gorilla/mux update
|
||||||
|
* fix: avoid broken link when preview image (#10021) (07/12/20) (Harshavardhana)
|
||||||
|
* fix: cors handling again for not just OPTIONS request (#10025) (07/12/20) (Harshavardhana)
|
||||||
|
* fix: make sure to use new restClient for healthcheck (#10026) (07/11/20) (Harshavardhana)
|
||||||
|
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-07-12T19-14-17Z)
|
||||||
|
|
||||||
|
[1.119.0]
|
||||||
|
* Update minio to 2020-07-14T19-14-30Z
|
||||||
|
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-07-14T19-14-30Z)
|
||||||
|
* Handle array policies in JWT claim. See (#10041) for more details.
|
||||||
|
* admin info was not correct in certain situations when nodes are offline, was also loosing information - this release fixes this - see #10015
|
||||||
|
|
||||||
|
[1.120.0]
|
||||||
|
* Update minio to 2020-07-18T18-48-16Z
|
||||||
|
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-07-18T18-48-16Z)
|
||||||
|
* Multiple disk healing related bug fixes are available in this release related PRs #10076, #10073, #10069, #10058
|
||||||
|
* Federated setups now automatically figure out the online server to proxy the requests to.
|
||||||
|
* S3 BucketLifecycle API compatibility fixes.
|
||||||
|
* Quota checks now run continously piggy backing on the crawler.
|
||||||
|
|
||||||
|
[1.121.0]
|
||||||
|
* Update minio to 2020-07-20T02-25-16Z
|
||||||
|
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-07-20T02-25-16Z)
|
||||||
|
* SSE-C key rotation issue in CopyObject caused by a compatibility fix in previous release, refer #10085
|
||||||
|
* Lifecycle AWS S3 API compatibility fixes #10083 #10084
|
||||||
|
* Change TCP timeouts for incoming connections, internode is kept aggressive as necessary.
|
||||||
|
|
||||||
|
[1.122.0]
|
||||||
|
* Update minio to 2020-07-22T00-26-33Z
|
||||||
|
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-07-22T00-26-33Z)
|
||||||
|
|
||||||
|
[1.123.0]
|
||||||
|
* Update minio to 2020-07-24T22-43-05Z
|
||||||
|
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-07-24T22-43-05Z)
|
||||||
|
* Fixes a regression in bucket usage metrics to remove double counting, see #10126
|
||||||
|
* Add additional CORS such as Content-Encoding to be allowed as part of CORS requests, see #10124
|
||||||
|
* Quota validation is more aggressive, to enforce quotas quickly, see #10127
|
||||||
|
* Handle sudden removal of disks for on-going I/O, errors were not handled appropriately, see #10128
|
||||||
|
|
||||||
|
[1.124.0]
|
||||||
|
* Update minio to RELEASE.2020-07-27T18-37-02Z
|
||||||
|
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-07-27T18-37-02Z)
|
||||||
|
* Add missing Content-Disposition to CORS Handler. See (#10137) for more details.
|
||||||
|
* Browser: Enforce bucket quota in the case of browser uploads. See (#10129) for more details.
|
||||||
|
* Simplify JWKS decoding in OPenID. See (#10119) for more details.
|
||||||
|
* Fix gateway walk implementation to list correctly. See (#10131) for more details.
|
||||||
|
* Allow shareable URLs using rotating creds. See (#10135) for more details.
|
||||||
|
|
||||||
|
[1.125.0]
|
||||||
|
* Update minio to 2020-07-31T03-39-05Z
|
||||||
|
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-07-31T03-39-05Z)
|
||||||
|
* Improvements to OBD tests. See (#10141) for more details.
|
||||||
|
* Rename replication target handler. See (#10154, #10142) for more details.
|
||||||
|
* Turn off bucket usage metrics in Gateway mode. See (#10150) for more details.
|
||||||
|
* Fix: Do not enforce policy claim if OPA is set. See (#10149) for more details.
|
||||||
|
* Fix: Cache validation for offline drives. See (#10146) for more details.
|
||||||
|
* Fix: avoid buffering of server sent events by proxies. See (#10164) for more details.
|
||||||
|
* Fix: Pass context all the way down to the network call in lockers. See (#10161) for more details.
|
||||||
|
* Fix: bucket usage metrics update in fs mode. See (#10152) for more details.
|
||||||
|
|
||||||
|
[1.126.0]
|
||||||
|
* Update minio to 2020-08-05T21-34-13Z
|
||||||
|
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-08-05T21-34-13Z)
|
||||||
|
* Fixes an important issue in asymmetric setups standard storage class was miscalcuated, leading to incorrect quorum expectations, make this uniform see #10208
|
||||||
|
|
||||||
|
[1.127.0]
|
||||||
|
* Update minio to 2020-08-08T04-50-06Z
|
||||||
|
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-08-08T04-50-06Z)
|
||||||
|
* Fixes regression in remote ENV parsing to allow for special characters in MinIO secrets, see #10223
|
||||||
|
|
||||||
|
[1.128.0]
|
||||||
|
* Update minio to 2020-08-13T02-39-50Z
|
||||||
|
* [Full changelog](https://github.com/minio/minio/releases/tag//RELEASE.2020-08-13T02-39-50Z)
|
||||||
|
* Security Fix to remove insecure custom headers. See (#10244) for more details.
|
||||||
|
* Web env related improvements. See (#10246, #10251 ) for more details.
|
||||||
|
* Enforce replication in web handler. See (#10249) for more details.
|
||||||
|
* Use correct endpoints for offline drives.
|
||||||
|
|
||||||
|
[1.129.0]
|
||||||
|
* Update minio to 2020-08-18T19-41-00Z
|
||||||
|
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-08-18T19-41-00Z)
|
||||||
|
* Web UI Regression: Set default retention for uploaded objects. See (#10285) for more details.
|
||||||
|
* Single timeout for most locked API/heal ops. See (#10275) for more details.
|
||||||
|
* List common prefixes in ListObjectVersions. See (#10286) for more details.
|
||||||
|
|
||||||
|
[1.130.0]
|
||||||
|
* Update minio to 2020-08-25T00-21-20Z
|
||||||
|
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-08-25T00-21-20Z)
|
||||||
|
|
||||||
|
[1.131.0]
|
||||||
|
* Update minio to 2020-08-26T00-00-49Z
|
||||||
|
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-08-26T00-00-49Z)
|
||||||
|
|
||||||
|
[1.132.0]
|
||||||
|
* Update minio to 2020-08-27T05-16-20Z
|
||||||
|
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-08-27T05-16-20Z)
|
||||||
|
|
||||||
|
[1.133.0]
|
||||||
|
* Update minio to 2020-09-02T18-19-50Z
|
||||||
|
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-09-02T18-19-50Z)
|
||||||
|
* Delete marker compatibility on a version suspended bucket. See (#10395) for more details.
|
||||||
|
* Fix: ListObjectsV1 failure with offline nodes. See (#10386) for more details.
|
||||||
|
* Improvements to healing to check for truncated parts. See (#10399) for more details.
|
||||||
|
* Fix: write quorum calculation for bucket operation when erasure set size is odd. See (#10364) for more details.
|
||||||
|
|
||||||
|
[1.134.0]
|
||||||
|
* Update minio to 2020-09-05T07-14-49Z
|
||||||
|
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-09-05T07-14-49Z)
|
||||||
|
* Listing improvements with parallel disk.Walk calls across many nodes, refer #10420
|
||||||
|
* Context now passed around at storage layer for future context support, refer #10321
|
||||||
|
|
||||||
|
[1.135.0]
|
||||||
|
* Update minio to 2020-09-08T23-05-18Z
|
||||||
|
* Minor integer overflow bug in S3 Select. See (#10437) for more details.
|
||||||
|
* Cleanup temp directory of older entries automatically. See (#10439) for more details.
|
||||||
|
* Remove MaxConnsPerHost settings to avoid potential hangs. See (#10438) for more details.
|
||||||
|
* Ignore config values from unknown subsystems. See (#10432) for more details.
|
||||||
|
|
||||||
|
[1.136.0]
|
||||||
|
* Update minio to 2020-09-10T22-02-45Z
|
||||||
|
* Change permissions only when required
|
||||||
|
|
||||||
|
[1.137.0]
|
||||||
|
* Update minio to 2020-09-17T04-49-20Z
|
||||||
|
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-09-17T04-49-20Z)
|
||||||
|
* fix background disk healing. See (#10502) for more details.
|
||||||
|
* Minor fixes in listing, replication and ilm.
|
||||||
|
|
||||||
|
[1.138.0]
|
||||||
|
* Update minio to 2020-09-21T22-31-59Z
|
||||||
|
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-09-21T22-31-59Z)
|
||||||
|
* Support for "directory" objects. See (#10499) for more details.
|
||||||
|
* Improve performance in listobjectparts and completemultipartupload in FS mode. See (#10522, #10510) for more details.
|
||||||
|
* More fixes in FS mode. See (#10512, #10533) for more details.
|
||||||
|
* Replication improvements. See (#10498, #10525) for more details.
|
||||||
|
* Browser: Support for searching objects. See (#10424) for more details.
|
||||||
|
* Miscellaneous fixes in ilm, healing, obd, and request start time logging. See (#10532, #10530, #10504, #10516) for more details.
|
||||||
|
* Changes related to locks. See (#10509, #10508) for more details.
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
"description": "file://DESCRIPTION.md",
|
"description": "file://DESCRIPTION.md",
|
||||||
"changelog": "file://CHANGELOG",
|
"changelog": "file://CHANGELOG",
|
||||||
"tagline": "Distributed object storage",
|
"tagline": "Distributed object storage",
|
||||||
"version": "1.116.0",
|
"version": "1.138.0",
|
||||||
"healthCheckPath": "/minio/login",
|
"healthCheckPath": "/minio/login",
|
||||||
"httpPort": 8000,
|
"httpPort": 8000,
|
||||||
"addons": {
|
"addons": {
|
||||||
@@ -13,17 +13,15 @@
|
|||||||
},
|
},
|
||||||
"manifestVersion": 2,
|
"manifestVersion": 2,
|
||||||
"website": "http://www.minio.io",
|
"website": "http://www.minio.io",
|
||||||
"minBoxVersion": "4.1.4",
|
"minBoxVersion": "5.3.0",
|
||||||
|
"forumUrl": "https://forum.cloudron.io/category/69/minio",
|
||||||
"documentationUrl": "https://cloudron.io/documentation/apps/minio/",
|
"documentationUrl": "https://cloudron.io/documentation/apps/minio/",
|
||||||
"contactEmail": "support@cloudron.io",
|
"contactEmail": "support@cloudron.io",
|
||||||
"icon": "logo.png",
|
"icon": "logo.png",
|
||||||
"tags": [
|
"tags": [ "storage", "hosting", "s3", "objectstore" ],
|
||||||
"storage",
|
|
||||||
"hosting"
|
|
||||||
],
|
|
||||||
"mediaLinks": [
|
"mediaLinks": [
|
||||||
"https://cloudron-app-screenshots.s3.amazonaws.com/io.minio.cloudronapp/4fd3e8d3ef180ba5c2334790b6e6143f6d367f65/minio-browser-gateway.png",
|
"https://screenshots.cloudron.io/io.minio.cloudronapp/minio-browser-gateway.png",
|
||||||
"https://cloudron-app-screenshots.s3.amazonaws.com/io.minio.cloudronapp/4fd3e8d3ef180ba5c2334790b6e6143f6d367f65/minio-browser.png"
|
"https://screenshots.cloudron.io/io.minio.cloudronapp/minio-browser.png"
|
||||||
],
|
],
|
||||||
"postInstallMessage": "file://POSTINSTALL.md"
|
"postInstallMessage": "file://POSTINSTALL.md"
|
||||||
}
|
}
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
This app packages Minio <upstream>2020-06-22T03-12-50Z</upstream>.
|
This app packages Minio <upstream>2020-09-21T22-31-59Z</upstream>.
|
||||||
|
|
||||||
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.
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
FROM cloudron/base:2.0.0@sha256:f9fea80513aa7c92fe2e7bf3978b54c8ac5222f47a9a32a7f8833edf0eb5a4f4
|
FROM cloudron/base:2.0.0@sha256:f9fea80513aa7c92fe2e7bf3978b54c8ac5222f47a9a32a7f8833edf0eb5a4f4
|
||||||
|
|
||||||
ARG VERSION=RELEASE.2020-06-22T03-12-50Z
|
ARG VERSION=RELEASE.2020-09-21T22-31-59Z
|
||||||
|
|
||||||
RUN mkdir -p /app/code \
|
RUN mkdir -p /app/code \
|
||||||
&& wget https://dl.min.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio \
|
&& wget https://dl.min.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio \
|
||||||
|
@@ -1,8 +1,7 @@
|
|||||||
This application does not integrate with Cloudron authentication.
|
|
||||||
|
|
||||||
Please use the following credentials to login:
|
Please use the following credentials to login:
|
||||||
|
|
||||||
* AccessKey: `minioadmin`
|
**Username**: minioadmin<br/>
|
||||||
* SecretKey: `minioadmin`
|
**Password**: minioadmin<br/>
|
||||||
|
|
||||||
|
Please change the credentials immediately by following this [guide](https://cloudron.io/documentation/apps/minio/#admin-credentials).
|
||||||
|
|
||||||
**Please change the credentials immediately following the docs**
|
|
||||||
|
4
start.sh
4
start.sh
@@ -4,8 +4,10 @@ set -eu
|
|||||||
|
|
||||||
mkdir -p /app/data/data /run/minio/config /run/minio/certs
|
mkdir -p /app/data/data /run/minio/config /run/minio/certs
|
||||||
|
|
||||||
|
# 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"
|
echo "==> Changing ownership"
|
||||||
chown -R cloudron:cloudron /app/data
|
[[ $(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
|
# 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"
|
echo "==> Starting minio"
|
||||||
|
741
test/package-lock.json
generated
741
test/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -9,14 +9,14 @@
|
|||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chromedriver": "^83.0.0",
|
"chromedriver": "^85.0.0",
|
||||||
"ejs": "^3.1.3",
|
"ejs": "^3.1.5",
|
||||||
"expect.js": "^0.3.1",
|
"expect.js": "^0.3.1",
|
||||||
"mkdirp": "^1.0.4",
|
"mkdirp": "^1.0.4",
|
||||||
"mocha": "^7.2.0",
|
"mocha": "^8.1.3",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"selenium-server-standalone-jar": "^3.141.59",
|
"selenium-server-standalone-jar": "^3.141.59",
|
||||||
"selenium-webdriver": "^3.6.0",
|
"selenium-webdriver": "^3.6.0",
|
||||||
"superagent": "^5.2.2"
|
"superagent": "^6.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
21
test/test.js
21
test/test.js
@@ -78,9 +78,17 @@ describe('Application life cycle test', function () {
|
|||||||
}).then(function () {
|
}).then(function () {
|
||||||
return browser.findElement(by.id('top-right-menu')).click();
|
return browser.findElement(by.id('top-right-menu')).click();
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
return visible(by.xpath('//*[text()="Sign Out "]'));
|
if (app.manifest.version === '1.137.0') {
|
||||||
|
return visible(by.xpath('//*[text()="Sign Out "]'));
|
||||||
|
} else {
|
||||||
|
return visible(by.xpath('//*[contains(text(), "Logout")]'));
|
||||||
|
}
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
return browser.findElement(by.xpath('//*[text()="Sign Out "]')).click();
|
if (app.manifest.version === '1.137.0') {
|
||||||
|
return browser.findElement(by.xpath('//*[text()="Sign Out "]')).click();
|
||||||
|
} else {
|
||||||
|
return browser.findElement(by.xpath('//*[contains(text(),"Logout")]')).click();
|
||||||
|
}
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
return browser.wait(until.elementLocated(by.id('accessKey')), TEST_TIMEOUT);
|
return browser.wait(until.elementLocated(by.id('accessKey')), TEST_TIMEOUT);
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
@@ -181,7 +189,12 @@ describe('Application life cycle test', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('restore app', function () {
|
it('restore app', function () {
|
||||||
execSync('cloudron restore --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
const backups = JSON.parse(execSync('cloudron backup list --raw'));
|
||||||
|
execSync('cloudron uninstall --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
||||||
|
execSync('cloudron install --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];
|
||||||
|
execSync(`cloudron restore --backup ${backups[0].id} --app ${app.id}`, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
||||||
});
|
});
|
||||||
|
|
||||||
it('can login', login.bind(null, 'minioakey', 'minioskey'));
|
it('can login', login.bind(null, 'minioakey', 'minioskey'));
|
||||||
@@ -218,6 +231,8 @@ describe('Application life cycle test', function () {
|
|||||||
it('can logout', logout);
|
it('can logout', logout);
|
||||||
it('can update', function () {
|
it('can update', function () {
|
||||||
execSync('cloudron update --app ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
execSync('cloudron update --app ' + 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];
|
||||||
});
|
});
|
||||||
it('can login', login.bind(null, 'minioadmin', 'minioadmin'));
|
it('can login', login.bind(null, 'minioadmin', 'minioadmin'));
|
||||||
it('has bucket', checkBucket);
|
it('has bucket', checkBucket);
|
||||||
|
Reference in New Issue
Block a user