mirror of
https://git.cloudron.io/cloudron/minio-app
synced 2025-09-13 08:19:12 +00:00
Compare commits
92 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
43bde46b81 | ||
|
b44db98e35 | ||
|
52221cca35 | ||
|
ea4dfaccf3 | ||
|
bbcfa6b84e | ||
|
19866198e1 | ||
|
87c4917e82 | ||
|
0f0c70fe95 | ||
|
17670769fa | ||
|
038ebcd485 | ||
|
69894610e9 | ||
|
38d81367d3 | ||
|
8bfac72b10 | ||
|
6e0cf2f9d8 | ||
|
fd48a26065 | ||
|
ef398fbdeb | ||
|
fb570b0256 | ||
|
e2a4a1b594 | ||
|
242ca7052b | ||
|
ecfd75afd1 | ||
|
6ac4576a7f | ||
|
635924b0e5 | ||
|
bcde4b30d6 | ||
|
e0a5ac3fe2 | ||
|
7ec1c63a02 | ||
|
9cefaa80be | ||
|
09e82cd3e3 | ||
|
f75118e15a | ||
|
4f5fadaa8a | ||
|
42ecaf8662 | ||
|
7fb6950cab | ||
|
d952670c20 | ||
|
8239fd8ade | ||
|
41644f3c54 | ||
|
31da17a3e1 | ||
|
9a9a8b0b13 | ||
|
ab05d0a834 | ||
|
e0db747a08 | ||
|
eb0b1f9e79 | ||
|
d556596770 | ||
|
d6654f7e72 | ||
|
9e5494c2f4 | ||
|
042424145e | ||
|
f20ff8beba | ||
|
46eca06f85 | ||
|
060c0d0b9e | ||
|
1d94015a6d | ||
|
6158eb4dfb | ||
|
bb429dce76 | ||
|
9905f1ea9e | ||
|
9695742134 | ||
|
4dc7f3e9fc | ||
|
9acfaf24b2 | ||
|
453ff9f199 | ||
|
c8ca9511e0 | ||
|
5df913be43 | ||
|
b1a1791d4e | ||
|
ac2c9c41fc | ||
|
c0467b9eb6 | ||
|
824337583f | ||
|
99c29a629b | ||
|
4b5422208c | ||
|
3a7bdd5e39 | ||
|
2fd201cb32 | ||
|
12e40b8e6a | ||
|
e6901e02ff | ||
|
958a954c07 | ||
|
901d877b5f | ||
|
acc5e3c6be | ||
|
c17b207a70 | ||
|
0e681b6b1a | ||
|
0bfd368aa2 | ||
|
94abf5cd3e | ||
|
9a9b0588ae | ||
|
92a30fdd7c | ||
|
07f1df3a20 | ||
|
b624d6775c | ||
|
330f186821 | ||
|
72224538ea | ||
|
fb1f583f4c | ||
|
5699a05783 | ||
|
64222e227e | ||
|
8f7a046554 | ||
|
3717901b12 | ||
|
85f4a808be | ||
|
9d1b7e1a9d | ||
|
9bea0cc891 | ||
|
557a8acd3d | ||
|
fb1db2809a | ||
|
7fcfa2d793 | ||
|
2e71a424d6 | ||
|
d5ed478302 |
222
CHANGELOG
222
CHANGELOG
@@ -2516,3 +2516,225 @@ Improve replication performance. See (#12080, #12054, #12009) for more details.
|
|||||||
* fix: a crash in RemoveReplication target by @harshavardhana in #19640
|
* fix: a crash in RemoveReplication target by @harshavardhana in #19640
|
||||||
* ilm: Handle DeleteAllVersions action differently for DEL markers by @krisis in #19481
|
* ilm: Handle DeleteAllVersions action differently for DEL markers by @krisis in #19481
|
||||||
|
|
||||||
|
[3.13.14]
|
||||||
|
* Update minio to 2024-05-07T06-41-25Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-05-07T06-41-25Z)
|
||||||
|
* Fix --stfp "mac-algos=..." overwrites cipher algorithms by @klauspost in #19643
|
||||||
|
* enhance ListSVCs() API to return more info to avoid InfoSvc() by @harshavardhana in #19642
|
||||||
|
* Wait one minute after startup to restart decommissioning by @klauspost in #19645
|
||||||
|
* add logrotate support for MinIO logs by @harshavardhana in #19641
|
||||||
|
* Return listing when exceeding min disk errors by @klauspost in #19644
|
||||||
|
* fix: Filter out cust. AssumeRole Token for audit by @donatello in #19646
|
||||||
|
* support compression after rotation of logs by @harshavardhana in #19647
|
||||||
|
* Add cluster IAM metrics in metrics-v3 by @balamurugana in #19595
|
||||||
|
* Use better gzip for log rotate by @klauspost in #19651
|
||||||
|
* Change endpoint format for per-bucket metrics by @anjalshireesh in #19655
|
||||||
|
* replication: Avoid proxying if requested object is a deletemarker by @poornas in #19656
|
||||||
|
* With retention, skip actions expiring all versions by @krisis in #19657
|
||||||
|
* extend server config.yaml to support per pool set drive count by @harshavardhana in #19663
|
||||||
|
* Fix Walk missing entries with opts.Marker set by @klauspost in #19661
|
||||||
|
* avoid using 10MiB EC buffers in maxAPI calculations by @harshavardhana in #19665
|
||||||
|
* turn-off coloring if we have std{err,out} dumb terminals by @harshavardhana in #19667
|
||||||
|
* add support for specific error response for InvalidRange by @harshavardhana in #19668
|
||||||
|
* support 'mc support perf object' with root login disabled by @harshavardhana in #19672
|
||||||
|
* fix: Ignore AWSAccessKeyId check for SignV2 policy condition by @jiuker in #19673
|
||||||
|
* Make WalkDir return errors by @klauspost in #19677
|
||||||
|
* support ETag value to be '*' by @harshavardhana in #19682
|
||||||
|
* Update Console version to v1.4.0 by @bexsoft in #19684
|
||||||
|
* Set Console Redirect URL env variable by @cesnietor in #19683
|
||||||
|
* fix: collect quorum errors for deletePrefix() by @harshavardhana in #19685
|
||||||
|
* Support user certificate based authentication on SFTP by @olljanat in #19650
|
||||||
|
|
||||||
|
[3.13.15]
|
||||||
|
* Update minio to 2024-05-10T01-41-38Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-05-10T01-41-38Z)
|
||||||
|
* fix: unexpected credentials missing while passing (05/09/24)
|
||||||
|
* remove references for MINIO_SERVER_URL (05/09/24)
|
||||||
|
* add log-prefix name for specifying custom log-name (#19712) (05/09/24)
|
||||||
|
* Revert "Fix incorrect merging of slash-suffixed objects (#19699)" (05/09/24)
|
||||||
|
* fix: truncate Expiration to second when Add ServiceAccount (#19674) (05/10/24)
|
||||||
|
* Fix incorrect merging of slash-suffixed objects (#19699) (05/09/24)
|
||||||
|
* deprecate unexpected healing failed counters (#19705) (05/09/24)
|
||||||
|
* pass around correct endpoint while registering remote storage (#19710) (05/09/24)
|
||||||
|
* ldap-import: Add additional logs (#19691) (05/09/24)
|
||||||
|
* results must be a single channel to avoid overwriting healing.bin (#19702) (05/09/24)
|
||||||
|
* chore: use errors.New to replace fmt.Errorf with no parameters (#19568) (05/09/24)
|
||||||
|
* upgrade to go1.22.x (05/09/24)
|
||||||
|
* allow caller context during reloads() to cancel (#19687) (05/08/24)
|
||||||
|
* grid: Fix a window of a disconnected node not marked as offline (#19703) (05/09/24)
|
||||||
|
* Accept multipart checksums with part count (#19680) (05/08/24)
|
||||||
|
* kms: add support for MinKMS and remove some unused/broken code (#19368) (05/08/24)
|
||||||
|
* return appropriate error upon reaching maxClients() (#19669) (05/07/24)
|
||||||
|
|
||||||
|
[3.13.16]
|
||||||
|
* Update minio to 2024-05-27T19-17-46Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-05-27T19-17-46Z)
|
||||||
|
* Major optimization in handling hung network disconnects, and related tests and hardening added #19719, #19605, #19741
|
||||||
|
* Fix a medium CVE for information disclosure - during GETs with conditional headers such as If-modified-since, if-unmodified-since #19810
|
||||||
|
|
||||||
|
[3.13.17]
|
||||||
|
* Update minio to 2024-05-28T17-19-04Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-05-28T17-19-04Z)
|
||||||
|
|
||||||
|
[3.13.18]
|
||||||
|
* Update minio to 2024-06-04T19-20-08Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-06-04T19-20-08Z)
|
||||||
|
|
||||||
|
[3.13.19]
|
||||||
|
* Update minio to 2024-06-06T09-36-42Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-06-06T09-36-42Z)
|
||||||
|
|
||||||
|
[3.13.20]
|
||||||
|
* Update minio to 2024-06-11T03-13-30Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-06-11T03-13-30Z)
|
||||||
|
* Disable caching of encrypted objects by @klauspost in #19890
|
||||||
|
* Calculate correct object size while replication by @shtripat in #19888
|
||||||
|
* Don't tier directory objects by @krisis in #19891
|
||||||
|
* Update docker build script to pull all changes by @donatello in #19892
|
||||||
|
* Two way streams fixes - take 2 by @klauspost in #19796
|
||||||
|
|
||||||
|
[3.13.21]
|
||||||
|
* Update minio to 2024-06-13T22-53-53Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-06-13T22-53-53Z)
|
||||||
|
|
||||||
|
[3.13.22]
|
||||||
|
* Update minio to 2024-06-22T05-26-45Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-06-22T05-26-45Z)
|
||||||
|
|
||||||
|
[3.13.23]
|
||||||
|
* Update minio to 2024-06-26T01-06-18Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-06-26T01-06-18Z)
|
||||||
|
|
||||||
|
[3.13.24]
|
||||||
|
* Update minio to 2024-06-28T09-06-49Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-06-28T09-06-49Z)
|
||||||
|
|
||||||
|
[3.13.25]
|
||||||
|
* Update minio to 2024-06-29T01-20-47Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-06-29T01-20-47Z)
|
||||||
|
|
||||||
|
[3.13.26]
|
||||||
|
* Update minio to 2024-07-04T14-25-45Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-07-04T14-25-45Z)
|
||||||
|
|
||||||
|
[3.13.27]
|
||||||
|
* Update minio to 2024-07-10T18-41-49Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-07-10T18-41-49Z)
|
||||||
|
* Add typos check to Makefile by @vadmeste in #20051
|
||||||
|
* Abstract grid connections by @klauspost in #20038
|
||||||
|
* Fix documentation for removal of delete markers ILM rule by @allanrogerr in #20056
|
||||||
|
* batch: Update job info object on success by @krisis in #20053
|
||||||
|
* Log replication errors once by @shtripat in #20063
|
||||||
|
|
||||||
|
[3.13.28]
|
||||||
|
* Update minio to 2024-07-13T01-46-15Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-07-13T01-46-15Z)
|
||||||
|
|
||||||
|
[3.13.29]
|
||||||
|
* Update minio to 2024-07-15T19-02-30Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-07-15T19-02-30Z)
|
||||||
|
|
||||||
|
[3.13.30]
|
||||||
|
* Update minio to 2024-07-16T23-46-41Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-07-16T23-46-41Z)
|
||||||
|
|
||||||
|
[3.13.31]
|
||||||
|
* Update minio to 2024-07-26T20-48-21Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-07-26T20-48-21Z)
|
||||||
|
|
||||||
|
[3.13.32]
|
||||||
|
* Update minio to 2024-07-29T22-14-52Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-07-29T22-14-52Z)
|
||||||
|
|
||||||
|
[3.13.33]
|
||||||
|
* Update minio to 2024-07-31T05-46-26Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-07-31T05-46-26Z)
|
||||||
|
|
||||||
|
[3.13.34]
|
||||||
|
* Update minio to 2024-08-03T04-33-23Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-08-03T04-33-23Z)
|
||||||
|
|
||||||
|
[3.13.35]
|
||||||
|
* Update minio to 2024-08-17T01-24-54Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-08-17T01-24-54Z)
|
||||||
|
|
||||||
|
[3.13.36]
|
||||||
|
* Update minio to 2024-08-26T15-33-07Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-08-26T15-33-07Z)
|
||||||
|
|
||||||
|
[3.13.37]
|
||||||
|
* Update minio to 2024-08-29T01-40-52Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-08-29T01-40-52Z)
|
||||||
|
* fix: string format when log IAM refresh take over 5s by @jiuker in #20331
|
||||||
|
* when a drive is closed cancel the cleanupTrash goroutine by @harshavardhana in #20337
|
||||||
|
* add more details on the payload sent to webhook audit by @harshavardhana in #20335
|
||||||
|
* bucket-metadata: Reload events/repl-targets for all buckets by @vadmeste in #20334
|
||||||
|
|
||||||
|
[3.13.38]
|
||||||
|
* Update minio to 2024-09-09T16-59-28Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-09-09T16-59-28Z)
|
||||||
|
* Skip non existent ldap entities while import (#20352)
|
||||||
|
* Dont hard error for nonexisting LDAP entries instead of logging them
|
||||||
|
|
||||||
|
[3.13.39]
|
||||||
|
* Update minio to 2024-09-13T20-26-02Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-09-13T20-26-02Z)
|
||||||
|
* PutObject() for multi-pooled was holding large region locks, which was not necessary. This affects almost all slowpoke clients and lengthy uploads.
|
||||||
|
* Re-arrange locks for CompleteMultipart, PutObject to be close to rename()
|
||||||
|
|
||||||
|
[3.14.0]
|
||||||
|
* Update minio to 2024-09-22T00-33-43Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-09-22T00-33-43Z)
|
||||||
|
* Limit S3 Select JSON documents to 10MB by @klauspost in #20439
|
||||||
|
* remove windows CI/CD for now by @harshavardhana in #20441
|
||||||
|
* Fix behavior of AddServiceAccountLDAP for non-admin users by @taran-p in #20442
|
||||||
|
* Added iam import tests for openid by @shtripat in #20432
|
||||||
|
* batch: Set a default retry attempts and a prefix by @vadmeste in #20452
|
||||||
|
* Ensure proper stale_uploads_cleanup_interval is used at all times by @ramondeklein in #20451
|
||||||
|
|
||||||
|
[3.15.0]
|
||||||
|
* Update minio to 2024-10-02T17-50-41Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-10-02T17-50-41Z)
|
||||||
|
* Limit jstream parse depth by @klauspost in #20474
|
||||||
|
* remove the list from 'mc stat' from testing via '--no-list' by @harshavardhana in #20468
|
||||||
|
* cleanup existing part.N's before renamePart() by @harshavardhana in #20466
|
||||||
|
* hold on to batch job stats till cleanup by @poornas in #20480
|
||||||
|
* use absolute path for binary checksum verification by @harshavardhana in #20487
|
||||||
|
* Fix PPC cgroup memory limit by @klauspost in #20488
|
||||||
|
|
||||||
|
[3.15.1]
|
||||||
|
* Update minio to 2024-10-13T13-34-11Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-10-13T13-34-11Z)
|
||||||
|
|
||||||
|
[3.15.2]
|
||||||
|
* Update minio to 2024-10-29T16-01-48Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-10-29T16-01-48Z)
|
||||||
|
* Correct the date filter check for batch replication by @shtripat in https://github.com/minio/minio/pull/20569
|
||||||
|
* Clear omitted fields by @klauspost in https://github.com/minio/minio/pull/20575
|
||||||
|
* Trace ILM errors by @klauspost in https://github.com/minio/minio/pull/20576
|
||||||
|
* Fix ILM expire workers exiting by @klauspost in https://github.com/minio/minio/pull/20578
|
||||||
|
* fix: avoid useless expires value in listing meta by @donatello in https://github.com/minio/minio/pull/20584
|
||||||
|
* heal: Avoid deadline error with very large objects (#140) by @vadmeste in https://github.com/minio/minio/pull/20586
|
||||||
|
* heal: large objects fix and avoid .healing.bin corner case premature exit by @vadmeste in https://github.com/minio/minio/pull/20577
|
||||||
|
* run IAM purge routines deterministically every hr by @donatello in https://github.com/minio/minio/pull/20587
|
||||||
|
|
||||||
|
[3.16.0]
|
||||||
|
* Update Minio to RELEASE.2024-11-07T00-52-20Z
|
||||||
|
* [Full Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-11-07T00-52-20Z)
|
||||||
|
* Update README.md by [@​allanrogerr](https://github.com/allanrogerr) in https://github.com/minio/minio/pull/20599
|
||||||
|
* Remove `expires` field from list objects metadata by [@​donatello](https://github.com/donatello) in https://github.com/minio/minio/pull/20600
|
||||||
|
* add tests for ILM transition and healing ([#​166](https://github.com/minio/minio/issues/166)) by [@​harshavardhana](https://github.com/harshavardhana) in https://github.com/minio/minio/pull/20601
|
||||||
|
* Update console package to v1.7.3 by [@​cesnietor](https://github.com/cesnietor) in https://github.com/minio/minio/pull/20606
|
||||||
|
* Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 by [@​dependabot](https://github.com/dependabot) in https://github.com/minio/minio/pull/20611
|
||||||
|
* Fix msgUnPath crash by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20614
|
||||||
|
* docs: remove redundant prometheus metric by [@​erfantkerfan](https://github.com/erfantkerfan) in https://github.com/minio/minio/pull/20618
|
||||||
|
* decompress audit log properly before sending to remote target by [@​ramondeklein](https://github.com/ramondeklein) in https://github.com/minio/minio/pull/20619
|
||||||
|
* [@​erfantkerfan](https://github.com/erfantkerfan) made their first contribution in https://github.com/minio/minio/pull/20618
|
||||||
|
|
||||||
|
[3.17.0]
|
||||||
|
* Update minio to RELEASE.2024-12-13T22-19-12Z
|
||||||
|
* [Full Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-12-13T22-19-12Z)
|
||||||
|
* Fix lint issues from v1.62.0 upgrade by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20633
|
||||||
|
* Harden internode DeadlineConn by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20631
|
||||||
|
* Make DeadlineConn http.Listener compatible by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20635
|
||||||
|
|
||||||
|
@@ -5,8 +5,8 @@
|
|||||||
"description": "file://DESCRIPTION.md",
|
"description": "file://DESCRIPTION.md",
|
||||||
"changelog": "file://CHANGELOG",
|
"changelog": "file://CHANGELOG",
|
||||||
"tagline": "Distributed object storage",
|
"tagline": "Distributed object storage",
|
||||||
"version": "3.13.13",
|
"version": "3.17.0",
|
||||||
"upstreamVersion": "2024-05-01T01-11-10Z",
|
"upstreamVersion": "RELEASE.2024-12-13T22-19-12Z",
|
||||||
"healthCheckPath": "/minio/login",
|
"healthCheckPath": "/minio/login",
|
||||||
"memoryLimit": 2147483648,
|
"memoryLimit": 2147483648,
|
||||||
"httpPort": 8000,
|
"httpPort": 8000,
|
||||||
@@ -20,7 +20,9 @@
|
|||||||
},
|
},
|
||||||
"addons": {
|
"addons": {
|
||||||
"localstorage": {},
|
"localstorage": {},
|
||||||
"oidc": { "loginRedirectUri": "/oauth_callback" }
|
"oidc": {
|
||||||
|
"loginRedirectUri": "/oauth_callback"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"optionalSso": true,
|
"optionalSso": true,
|
||||||
"manifestVersion": 2,
|
"manifestVersion": 2,
|
||||||
@@ -30,7 +32,12 @@
|
|||||||
"documentationUrl": "https://docs.cloudron.io/apps/minio/",
|
"documentationUrl": "https://docs.cloudron.io/apps/minio/",
|
||||||
"contactEmail": "support@cloudron.io",
|
"contactEmail": "support@cloudron.io",
|
||||||
"icon": "logo.png",
|
"icon": "logo.png",
|
||||||
"tags": [ "storage", "hosting", "s3", "objectstore" ],
|
"tags": [
|
||||||
|
"storage",
|
||||||
|
"hosting",
|
||||||
|
"s3",
|
||||||
|
"objectstore"
|
||||||
|
],
|
||||||
"mediaLinks": [
|
"mediaLinks": [
|
||||||
"https://screenshots.cloudron.io/io.minio.cloudronapp/pic1.png",
|
"https://screenshots.cloudron.io/io.minio.cloudronapp/pic1.png",
|
||||||
"https://screenshots.cloudron.io/io.minio.cloudronapp/pic2.png"
|
"https://screenshots.cloudron.io/io.minio.cloudronapp/pic2.png"
|
||||||
|
10
Dockerfile
10
Dockerfile
@@ -3,12 +3,12 @@ FROM cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768
|
|||||||
RUN mkdir -p /app/code
|
RUN mkdir -p /app/code
|
||||||
WORKDIR /app/code
|
WORKDIR /app/code
|
||||||
|
|
||||||
ARG VERSION=RELEASE.2024-05-01T01-11-10Z
|
# 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/archive/minio.${MINIO_VERSION} -O /app/code/minio && chmod +x /app/code/minio
|
||||||
# RUN wget https://dl.min.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio && chmod +x /app/code/minio
|
|
||||||
RUN wget https://dl.min.io/server/minio/release/linux-amd64/archive/minio.${VERSION} -O /app/code/minio && chmod +x /app/code/minio
|
# Latest CLI
|
||||||
# https://dl.min.io/client/mc/release/linux-amd64/
|
|
||||||
RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc -O /app/code/mc && chmod +x /app/code/mc
|
RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc -O /app/code/mc && chmod +x /app/code/mc
|
||||||
|
|
||||||
COPY env.sh.template start.sh /app/code/
|
COPY env.sh.template start.sh /app/code/
|
||||||
|
4
renovate.json5
Normal file
4
renovate.json5
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": ["local>devops/renovator//default.renovate.json5"]
|
||||||
|
}
|
1179
test/package-lock.json
generated
1179
test/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -9,10 +9,10 @@
|
|||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chromedriver": "^124.0.1",
|
"chromedriver": "^131.0.3",
|
||||||
"expect.js": "^0.3.1",
|
"expect.js": "^0.3.1",
|
||||||
"mocha": "^10.4.0",
|
"mocha": "^11.0.1",
|
||||||
"selenium-webdriver": "^4.20.0",
|
"selenium-webdriver": "^4.27.0",
|
||||||
"superagent": "^9.0.2"
|
"superagent": "^10.1.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
28
test/test.js
28
test/test.js
@@ -1,11 +1,7 @@
|
|||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
|
|
||||||
/* jshint esversion: 8 */
|
/* jshint esversion: 8 */
|
||||||
/* global describe */
|
/* global it, xit, describe, before, after, afterEach */
|
||||||
/* global before */
|
|
||||||
/* global after */
|
|
||||||
/* global it */
|
|
||||||
/* global xit */
|
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
@@ -28,24 +24,38 @@ if (!process.env.USERNAME || !process.env.PASSWORD) {
|
|||||||
describe('Application life cycle test', function () {
|
describe('Application life cycle test', function () {
|
||||||
this.timeout(0);
|
this.timeout(0);
|
||||||
|
|
||||||
const LOCATION = 'test';
|
const LOCATION = process.env.LOCATION || 'test';
|
||||||
const TEST_TIMEOUT = parseInt(process.env.TIMEOUT, 10) || 30000;
|
const TEST_TIMEOUT = parseInt(process.env.TIMEOUT, 10) || 30000;
|
||||||
const BUCKET = 'cloudrontestbucket';
|
const BUCKET = 'cloudrontestbucket';
|
||||||
const EXEC_ARGS = { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' };
|
const EXEC_ARGS = { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' };
|
||||||
|
|
||||||
let browser, app;
|
let browser, app;
|
||||||
let athenticated_by_oidc = false, rootPassword;
|
let athenticated_by_oidc = false, rootPassword;
|
||||||
let username = process.env.USERNAME;
|
const username = process.env.USERNAME;
|
||||||
let password = process.env.PASSWORD;
|
const password = process.env.PASSWORD;
|
||||||
|
|
||||||
before(function () {
|
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 () {
|
after(function () {
|
||||||
browser.quit();
|
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) {
|
async function waitForElement(elem) {
|
||||||
await browser.wait(until.elementLocated(elem), TEST_TIMEOUT);
|
await browser.wait(until.elementLocated(elem), TEST_TIMEOUT);
|
||||||
await browser.wait(until.elementIsVisible(browser.findElement(elem)), TEST_TIMEOUT);
|
await browser.wait(until.elementIsVisible(browser.findElement(elem)), TEST_TIMEOUT);
|
||||||
|
Reference in New Issue
Block a user