1
0
mirror of https://git.cloudron.io/cloudron/minio-app synced 2025-09-13 08:19:12 +00:00

Compare commits

...

27 Commits

Author SHA1 Message Date
Girish Ramakrishnan
5f7d71f028 Version 3.13.10 2024-04-06 09:55:22 +02:00
Girish Ramakrishnan
26e95361b6 Update minio to 2024-04-06T05-26-02Z 2024-04-06 09:29:02 +02:00
Girish Ramakrishnan
5cee1588f3 Version 3.13.9 2024-04-01 11:59:58 +02:00
Girish Ramakrishnan
d8c7fa0d47 Update test packages 2024-04-01 11:52:02 +02:00
Girish Ramakrishnan
2f8caf38d4 Update minio to 2024-03-30T09-41-56Z 2024-03-31 11:31:27 +02:00
Johannes Zellner
51850a87d8 Bump version 2024-03-27 10:28:05 +01:00
Johannes Zellner
9a9367d5f4 Update test deps 2024-03-27 10:08:51 +01:00
Johannes Zellner
bedc600aa5 Update to 2024-03-26T22-10-45Z 2024-03-27 10:08:14 +01:00
Johannes Zellner
368da33581 Bump version 2024-03-25 11:18:57 +01:00
Johannes Zellner
ca6eaad35d Update test deps 2024-03-25 10:47:04 +01:00
Johannes Zellner
e47f31b8a8 Update to 2024-03-21T23-13-43Z 2024-03-25 10:46:05 +01:00
Johannes Zellner
05c08cdafe Update test deps 2024-03-15 08:40:58 +01:00
Johannes Zellner
af2efcfd46 Bump version 2024-03-15 08:40:51 +01:00
Johannes Zellner
042e08f7ad Fixup version in changelog 2024-03-10 15:08:15 +01:00
Johannes Zellner
5f6b3ef9c3 Bump version 2024-03-10 13:56:46 +01:00
Johannes Zellner
0e6b93f732 Update to 2024-03-10T02-53-48Z 2024-03-10 13:55:36 +01:00
Girish Ramakrishnan
2b7aff15d3 Version 3.13.4 2024-03-07 09:49:08 +01:00
Girish Ramakrishnan
febd561bfb Update minio to 2024-03-07T00-43-48Z 2024-03-07 09:19:29 +01:00
Girish Ramakrishnan
abef481b63 Version 3.13.3 2024-03-05 10:42:40 +01:00
Girish Ramakrishnan
2b0dcc7d38 Update minio to 2024-03-05T04-48-44Z 2024-03-05 10:41:47 +01:00
Girish Ramakrishnan
0c32be8139 Update tests 2024-03-04 11:33:45 +01:00
Girish Ramakrishnan
fd04e1b784 Version 3.13.2 2024-03-04 10:22:55 +01:00
Girish Ramakrishnan
bd883b747c Update minio to 2024-03-03T17-50-39Z 2024-03-04 10:08:19 +01:00
Johannes Zellner
618c3c6736 Bump version 2024-02-26 15:28:12 +01:00
Johannes Zellner
fba9a4ff32 Update test deps 2024-02-26 14:42:49 +01:00
Johannes Zellner
7878d690b9 Update to 2024-02-26T09-33-48Z 2024-02-26 14:42:36 +01:00
Girish Ramakrishnan
623b291e62 Fixup tests 2024-02-20 13:26:29 +01:00
6 changed files with 677 additions and 193 deletions

101
CHANGELOG
View File

@@ -2346,3 +2346,104 @@ Improve replication performance. See (#12080, #12054, #12009) for more details.
[3.13.0]
* Implement OIDC authentication
[3.13.1]
* Update minio to 2024-02-26T09-33-48Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-02-26T09-33-48Z)
* fix: crash in ResourceMetrics RPC handling concurrent writers by @harshavardhana in https://github.com/minio/minio/pull/19123
* fix: re-arrange console-sys to log properly in k8s/docker by @harshavardhana in https://github.com/minio/minio/pull/19129
[3.13.2]
* Update minio to 2024-03-03T17-50-39Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-03-03T17-50-39Z)
* Major performance improvement on total connection usage and de-duplicate ILM entries refer #18926
* Major performance improvement for Listing() to avoid readdir() under situations for directory lookups refer #19100
* Read drive IO stats from sysfs instead of procfs by @Praveenrajmani in #19131
* ilm: Select an object when all AND tags are satisfied by @vadmeste in #19134
* remove unnecessary 'recreate' code by @harshavardhana in #19136
* feat: add userCredentials for nats by @jiuker in #19139
[3.13.3]
* Update minio to 2024-03-05T04-48-44Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-03-05T04-48-44Z)
* fix: healthcheck to fail even if one erasure set doesn't have quorum by @Praveenrajmani in #19180
* Add common middleware to S3 API handlers by @donatello in #19171
* fix: nLink is unreliable on all filesystems by @harshavardhana in #19187
* Fix ilm config at startup by @krisis in #19189
* fix: skip local disks properly in cluster health maintenance check by @harshavardhana in #19184
[3.13.4]
* Update minio to 2024-03-07T00-43-48Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-03-07T00-43-48Z)
* fix: cluster read health check to return proper values by @Praveenrajmani in #19203
* fix: a regression in loading replication creds by @harshavardhana in #19204
* fix: go mod update v1.33.0 https://pkg.go.dev/vuln/GO-2024-2611 by @harshavardhana in #19208
* bucket import: avoid overwriting bucket creation date by @poornas in #19207
* Set expected expiry date for ExpiredObjectAllVersions by @krisis in #19210
[3.13.5]
* Update minio to 2024-03-10T02-53-48Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-03-10T02-53-48Z)
* make immediate purge non-blocking up to 100,000 entries per drive (#19231)
* make immediate purge non-blocking upto 100000 entries per drive
* Bonus: turn-off O_DIRECT verification when FSType is 'XFS'
[3.13.6]
* Update minio to 2024-03-15T01-07-19Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-03-15T01-07-19Z)
* allow dynamically changing max_object_versions per object (#19265)
[3.13.7]
* Update minio to 2024-03-21T23-13-43Z
* [Changelog](https://github.com/minio/minio/releases/tag/2024-03-21T23-13-43Z)
* write anything beyond 4k to be written in 4k pages by @harshavardhana in https://github.com/minio/minio/pull/19269
* fix wrong time.Parse params order by @alingse in https://github.com/minio/minio/pull/19279
* implement a flag to specify custom crossdomain.xml by @harshavardhana in https://github.com/minio/minio/pull/19262
* fix: add a default requests deadline when deadline is 0 by @harshavardhana in https://github.com/minio/minio/pull/19287
* add deprecated expiry_workers to be ignored by @harshavardhana in https://github.com/minio/minio/pull/19289
* add additional logs for the decom during metadata save by @harshavardhana in https://github.com/minio/minio/pull/19288
* feat: add user to NOTIFY_REDIS by @jiuker in https://github.com/minio/minio/pull/19285
* change the notification queue full message by @harshavardhana in https://github.com/minio/minio/pull/19293
* list: Fix IsTruncated and NextMarker when encountering expired objects by @vadmeste in https://github.com/minio/minio/pull/19290
* xl: Purge instead of moving to trash with near filled disks by @vadmeste in https://github.com/minio/minio/pull/19294
* crypto: generate OEK using HMAC-SHA256 instead of SHA256 by @aead in https://github.com/minio/minio/pull/19297
* decom: Fix failed status after a failed decommission by @vadmeste in https://github.com/minio/minio/pull/19300
* Handle zero versions qualified for expiration by @krisis in https://github.com/minio/minio/pull/19301
* avoid triggering heals on metacache files if any by @harshavardhana in https://github.com/minio/minio/pull/19299
* add IAM policyDB lookup fallbacks to drives by @harshavardhana in https://github.com/minio/minio/pull/19302
* replication: enforce precondition for multipart by @poornas in https://github.com/minio/minio/pull/19306
* fix: peer addr returned as empty string by @anjalshireesh in https://github.com/minio/minio/pull/19308
* fix: Fix crash when logging events and anonymous is enabled by @vadmeste in https://github.com/minio/minio/pull/19313
* use retry during policy reload from drives by @harshavardhana in https://github.com/minio/minio/pull/19307
* Encode dir obj names before expiration by @krisis in https://github.com/minio/minio/pull/19305
* fix batch snowball to close channel after listing finishes by @poornas in https://github.com/minio/minio/pull/19316
[3.13.8]
* Update minio to 2024-03-26T22-10-45Z
* [Changelog](https://github.com/minio/minio/releases/tag/2024-03-26T22-10-45Z)
* Webhook targets refactor and bug fixes by @zveinn in https://github.com/minio/minio/pull/19275
* fix: convert multiple callers to use toStorageErr(err) correctly by @harshavardhana in https://github.com/minio/minio/pull/19339
* fix: should return when error happend by @jiuker in https://github.com/minio/minio/pull/19342
* bring back minor DNS cache for k8s setups by @harshavardhana in https://github.com/minio/minio/pull/19341
* Adding dashboard for MinIO node metrics by @shtripat in https://github.com/minio/minio/pull/19329
* Fix races in IAM cache lazy loading by @klauspost in https://github.com/minio/minio/pull/19346
* allow configuring inline shard size value by @harshavardhana in https://github.com/minio/minio/pull/19336
* replication:fix precondition check for multipart by @poornas in https://github.com/minio/minio/pull/19349
[3.13.9]
* Update minio to 2024-03-30T09-41-56Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-03-30T09-41-56Z)
* Support for SSE-C encrypted objects with site and bucket replication.
* CPU issue addressed when you have 1000's of folder prefixes at bucket root.
* LDAP support normalization of DN names for consistent behavior.
[3.13.10]
* Update minio to 2024-04-06T05-26-02Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-04-06T05-26-02Z)
* Reduce big message RPC allocations by @klauspost in #19390
* Prioritize the bucket configs first during the decommissioning by @Praveenrajmani in #19393
* fix: missing metrics for healed objects by @harshavardhana in #19392
* Always return slice with cap by @klauspost in #19395
* Adding console targets back into systemtarget log slice by @zveinn in #19398
* feat: support EdDSA/Ed25519 for oss by @jiuker in #19397
* update to latest deps by @harshavardhana in #19399
* Avoid using a nil transport when the config is not initialized by @vadmeste in #19405

View File

@@ -5,8 +5,8 @@
"description": "file://DESCRIPTION.md",
"changelog": "file://CHANGELOG",
"tagline": "Distributed object storage",
"version": "3.13.0",
"upstreamVersion": "2024-02-17T01-15-57Z",
"version": "3.13.10",
"upstreamVersion": "2024-04-06T05-26-02Z",
"healthCheckPath": "/minio/login",
"memoryLimit": 2147483648,
"httpPort": 8000,

View File

@@ -3,7 +3,7 @@ FROM cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768
RUN mkdir -p /app/code
WORKDIR /app/code
ARG VERSION=RELEASE.2024-02-17T01-15-57Z
ARG VERSION=RELEASE.2024-04-06T05-26-02Z
# 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

732
test/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -9,10 +9,10 @@
"author": "",
"license": "ISC",
"dependencies": {
"chromedriver": "^121.0.2",
"chromedriver": "^123.0.1",
"expect.js": "^0.3.1",
"mocha": "^10.3.0",
"selenium-webdriver": "^4.18.1",
"mocha": "^10.4.0",
"selenium-webdriver": "^4.19.0",
"superagent": "^8.1.2"
}
}

View File

@@ -29,7 +29,7 @@ describe('Application life cycle test', function () {
this.timeout(0);
const LOCATION = 'test';
const TEST_TIMEOUT = 30000;
const TEST_TIMEOUT = parseInt(process.env.TIMEOUT, 10) || 30000;
const BUCKET = 'cloudrontestbucket';
const EXEC_ARGS = { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' };
@@ -57,14 +57,15 @@ describe('Application life cycle test', function () {
expect(app).to.be.an('object');
}
async function login(username, password) {
async function login(username, password, expandLoginForm=true) {
await browser.manage().deleteAllCookies();
await browser.get('about:blank');
await browser.sleep(2000);
await browser.get(`https://${app.fqdn}/login`);
await browser.sleep(2000);
if (await browser.findElements(By.id('accessKey')).then(found => !found.length) && await browser.findElements(By.id('alternativeMethods-select')).then(found => !!found.length)) {
if (expandLoginForm) {
await waitForElement(By.xpath('//div[@id="alternativeMethods-select"]/div[contains(., "Other Authentication Methods")]'));
await browser.findElement(By.xpath('//div[@id="alternativeMethods-select"]/div[contains(., "Other Authentication Methods")]')).click();
await browser.sleep(2000);
await browser.findElement(By.xpath('//li[contains(., "Use Credentials")] | //div[@label="Use Credentials"]')).click();
@@ -81,10 +82,10 @@ describe('Application life cycle test', function () {
async function loginOIDC(username, password) {
browser.manage().deleteAllCookies();
await browser.get(`https://${app.fqdn}/login`);
await browser.sleep(4000);
await browser.sleep(10000);
await browser.findElement(By.xpath('//button[contains(., "Cloudron")]')).click();
await browser.sleep(4000);
await browser.sleep(10000);
if (!athenticated_by_oidc) {
await waitForElement(By.xpath('//input[@name="username"]'));
@@ -106,6 +107,7 @@ describe('Application life cycle test', function () {
const button = await browser.findElement(By.xpath('//button[@id="sign-out"]'));
await browser.executeScript('arguments[0].scrollIntoView(false)', button);
await button.click();
await browser.sleep(10000); // needed!
await waitForElement(By.xpath('//*[@id="accessKey"] | //button[contains(., "Cloudron")]'));
}
@@ -165,7 +167,7 @@ describe('Application life cycle test', function () {
it('can get app information', getAppInfo);
it('can admin login', login.bind(null, 'minioadmin', 'minioadmin'));
it('can admin login', login.bind(null, 'minioadmin', 'minioadmin', false));
it('can add bucket', addBucket);
it('can logout', logout);
it('does redirect', checkRedirect);
@@ -177,7 +179,7 @@ describe('Application life cycle test', function () {
await timers.setTimeout(10000);
});
it('can admin login', login.bind(null, 'minioakey', 'minioskey'));
it('can admin login', login.bind(null, 'minioakey', 'minioskey', false));
it('has bucket', checkBucket);
it('can logout', logout);
it('does redirect', checkRedirect);
@@ -265,29 +267,26 @@ describe('Application life cycle test', function () {
it('can install app for update', function () { execSync('cloudron install --appstore-id io.minio.cloudronapp --location ' + LOCATION, EXEC_ARGS); });
it('can get app information', getAppInfo);
it('can login', login.bind(null, 'minioadmin', 'minioadmin'));
it('can get admin credentials', getAdminCredentials);
it('can admin login', async function () { await login('minioadmin', rootPassword); });
it('can add buckets', addBucket);
it('can logout', logout);
/* should be added on the next release
it('can OIDC login', loginOIDC.bind(null, username, password));
it('has bucket', checkBucket);
it('can logout', logout);
*/
it('can update', function () { execSync(`cloudron update --app ${LOCATION}`, EXEC_ARGS); });
it('can configure', function () { execSync(`cloudron configure --app ${LOCATION} --location ${LOCATION} --secondary-domains API_SERVER_DOMAIN=${LOCATION}-api`, EXEC_ARGS); });
it('can get app information', getAppInfo);
it('can admin login', login.bind(null, 'minioadmin', 'minioadmin'));
it('can admin login', async function () { await login('minioadmin', rootPassword); });
it('has bucket', checkBucket);
it('can logout', logout);
/* should be added on the next release
it('can OIDC login', loginOIDC.bind(null, username, password));
it('has bucket', checkBucket);
it('can logout', logout);
*/
it('does redirect', checkRedirect);
it('check api', checkApi);