1
0
mirror of https://git.cloudron.io/cloudron/minio-app synced 2025-09-05 17:05:10 +00:00

Compare commits

...

58 Commits

Author SHA1 Message Date
Girish Ramakrishnan
440834cf09 Version 1.138.0 2020-09-22 09:56:30 -07:00
Girish Ramakrishnan
05eaf385d5 Update minio to RELEASE.2020-09-21T22-31-59Z 2020-09-22 09:20:12 -07:00
Girish Ramakrishnan
3f27a31f65 Version 1.137.0 2020-09-21 09:58:30 -07:00
Girish Ramakrishnan
fe1e252764 Update minio to RELEASE.2020-09-17T04-49-20Z 2020-09-21 09:28:10 -07:00
Girish Ramakrishnan
6391c53196 Version 1.136.0 2020-09-11 12:45:50 -07:00
Girish Ramakrishnan
4dc37ac1aa do not chown all the time (on update) 2020-09-11 12:34:40 -07:00
Girish Ramakrishnan
fbeaf26fec Update minio to 2020-09-10T22-02-45Z 2020-09-11 12:29:11 -07:00
Girish Ramakrishnan
9d46d755c0 Version 1.135.0 2020-09-10 12:41:07 -07:00
Girish Ramakrishnan
3d3c799657 Update minio to 2020-09-08T23-05-18Z 2020-09-10 12:37:30 -07:00
Girish Ramakrishnan
abf59caf8f Version 1.134.0 2020-09-08 12:43:24 -07:00
Girish Ramakrishnan
38f8c55cc8 Update minio to RELEASE.2020-09-05T07-14-49Z 2020-09-08 12:38:09 -07:00
Girish Ramakrishnan
fb847996cc Version 1.133.0 2020-09-02 20:52:23 -07:00
Girish Ramakrishnan
4399e68b2c Update minio to 2020-09-02T18-19-50Z 2020-09-02 19:51:13 -07:00
Girish Ramakrishnan
ae264cf62f Update minio to 2020-08-27T05-16-20Z 2020-08-27 09:44:47 -07:00
Girish Ramakrishnan
de69bdbb88 Version 1.131.0 2020-08-26 10:13:59 -07:00
Girish Ramakrishnan
cc4c6df171 Update minio to RELEASE.2020-08-26T00-00-49Z 2020-08-26 10:08:07 -07:00
Girish Ramakrishnan
19c99f5ac0 Version 1.130.0 2020-08-25 11:23:53 -07:00
Girish Ramakrishnan
1fe81c8b1f Update screenshot links 2020-08-25 11:13:18 -07:00
Girish Ramakrishnan
f0563df051 Update minio to RELEASE.2020-08-25T00-21-20Z 2020-08-25 11:11:50 -07:00
Girish Ramakrishnan
0f63d156be Version 1.129.0 2020-08-18 15:32:54 -07:00
Girish Ramakrishnan
0003906ab9 Update minio to RELEASE.2020-08-18T19-41-00Z 2020-08-18 15:27:55 -07:00
Girish Ramakrishnan
46f6b579e5 Version 1.128.0 2020-08-13 15:08:54 -07:00
Girish Ramakrishnan
ca1940cece Update minio to RELEASE.2020-08-13T02-39-50Z 2020-08-13 14:59:33 -07:00
Girish Ramakrishnan
85654cc1aa Version 1.127.0 2020-08-10 09:12:20 -07:00
Girish Ramakrishnan
f72de1798f Update minio to 2020-08-08T04-50-06Z 2020-08-10 09:10:40 -07:00
Johannes Zellner
6eb1e7b4b9 Remove trailing space, which might cause in copy'n'paste issue 2020-08-08 16:30:33 +02:00
Girish Ramakrishnan
5e85881327 Version 1.126.0 2020-08-06 11:10:00 -07:00
Girish Ramakrishnan
1784ab0d7f Update minio to 2020-08-05T21-34-13Z 2020-08-06 10:48:38 -07:00
Girish Ramakrishnan
de07f898c6 Version 1.125.0 2020-08-03 09:31:07 -07:00
Girish Ramakrishnan
f0b11f50a5 Update minio to RELEASE.2020-07-31T03-39-05Z 2020-08-03 09:24:29 -07:00
Girish Ramakrishnan
494a408af6 Version 1.124.0 2020-07-28 13:06:05 -07:00
Girish Ramakrishnan
13f98c0ec9 Update minio to RELEASE.2020-07-27T18-37-02Z 2020-07-28 12:05:15 -07:00
Girish Ramakrishnan
310348b307 Version 1.123.0 2020-07-24 22:43:28 -07:00
Girish Ramakrishnan
96fa67400e Update minio to 2020-07-24T22-43-05Z 2020-07-24 22:41:47 -07:00
Girish Ramakrishnan
cdd708e750 Version 1.122.0 2020-07-22 11:25:00 -07:00
Girish Ramakrishnan
4cc9ff1112 Update minio to 2020-07-22T00-26-33Z 2020-07-22 11:19:00 -07:00
Girish Ramakrishnan
989e9102d4 Version 1.121.0 2020-07-21 13:09:20 -07:00
Girish Ramakrishnan
00093d376c Update the restore tesst 2020-07-21 12:58:17 -07:00
Girish Ramakrishnan
9126170c3c Update minio to RELEASE.2020-07-20T02-25-16Z 2020-07-21 12:57:44 -07:00
Johannes Zellner
2848dc79da Bump test deps 2020-07-19 19:44:20 +02:00
Johannes Zellner
5b177d7488 Bump release 2020-07-19 19:43:56 +02:00
Girish Ramakrishnan
d212c71b83 Version 1.119.0 2020-07-14 20:16:26 -07:00
Girish Ramakrishnan
1756fe4dc8 Update minio to RELEASE.2020-07-14T19-14-30Z 2020-07-14 20:10:03 -07:00
Johannes Zellner
3d9cb9f5cc Update test deps 2020-07-13 11:37:19 +02:00
Johannes Zellner
79fcb3ee2e Bump version 2020-07-13 11:36:32 +02:00
Girish Ramakrishnan
5f8c83149e Version 1.117.0 2020-07-02 08:25:21 -07:00
Girish Ramakrishnan
d7bf887392 Fixup tests 2020-07-02 08:19:20 -07:00
Girish Ramakrishnan
6796795bbd Update minio to 2020-07-02T00-15-09Z 2020-07-02 08:17:24 -07:00
Girish Ramakrishnan
4907d117bf Update postinstall 2020-07-02 08:17:08 -07:00
Girish Ramakrishnan
40023c08ab Add forumUrl 2020-07-02 08:14:56 -07:00
Girish Ramakrishnan
a147e0807e Add screenhots 2020-06-22 08:54:06 -07:00
Girish Ramakrishnan
4fd3e8d3ef add screenshots 2020-06-22 08:52:30 -07:00
Girish Ramakrishnan
a81608d939 Update minio to RELEASE.2020-06-22T03-12-50Z 2020-06-22 08:42:07 -07:00
Girish Ramakrishnan
690b82eaf6 Version 1.115.0 2020-06-18 09:00:48 -07:00
Girish Ramakrishnan
5f6a35a428 url has changed 2020-06-18 08:48:24 -07:00
Girish Ramakrishnan
01345ab520 Update minio to RELEASE.2020-06-18T02-23-35Z 2020-06-18 08:45:22 -07:00
Girish Ramakrishnan
1fcd92e537 Version 1.114.0 2020-06-15 08:54:51 -07:00
Girish Ramakrishnan
5a434588e5 Update minio to RELEASE.2020-06-14T18-32-17Z 2020-06-15 08:53:44 -07:00
11 changed files with 715 additions and 266 deletions

179
CHANGELOG
View File

@@ -91,7 +91,7 @@
* Quorum based listing for XL (#5475)
* fs.json file should be closed in CompleteMultipartUpload (#5482)
* simplify storage class validation (#5470)
* Remove stale code from minio server (#5479)
* Remove stale code from minio server (#5479)
[1.8.0]
* Update minio to 2018-03-12T21-25-28Z
@@ -107,7 +107,7 @@
* Support SSE-C multipart source objects in CopyObject (#5603)
* Handle incoming proxy requests ip, scheme (#5591)
* 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]
* Update minio to 2018-03-16T22-52-12Z
@@ -144,7 +144,7 @@
* 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.
* 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]
* Update minio to 2018-05-04T23-13-12Z
@@ -154,7 +154,7 @@
* fs: fix logging by not logging common scenarios (#5882) (05/02/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)
* 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]
* Update minio to 2018-05-11T00-29-24Z
@@ -172,7 +172,7 @@
* Update minio to 2018-06-09T03-43-35Z
[1.21.0]
* Update minio to 2018-06-22T23-48-46Z
* Update minio to 2018-06-22T23-48-46Z
[1.22.0]
* 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)
* Remove ppc64le support from .travis.yml (#6180) (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]
* Update minio to 2018-07-31T02-11-47Z
@@ -305,7 +305,7 @@
[1.56.0]
* 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
* canonicalize ETag correctly
@@ -490,3 +490,168 @@
* Delete dopped parts in multi-part upload. See (#9753) for more details.
* Fix manually passing healing options. See (#9756) for more details.
[1.114.0]
* Update minio to 2020-06-14T18-32-17Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-06-14T18-32-17Z)
* Fixes a regression in timeout for local lockers, See #9828 for more details
[1.115.0]
* Update minio to 2020-06-18T02-23-35Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-06-18T02-23-35Z)
[1.116.0]
* Update minio to 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.

View File

@@ -5,7 +5,7 @@
"description": "file://DESCRIPTION.md",
"changelog": "file://CHANGELOG",
"tagline": "Distributed object storage",
"version": "1.113.0",
"version": "1.138.0",
"healthCheckPath": "/minio/login",
"httpPort": 8000,
"addons": {
@@ -13,16 +13,15 @@
},
"manifestVersion": 2,
"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/",
"contactEmail": "support@cloudron.io",
"icon": "logo.png",
"tags": [
"storage",
"hosting"
],
"tags": [ "storage", "hosting", "s3", "objectstore" ],
"mediaLinks": [
"https://raw.githubusercontent.com/minio/minio/master/docs/screenshots/minio-browser.jpg"
"https://screenshots.cloudron.io/io.minio.cloudronapp/minio-browser-gateway.png",
"https://screenshots.cloudron.io/io.minio.cloudronapp/minio-browser.png"
],
"postInstallMessage": "file://POSTINSTALL.md"
}

View File

@@ -1,4 +1,4 @@
This app packages Minio <upstream>2020-06-03T22-13-49Z</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.

View File

@@ -1,9 +1,9 @@
FROM cloudron/base:2.0.0@sha256:f9fea80513aa7c92fe2e7bf3978b54c8ac5222f47a9a32a7f8833edf0eb5a4f4
ARG VERSION=RELEASE.2020-06-03T22-13-49Z
ARG VERSION=RELEASE.2020-09-21T22-31-59Z
RUN mkdir -p /app/code \
&& wget https://dl.minio.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 \
&& chmod +x /app/code/minio
WORKDIR /app/code

View File

@@ -1,8 +1,7 @@
This application does not integrate with Cloudron authentication.
Please use the following credentials to login:
* AccessKey: `minioadmin`
* SecretKey: `minioadmin`
**Username**: minioadmin<br/>
**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**

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

View File

@@ -4,8 +4,10 @@ set -eu
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"
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
echo "==> Starting minio"

741
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": "^83.0.0",
"ejs": "^3.1.3",
"chromedriver": "^85.0.0",
"ejs": "^3.1.5",
"expect.js": "^0.3.1",
"mkdirp": "^1.0.4",
"mocha": "^7.2.0",
"mocha": "^8.1.3",
"rimraf": "^3.0.2",
"selenium-server-standalone-jar": "^3.141.59",
"selenium-webdriver": "^3.6.0",
"superagent": "^5.2.2"
"superagent": "^6.1.0"
}
}

View File

@@ -78,9 +78,17 @@ describe('Application life cycle test', function () {
}).then(function () {
return browser.findElement(by.id('top-right-menu')).click();
}).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 () {
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 () {
return browser.wait(until.elementLocated(by.id('accessKey')), TEST_TIMEOUT);
}).then(function () {
@@ -181,7 +189,12 @@ describe('Application life cycle test', 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'));
@@ -218,6 +231,8 @@ describe('Application life cycle test', function () {
it('can logout', logout);
it('can update', function () {
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('has bucket', checkBucket);