mirror of
https://git.cloudron.io/cloudron/minio-app
synced 2025-09-13 00:15:40 +00:00
Compare commits
30 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
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 |
5
.gitlab-ci.yml
Normal file
5
.gitlab-ci.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
include:
|
||||
- project: devops/pipeline-components
|
||||
ref: main
|
||||
file: cloudron-app.gitlab-ci.yml
|
||||
|
60
CHANGELOG
60
CHANGELOG
@@ -2658,3 +2658,63 @@ Improve replication performance. See (#12080, #12054, #12009) for more details.
|
||||
* 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
|
||||
|
||||
|
@@ -5,8 +5,8 @@
|
||||
"description": "file://DESCRIPTION.md",
|
||||
"changelog": "file://CHANGELOG",
|
||||
"tagline": "Distributed object storage",
|
||||
"version": "3.13.35",
|
||||
"upstreamVersion": "2024-08-17T01-24-54Z",
|
||||
"version": "3.15.2",
|
||||
"upstreamVersion": "RELEASE.2024-10-29T16-01-48Z",
|
||||
"healthCheckPath": "/minio/login",
|
||||
"memoryLimit": 2147483648,
|
||||
"httpPort": 8000,
|
||||
@@ -20,7 +20,9 @@
|
||||
},
|
||||
"addons": {
|
||||
"localstorage": {},
|
||||
"oidc": { "loginRedirectUri": "/oauth_callback" }
|
||||
"oidc": {
|
||||
"loginRedirectUri": "/oauth_callback"
|
||||
}
|
||||
},
|
||||
"optionalSso": true,
|
||||
"manifestVersion": 2,
|
||||
@@ -30,7 +32,12 @@
|
||||
"documentationUrl": "https://docs.cloudron.io/apps/minio/",
|
||||
"contactEmail": "support@cloudron.io",
|
||||
"icon": "logo.png",
|
||||
"tags": [ "storage", "hosting", "s3", "objectstore" ],
|
||||
"tags": [
|
||||
"storage",
|
||||
"hosting",
|
||||
"s3",
|
||||
"objectstore"
|
||||
],
|
||||
"mediaLinks": [
|
||||
"https://screenshots.cloudron.io/io.minio.cloudronapp/pic1.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
|
||||
WORKDIR /app/code
|
||||
|
||||
ARG VERSION=RELEASE.2024-08-17T01-24-54Z
|
||||
# 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-10-29T16-01-48Z
|
||||
|
||||
# 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/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/server/minio/release/linux-amd64/archive/minio.${MINIO_VERSION} -O /app/code/minio && chmod +x /app/code/minio
|
||||
|
||||
# Latest CLI
|
||||
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/
|
||||
|
6
renovate.json
Normal file
6
renovate.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"local>devops/renovator//config/app/default.json5"
|
||||
]
|
||||
}
|
46
test/package-lock.json
generated
46
test/package-lock.json
generated
@@ -9,11 +9,11 @@
|
||||
"version": "1.0.0",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"chromedriver": "^127.0.3",
|
||||
"chromedriver": "^129.0.0",
|
||||
"expect.js": "^0.3.1",
|
||||
"mocha": "^10.7.3",
|
||||
"selenium-webdriver": "^4.23.0",
|
||||
"superagent": "^10.0.2"
|
||||
"selenium-webdriver": "^4.25.0",
|
||||
"superagent": "^10.1.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@bazel/runfiles": {
|
||||
@@ -262,9 +262,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/chromedriver": {
|
||||
"version": "127.0.3",
|
||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-127.0.3.tgz",
|
||||
"integrity": "sha512-trUHkFt0n7jGzNOgkO1srOJfz50kKyAGJ016PyV0hrtyKNIGnOC9r3Jlssz19UoEjSzI/1g2shEiIFtDbBYVaw==",
|
||||
"version": "129.0.0",
|
||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-129.0.0.tgz",
|
||||
"integrity": "sha512-B1ccqD6hDjNrw94FeqdynIotn1ZV/TnFrkRz2Rync2kzSnq6D6IrSkN1w5Pnuvnc98QhN2xujxDXxkqEqy/PWg==",
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"@testim/chrome-version": "^1.1.4",
|
||||
@@ -1430,14 +1430,14 @@
|
||||
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
|
||||
},
|
||||
"node_modules/selenium-webdriver": {
|
||||
"version": "4.23.0",
|
||||
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.23.0.tgz",
|
||||
"integrity": "sha512-DdvtInpnMt95Td8VApvmAw7oSydBD9twIRXqoMyRoGMvL1dAnMFxdrwnW6L0d/pF/uoNTjbVUarwGZ9wIGNStA==",
|
||||
"version": "4.25.0",
|
||||
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.25.0.tgz",
|
||||
"integrity": "sha512-zl9IX93caOT8wbcCpZzAkEtYa+hNgJ4C5GUN8uhpzggqRLvsg1asfKi0p1uNZC8buYVvsBZbx8S+9MjVAjs4oA==",
|
||||
"dependencies": {
|
||||
"@bazel/runfiles": "^5.8.1",
|
||||
"jszip": "^3.10.1",
|
||||
"tmp": "^0.2.3",
|
||||
"ws": "^8.17.1"
|
||||
"ws": "^8.18.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 14.21.0"
|
||||
@@ -1558,9 +1558,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/superagent": {
|
||||
"version": "10.0.2",
|
||||
"resolved": "https://registry.npmjs.org/superagent/-/superagent-10.0.2.tgz",
|
||||
"integrity": "sha512-rvcN5ciYmVRaZLyM/9thpmNSDGscx1FXNwT5LJjsl+2nhdE4ppd53L2c9iSQSM6FA1poBVwlw+0h2Ofxwr3DoQ==",
|
||||
"version": "10.1.0",
|
||||
"resolved": "https://registry.npmjs.org/superagent/-/superagent-10.1.0.tgz",
|
||||
"integrity": "sha512-JMmik7PbnXGlq7g528Gi6apHbVbTz2vrE3du6fuG4kIPSb2PnLoSOPvfjKn8aQYuJcBWAKW6ZG90qPPsE5jZxQ==",
|
||||
"dependencies": {
|
||||
"component-emitter": "^1.3.0",
|
||||
"cookiejar": "^2.1.4",
|
||||
@@ -2033,9 +2033,9 @@
|
||||
}
|
||||
},
|
||||
"chromedriver": {
|
||||
"version": "127.0.3",
|
||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-127.0.3.tgz",
|
||||
"integrity": "sha512-trUHkFt0n7jGzNOgkO1srOJfz50kKyAGJ016PyV0hrtyKNIGnOC9r3Jlssz19UoEjSzI/1g2shEiIFtDbBYVaw==",
|
||||
"version": "129.0.0",
|
||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-129.0.0.tgz",
|
||||
"integrity": "sha512-B1ccqD6hDjNrw94FeqdynIotn1ZV/TnFrkRz2Rync2kzSnq6D6IrSkN1w5Pnuvnc98QhN2xujxDXxkqEqy/PWg==",
|
||||
"requires": {
|
||||
"@testim/chrome-version": "^1.1.4",
|
||||
"axios": "^1.7.4",
|
||||
@@ -2871,14 +2871,14 @@
|
||||
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
|
||||
},
|
||||
"selenium-webdriver": {
|
||||
"version": "4.23.0",
|
||||
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.23.0.tgz",
|
||||
"integrity": "sha512-DdvtInpnMt95Td8VApvmAw7oSydBD9twIRXqoMyRoGMvL1dAnMFxdrwnW6L0d/pF/uoNTjbVUarwGZ9wIGNStA==",
|
||||
"version": "4.25.0",
|
||||
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.25.0.tgz",
|
||||
"integrity": "sha512-zl9IX93caOT8wbcCpZzAkEtYa+hNgJ4C5GUN8uhpzggqRLvsg1asfKi0p1uNZC8buYVvsBZbx8S+9MjVAjs4oA==",
|
||||
"requires": {
|
||||
"@bazel/runfiles": "^5.8.1",
|
||||
"jszip": "^3.10.1",
|
||||
"tmp": "^0.2.3",
|
||||
"ws": "^8.17.1"
|
||||
"ws": "^8.18.0"
|
||||
}
|
||||
},
|
||||
"serialize-javascript": {
|
||||
@@ -2967,9 +2967,9 @@
|
||||
"integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig=="
|
||||
},
|
||||
"superagent": {
|
||||
"version": "10.0.2",
|
||||
"resolved": "https://registry.npmjs.org/superagent/-/superagent-10.0.2.tgz",
|
||||
"integrity": "sha512-rvcN5ciYmVRaZLyM/9thpmNSDGscx1FXNwT5LJjsl+2nhdE4ppd53L2c9iSQSM6FA1poBVwlw+0h2Ofxwr3DoQ==",
|
||||
"version": "10.1.0",
|
||||
"resolved": "https://registry.npmjs.org/superagent/-/superagent-10.1.0.tgz",
|
||||
"integrity": "sha512-JMmik7PbnXGlq7g528Gi6apHbVbTz2vrE3du6fuG4kIPSb2PnLoSOPvfjKn8aQYuJcBWAKW6ZG90qPPsE5jZxQ==",
|
||||
"requires": {
|
||||
"component-emitter": "^1.3.0",
|
||||
"cookiejar": "^2.1.4",
|
||||
|
@@ -9,10 +9,10 @@
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"chromedriver": "^127.0.3",
|
||||
"chromedriver": "^129.0.0",
|
||||
"expect.js": "^0.3.1",
|
||||
"mocha": "^10.7.3",
|
||||
"selenium-webdriver": "^4.23.0",
|
||||
"superagent": "^10.0.2"
|
||||
"selenium-webdriver": "^4.25.0",
|
||||
"superagent": "^10.1.0"
|
||||
}
|
||||
}
|
||||
|
28
test/test.js
28
test/test.js
@@ -1,11 +1,7 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
/* jshint esversion: 8 */
|
||||
/* global describe */
|
||||
/* global before */
|
||||
/* global after */
|
||||
/* global it */
|
||||
/* global xit */
|
||||
/* global it, xit, describe, before, after, afterEach */
|
||||
|
||||
'use strict';
|
||||
|
||||
@@ -28,24 +24,38 @@ if (!process.env.USERNAME || !process.env.PASSWORD) {
|
||||
describe('Application life cycle test', function () {
|
||||
this.timeout(0);
|
||||
|
||||
const LOCATION = 'test';
|
||||
const LOCATION = process.env.LOCATION || 'test';
|
||||
const TEST_TIMEOUT = parseInt(process.env.TIMEOUT, 10) || 30000;
|
||||
const BUCKET = 'cloudrontestbucket';
|
||||
const EXEC_ARGS = { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' };
|
||||
|
||||
let browser, app;
|
||||
let athenticated_by_oidc = false, rootPassword;
|
||||
let username = process.env.USERNAME;
|
||||
let password = process.env.PASSWORD;
|
||||
const username = process.env.USERNAME;
|
||||
const password = process.env.PASSWORD;
|
||||
|
||||
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 () {
|
||||
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) {
|
||||
await browser.wait(until.elementLocated(elem), TEST_TIMEOUT);
|
||||
await browser.wait(until.elementIsVisible(browser.findElement(elem)), TEST_TIMEOUT);
|
||||
|
Reference in New Issue
Block a user