1
0
mirror of https://git.cloudron.io/cloudron/minio-app synced 2025-09-21 12:37:35 +00:00

Compare commits

..

19 Commits

Author SHA1 Message Date
Girish Ramakrishnan
6e0cf2f9d8 Version 3.15.0 2024-10-03 21:01:54 +02:00
Renovate Bot
fd48a26065 chore(deps): update dependency minio/minio to release.2024-10-02t17-50-41z 2024-10-03 18:15:58 +00:00
Girish Ramakrishnan
ef398fbdeb add ci file 2024-10-03 20:15:43 +02:00
Girish Ramakrishnan
fb570b0256 maybe? 2024-10-03 19:59:04 +02:00
Girish Ramakrishnan
e2a4a1b594 add build to the mix 2024-10-03 19:10:59 +02:00
Girish Ramakrishnan
242ca7052b too many slashes? 2024-10-03 19:04:48 +02:00
Girish Ramakrishnan
ecfd75afd1 loose does not seem to work 2024-10-03 19:02:49 +02:00
Renovate Bot
6ac4576a7f chore(deps): add renovate.json 2024-10-03 16:45:07 +00:00
Girish Ramakrishnan
635924b0e5 add renovate 2024-10-03 18:43:37 +02:00
Girish Ramakrishnan
bcde4b30d6 add ci files 2024-10-03 18:23:28 +02:00
Girish Ramakrishnan
e0a5ac3fe2 Version 3.14.0 2024-09-23 23:37:11 +02:00
Girish Ramakrishnan
7ec1c63a02 Update test packages 2024-09-23 23:23:06 +02:00
Girish Ramakrishnan
9cefaa80be Update minio to 2024-09-22T00-33-43Z 2024-09-23 23:21:08 +02:00
Johannes Zellner
09e82cd3e3 Bump version 2024-09-14 18:05:12 +02:00
Johannes Zellner
f75118e15a Update test deps 2024-09-14 17:43:27 +02:00
Johannes Zellner
4f5fadaa8a Update to 2024-09-13T20-26-02Z 2024-09-14 17:43:03 +02:00
Johannes Zellner
42ecaf8662 Bump version 2024-09-10 08:19:48 +02:00
Johannes Zellner
7fb6950cab Update test deps 2024-09-10 07:57:52 +02:00
Johannes Zellner
d952670c20 Update to 2024-09-09T16-59-28Z 2024-09-10 07:57:44 +02:00
8 changed files with 82 additions and 28 deletions

5
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,5 @@
include:
- project: devops/pipeline-components
ref: main
file: cloudron-app.gitlab-ci.yml

View File

@@ -2669,3 +2669,35 @@ Improve replication performance. See (#12080, #12054, #12009) for more details.
* 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

View File

@@ -5,8 +5,8 @@
"description": "file://DESCRIPTION.md",
"changelog": "file://CHANGELOG",
"tagline": "Distributed object storage",
"version": "3.13.37",
"upstreamVersion": "2024-08-29T01-40-52Z",
"version": "3.15.0",
"upstreamVersion": "RELEASE.2024-10-02T17-50-41Z",
"healthCheckPath": "/minio/login",
"memoryLimit": 2147483648,
"httpPort": 8000,

View File

@@ -3,7 +3,8 @@ FROM cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768
RUN mkdir -p /app/code
WORKDIR /app/code
ARG VERSION=RELEASE.2024-08-29T01-40-52Z
# renovate: datasource=github-releases packageName=minio/minio extractVersion=^(?<version>.+)$ versioning=regex:^RELEASE\.(?<major>\d{4})-(?<minor>\d{2})-(?<patch>\d{2})T(?<build>.+)
ARG VERSION=RELEASE.2024-10-02T17-50-41Z
# 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

6
renovate.json Normal file
View File

@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>devops/renovator//config/app/default.json5"
]
}

28
test/package-lock.json generated
View File

@@ -9,10 +9,10 @@
"version": "1.0.0",
"license": "ISC",
"dependencies": {
"chromedriver": "^128.0.0",
"chromedriver": "^129.0.0",
"expect.js": "^0.3.1",
"mocha": "^10.7.3",
"selenium-webdriver": "^4.24.0",
"selenium-webdriver": "^4.25.0",
"superagent": "^10.1.0"
}
},
@@ -262,9 +262,9 @@
}
},
"node_modules/chromedriver": {
"version": "128.0.0",
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-128.0.0.tgz",
"integrity": "sha512-Ggo21z/dFQxTOTgU0vm0V59Mi79yyR+9AUk/KiVAsRfbDRdVZQYQWfgxnIvD/x8KOKn0oB7haRzDO/KfrKyvOA==",
"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,9 +1430,9 @@
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
},
"node_modules/selenium-webdriver": {
"version": "4.24.0",
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.24.0.tgz",
"integrity": "sha512-qrqoHhHPZuKLiz5VAQUxrn3ILs7/cYqn2/x96r35g5JjkLUjOS1lX+F+tEJKhRMlQ/MGJ+N1016JF5g2xZUFzw==",
"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",
@@ -2033,9 +2033,9 @@
}
},
"chromedriver": {
"version": "128.0.0",
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-128.0.0.tgz",
"integrity": "sha512-Ggo21z/dFQxTOTgU0vm0V59Mi79yyR+9AUk/KiVAsRfbDRdVZQYQWfgxnIvD/x8KOKn0oB7haRzDO/KfrKyvOA==",
"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,9 +2871,9 @@
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
},
"selenium-webdriver": {
"version": "4.24.0",
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.24.0.tgz",
"integrity": "sha512-qrqoHhHPZuKLiz5VAQUxrn3ILs7/cYqn2/x96r35g5JjkLUjOS1lX+F+tEJKhRMlQ/MGJ+N1016JF5g2xZUFzw==",
"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",

View File

@@ -9,10 +9,10 @@
"author": "",
"license": "ISC",
"dependencies": {
"chromedriver": "^128.0.0",
"chromedriver": "^129.0.0",
"expect.js": "^0.3.1",
"mocha": "^10.7.3",
"selenium-webdriver": "^4.24.0",
"selenium-webdriver": "^4.25.0",
"superagent": "^10.1.0"
}
}

View File

@@ -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);