mirror of
https://git.cloudron.io/cloudron/minio-app
synced 2025-09-04 16:25:35 +00:00
Compare commits
55 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
e0f1511552 | ||
|
338371b948 | ||
|
efa30f5115 | ||
|
90fa9036cb | ||
|
15b4ed267b | ||
|
67294dd890 | ||
|
aad0197fff | ||
|
b4a820e079 | ||
|
20cc0c935f | ||
|
b7f575fcf9 | ||
|
7f3a0acab2 | ||
|
6e9d718f4c | ||
|
00b781abe3 | ||
|
4800f84077 | ||
|
d6fc505561 | ||
|
b95c494758 | ||
|
2fc891a5ea | ||
|
f65641edce | ||
|
79b941eb4c | ||
|
f55d0e6b40 | ||
|
2c423db822 | ||
|
a6352ab7d8 | ||
|
01d9c176ce | ||
|
0828f5a2e8 | ||
|
d4341084da | ||
|
a6a23d7023 | ||
|
b3bc027a10 | ||
|
d2a23f97ce | ||
|
d1fa4ee583 | ||
|
3bacd89adc | ||
|
a8805259b5 | ||
|
bcf271abc9 | ||
|
101195f02f | ||
|
bd58749e91 | ||
|
19ff6a62a4 | ||
|
b0d5963549 | ||
|
3d98790d90 | ||
|
a0a9824424 | ||
|
966be1a13e | ||
|
00f3eb3d69 | ||
|
fce20e1783 | ||
|
f18c49de7b | ||
|
7de060613a | ||
|
466dcff1d8 | ||
|
73ebc5b10e | ||
|
352f9250d3 | ||
|
f92fc952af | ||
|
b3b18d1b18 | ||
|
ffedc9db25 | ||
|
d8064088ce | ||
|
695806c300 | ||
|
1a3a0f18b9 | ||
|
f8f48ee71c | ||
|
381c362e84 | ||
|
e064370467 |
184
CHANGELOG
184
CHANGELOG
@@ -1370,4 +1370,188 @@ Improve replication performance. See (#12080, #12054, #12009) for more details.
|
||||
* Update minio to 2022-08-13T21-54-44Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-08-13T21-54-44Z)
|
||||
|
||||
[2.9.0]
|
||||
* Update minio to 2022-08-22T23-53-06Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-08-22T23-53-06Z)
|
||||
* Versioning now supports Idempotent delete markers #15521
|
||||
* Disk IO statistics is now available as real-time monitoring via mc #15512
|
||||
* Replication now more accurately tracks failed replication events #15556
|
||||
|
||||
[2.9.1]
|
||||
* Update minio to 2022-08-25T07-17-05Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-08-25T07-17-05Z)
|
||||
|
||||
[2.9.2]
|
||||
* Update minio to 2022-09-01T23-53-36Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-09-01T23-53-36Z)
|
||||
* improve performance for inlined data by @harshavardhana in #15603
|
||||
* site replication: Avoid returning root svcacct info in sr metadata by @poornas in #15608
|
||||
* Add extended checksum by @klauspost in #15433
|
||||
* audit-log: Add time to get object from remote-tier by @krisis in #15602
|
||||
* Avoid messages from go test output by @vadmeste in #15601
|
||||
* chore: remove duplicate word in comments by @Abirdcfly in #15607
|
||||
* feat: Add healing trace by @klauspost in #15616
|
||||
* Encrypt checksums by @klauspost in #15620
|
||||
* fix: add healing metric type for heal tracing by @harshavardhana in #15631
|
||||
|
||||
[2.9.3]
|
||||
* Update minio to 2022-09-07T22-25-02Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-09-07T22-25-02Z)
|
||||
* avoid printing io.ErrUnexpectedEOF for .metacache objects by @harshavardhana in #15642
|
||||
* do not print object not found errors in MRF healing by @harshavardhana in #15646
|
||||
* fis deadlock caused by unlocking a non-existing lock by @yudoutingle in #15635
|
||||
* fix: use optimized json.NewEncoder instead for metrics by @harshavardhana in #15648
|
||||
* Reuse madmin.ClusterRegistrationInfo by @anjalshireesh in #15654
|
||||
* verify RenameData() versions to be consistent by @harshavardhana in #15649
|
||||
* allow non-standards fallback for Expires header by @harshavardhana in #15655
|
||||
* allow non-standards fallback for all http.TimeFormats by @harshavardhana in #15662
|
||||
|
||||
[2.9.4]
|
||||
* Update minio to 2022-09-17T00-09-45Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-09-17T00-09-45Z)
|
||||
* limit number of buckets to 500k by @harshavardhana in #15668
|
||||
* Add StopDiskAtLimit by @klauspost in #15670
|
||||
* add vulncheck action to CI by @aead in #15676
|
||||
* Persist in-memory replication stats to disk by @poornas in #15594
|
||||
* prometheus: Track errors during REST read/write calls by @vadmeste in #15678
|
||||
* Fix S3 Select CSV -> JSON with variable field count by @klauspost in #15677
|
||||
* use go1.19.1 for vulncheck by @harshavardhana in #15680
|
||||
* Pass groups claim into condition values by @donatello in #15679
|
||||
* panic if replication config could not be read from disk by @poornas in #15685
|
||||
* update docs to add cycle in scanner by @sinhaashish in #15686
|
||||
* Fix flaky TestGetObjectWithOutdatedDisks by @klauspost in #15687
|
||||
* When listing, do not count delete markers by @klauspost in #15689
|
||||
|
||||
[2.9.5]
|
||||
* Update minio to 2022-09-22T18-57-27Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-09-22T18-57-27Z)
|
||||
* nable cross compile for openbsd/amd64 by @harshavardhana in #15701
|
||||
* Implement KMS methods for keys, policies and identities by @reivaj05 in #15673
|
||||
* Remove deprecated io/ioutil by @klauspost in #15707
|
||||
* helm: specify service account for the jobs by @cowjen01 in #15706
|
||||
* site replication: clear config if remove --all specified by @poornas in #15716
|
||||
* Fix cancellation leaks by @jiuker in #15721
|
||||
|
||||
[2.9.6]
|
||||
* Update minio to 2022-09-25T15-44-53Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-09-25T15-44-53Z)
|
||||
* fix: parse and save retainUntilDate in correct time format by @harshavardhana in #15741
|
||||
* validate correct ETag for the parts sent during CompleteMultipart by @harshavardhana in #15751
|
||||
* Relax retention date enforcement on replication target by @poornas in #15752
|
||||
* Add auto configuration of replication workers by @poornas in #15636
|
||||
* remove unused package internal/smart by @harshavardhana in #15758
|
||||
|
||||
[2.9.7]
|
||||
* Update minio to 2022-10-02T19-29-29Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-10-02T19-29-29Z)
|
||||
* Add RPC tcp timeout/errs and avg duration to prometheus by @vadmeste in #15747
|
||||
* fix: generalize SC config and also skip healing sub-sys under SD by @harshavardhana in #15757
|
||||
* Quick initialized of bucket target notifications by @vadmeste in #15571
|
||||
* support tagging based policy conditions by @harshavardhana in #15763
|
||||
* Update links to documentation site by @djwfyi in #15750
|
||||
* Fix Audit kafka configuration loading by @vadmeste in #15766
|
||||
* Fix race when accessing REST tcp dial values by @vadmeste in #15770
|
||||
* Re-load config after reset by @anjalshireesh in #15771
|
||||
* fix: de-duplicate conflicting object names on namespace by @harshavardhana in #15772
|
||||
|
||||
[2.9.8]
|
||||
* Update minio to 2022-10-05T14-58-27Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-10-05T14-58-27Z)
|
||||
|
||||
[2.9.9]
|
||||
* Update minio to 2022-10-08T20-11-00Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-10-08T20-11-00Z)
|
||||
* set bucket creation timestamp properly for legacy FS backend by @harshavardhana in #15800
|
||||
* decom: Ignore object/version error during deletion by @vadmeste in #15806
|
||||
* remove build asset caching by @harshavardhana in #15807
|
||||
* Fix GetObjectRetention to parse in iso8601 time format by @poornas in #15809
|
||||
* Update pkg to v1.4.5 by @reivaj05 in #15808
|
||||
* remove unused debug param from evalActionFromLifecycle by @harshavardhana in #15813
|
||||
|
||||
[2.9.10]
|
||||
* Update minio to 2022-10-15T19-57-03Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-10-15T19-57-03Z)
|
||||
* Add missing server info fields by @klauspost in #15826
|
||||
* indicate how long it took to bring the drive online by @harshavardhana in #15835
|
||||
* honor specified target prefix under batch replication by @harshavardhana in #15834
|
||||
* remove spurious logging for object not found by @harshavardhana in #15842
|
||||
* Add metrics, version and apis handlers by @reivaj05 in #15839
|
||||
|
||||
[2.9.11]
|
||||
* Update minio to 2022-10-20T00-55-09Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-10-20T00-55-09Z)
|
||||
* do not assume invalid buf to be non-xl.meta by @harshavardhana in #15843
|
||||
* convert context.DeadlineExceed to offline disk in DiskInfo() by @vadmeste in #15886
|
||||
* remove nancy, we rely on vulncheck from now on by @harshavardhana in #15893
|
||||
* do not need to trace ignored objects by @harshavardhana in #15894
|
||||
* Add concurrent Snowball extraction + options by @klauspost in #15836
|
||||
* storage: Return errDiskNotFound when a peer is during shutdown by @vadmeste in #15868
|
||||
|
||||
[2.9.12]
|
||||
* Update minio to 2022-10-21T22-37-48Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-10-21T22-37-48Z)
|
||||
* Do not freeze s3 traffic in healthinfo api by @anjalshireesh in #15912
|
||||
* lifecycle: Fix rules filtering by @vadmeste in #15914
|
||||
* Pass encrypted etag as is for immediate tiering by @krisis in #15925
|
||||
* Set CONSOLE_MINIO_SERVER to 127.0.0.1 by default by @vadmeste in #15887
|
||||
* Fix deletemarker replication check properly by @poornas in #15923
|
||||
* Check for s3zip content offset by @klauspost in #15924
|
||||
|
||||
[2.9.13]
|
||||
* Update minio to 2022-10-24T18-35-07Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-10-24T18-35-07Z)
|
||||
* Fix Prometheus Probe tlsConfig, doesn't belong in ProberSpec by @briend in #15739
|
||||
* Audit dangling object removal by @vadmeste in #15933
|
||||
|
||||
[2.10.0]
|
||||
* Update minio to 2022-10-29T06-21-33Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-10-29T06-21-33Z)
|
||||
* First release to support rebalancing two or more pooled setups to even out disk usage refer #15483
|
||||
* Removes remaining gateway implementations of NAS/S3 and legacy FS mode completely - refer #15929.
|
||||
* Existing users should continue to use their current releases if they wish to continue using gateway mode.
|
||||
* Subscribed customers get downstream support until they are subscribed as per the terms of the subscription.
|
||||
* Other miscellaneous fixes in Site Replication, Multipart Checksums and SUBNET registration.
|
||||
|
||||
[3.0.0]
|
||||
* **IMPORTANT: This release removes the fs backend completely and this upgrade will fail if you are using the fs backend. Please read and understand [this forum post](https://forum.cloudron.io/topic/7967/minio-package-3-x) to determine what backend you are using before upgrading. If your minio uses the fs backend and you upgrade without a backup, all data can be lost.**
|
||||
* Update minio to 2022-10-29T06-21-33Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-10-29T06-21-33Z)
|
||||
* First release to support rebalancing two or more pooled setups to even out disk usage refer #15483
|
||||
* Removes remaining gateway implementations of NAS/S3 and legacy FS mode completely - refer #15929.
|
||||
|
||||
[3.0.1]
|
||||
* Update minio to 2022-11-10T18-20-21Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-11-10T18-20-21Z)
|
||||
* rebalance status must return appropriate error initially by @harshavardhana in #16022
|
||||
* remove io/util for advanced golang by @yanggangtony in #16011
|
||||
* Use the same lock for the scanner and site replication healing by @vadmeste in #15985
|
||||
* Remove some logs caused by external apps by @vadmeste in #16027
|
||||
* remove printing map() checksums by @harshavardhana in #16028
|
||||
|
||||
[3.0.2]
|
||||
* Update minio to 2022-11-11T03-44-20Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-11-11T03-44-20Z)
|
||||
* fix: parsing multipart uploadID under site replicated setup by @poornas in #16048
|
||||
* netPerfRX Reset() should use write Lock() @jiuker in #16043
|
||||
|
||||
[3.1.0]
|
||||
* Update minio to 2022-11-17T23-20-09Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-11-17T23-20-09Z)
|
||||
* save deploymentID to avoid mutating request entry in Audit by @jiuker in #16053
|
||||
* configuring the nats target to reconnect forever by @rayjanoka in #16050
|
||||
* helm: fix positional parameter in template by @yanggangtony in #15983
|
||||
* improve server startup error when pools are incorrect by @harshavardhana in #16056
|
||||
* choose default values upon incorrect storage_class value by @harshavardhana in #16058
|
||||
|
||||
[3.2.0]
|
||||
* Update minio to 2022-11-26T22-43-32Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-11-26T22-43-32Z)
|
||||
* Optimizations in Multipart code-path in multi-pool setups, via #16086
|
||||
* Fixes a regression in server side replication due to ETag mismatch issue under specific type of MinIO setups, fixed via #16129
|
||||
|
||||
[3.3.0]
|
||||
* Update minio to 2022-11-29T23-40-49Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-11-29T23-40-49Z)
|
||||
* avoid serializing decryptKey() every 15mins by @harshavardhana in #16135
|
||||
* kms: fix possible deadlock due to nested RLock calls. by @aead in #16136
|
||||
* Improvements in logger and audit webhooks by @anjalshireesh in #16102
|
||||
|
@@ -5,8 +5,8 @@
|
||||
"description": "file://DESCRIPTION.md",
|
||||
"changelog": "file://CHANGELOG",
|
||||
"tagline": "Distributed object storage",
|
||||
"version": "2.8.12",
|
||||
"upstreamVersion": "2022-08-13T21-54-44Z",
|
||||
"version": "3.3.0",
|
||||
"upstreamVersion": "2022-11-29T23-40-49Z",
|
||||
"healthCheckPath": "/minio/login",
|
||||
"memoryLimit": 805306368,
|
||||
"httpPort": 8000,
|
||||
|
10
Dockerfile
10
Dockerfile
@@ -1,15 +1,15 @@
|
||||
FROM cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea
|
||||
FROM cloudron/base:4.0.0@sha256:31b195ed0662bdb06a6e8a5ddbedb6f191ce92e8bee04c03fb02dd4e9d0286df
|
||||
|
||||
RUN mkdir -p /app/code
|
||||
WORKDIR /app/code
|
||||
|
||||
ARG VERSION=RELEASE.2022-08-13T21-54-44Z
|
||||
ARG MC_VERSION=RELEASE.2022-08-11T00-30-48Z
|
||||
ARG VERSION=RELEASE.2022-11-29T23-40-49Z
|
||||
|
||||
# sometimes here https://dl.min.io/server/minio/release/linux-amd64/archive/
|
||||
RUN wget https://dl.min.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio && chmod +x /app/code/minio
|
||||
# RUN wget https://dl.min.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio && chmod +x /app/code/minio
|
||||
RUN wget https://dl.min.io/server/minio/release/linux-amd64/archive/minio.${VERSION} -O /app/code/minio && chmod +x /app/code/minio
|
||||
# https://dl.min.io/client/mc/release/linux-amd64/
|
||||
RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc.${MC_VERSION} -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 start.sh /app/code/
|
||||
|
||||
|
711
test/package-lock.json
generated
711
test/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -9,11 +9,11 @@
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"chromedriver": "^104.0.0",
|
||||
"chromedriver": "^108.0.0",
|
||||
"delay": "^5.0.0",
|
||||
"expect.js": "^0.3.1",
|
||||
"mocha": "^10.0.0",
|
||||
"selenium-webdriver": "^4.4.0",
|
||||
"superagent": "^8.0.0"
|
||||
"mocha": "^10.1.0",
|
||||
"selenium-webdriver": "^4.7.0",
|
||||
"superagent": "^8.0.5"
|
||||
}
|
||||
}
|
||||
|
12
test/test.js
12
test/test.js
@@ -54,7 +54,7 @@ describe('Application life cycle test', function () {
|
||||
await waitForElement(By.id('accessKey'));
|
||||
await browser.findElement(By.id('accessKey')).sendKeys(accessKey);
|
||||
await browser.findElement(By.id('secretKey')).sendKeys(secretKey);
|
||||
await browser.findElement(By.xpath('//button[contains(text(), "Login")]')).click();
|
||||
await browser.findElement(By.xpath('//button[@id="do-login"]')).click();
|
||||
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
|
||||
await delay(5000);
|
||||
}
|
||||
@@ -62,17 +62,19 @@ describe('Application life cycle test', function () {
|
||||
async function logout() {
|
||||
await browser.get(`https://${app.fqdn}/`);
|
||||
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
|
||||
await browser.findElement(By.xpath('//div/span[contains(text(), "Logout")]')).click();
|
||||
const button = await browser.findElement(By.xpath('//div/span[contains(text(), "Sign Out")]'));
|
||||
await browser.executeScript('arguments[0].scrollIntoView(false)', button);
|
||||
await button.click();
|
||||
await waitForElement(By.id('accessKey'));
|
||||
}
|
||||
|
||||
async function addBucket() {
|
||||
await browser.get(`https://${app.fqdn}/buckets`);
|
||||
await waitForElement(By.xpath('//button/span[text()="Create Bucket"]'));
|
||||
await browser.findElement(By.xpath('//button/span[text()="Create Bucket"]')).click();
|
||||
await waitForElement(By.xpath('//button[@id="create-bucket"]'));
|
||||
await browser.findElement(By.xpath('//button[@id="create-bucket"]')).click();
|
||||
await browser.sleep(2000);
|
||||
await browser.findElement(By.xpath('//input[@id="bucket-name"]')).sendKeys(BUCKET);
|
||||
await browser.findElement(By.xpath('//button[text()="Create Bucket"]')).click();
|
||||
await browser.findElement(By.xpath('//button[@id="create-bucket"]')).click();
|
||||
await waitForElement(By.xpath(`//a[contains(text(), "${BUCKET}")]`));
|
||||
await delay(5000);
|
||||
}
|
||||
|
Reference in New Issue
Block a user