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

Compare commits

...

26 Commits

Author SHA1 Message Date
Girish Ramakrishnan
b64d0c834b Version 3.13.11 2024-04-19 10:44:16 +02:00
Girish Ramakrishnan
8aab79757f Update test packages 2024-04-19 10:29:50 +02:00
Girish Ramakrishnan
4d0ed6744f Update minio to 2024-04-18T19-09-19Z 2024-04-19 10:19:46 +02:00
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
6 changed files with 155 additions and 167 deletions

107
CHANGELOG
View File

@@ -2352,3 +2352,110 @@ Improve replication performance. See (#12080, #12054, #12009) for more details.
* fix: crash in ResourceMetrics RPC handling concurrent writers by @harshavardhana in https://github.com/minio/minio/pull/19123 * 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 * 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
[3.13.11]
* Update minio to 2024-04-18T19-09-19Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-04-18T19-09-19Z)
* fix: add fallbackDisks for disk healing by @harshavardhana in #19425
* fix: increase the tiering part size to 128MiB by @harshavardhana in #19424
* heal: Add more per disk healing result in the audit by @vadmeste in #19427
* batch-repl: Do not allow both source/target to be remote by @vadmeste in #19434
* Allow setting readOnlyRootFilesystem in securityContext by @AlexanderThaller in #19437
* Add a warning when the total size of an object versions exceeds 1 TiB by @vadmeste in #19435
* make if-none-match PUT/POST RFC compliant by @harshavardhana in #19448
* fix: unknow contentType for ArchiveFileHandler by @jiuker in #19451

View File

@@ -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.1", "version": "3.13.11",
"upstreamVersion": "2024-02-26T09-33-48Z", "upstreamVersion": "2024-04-18T19-09-19Z",
"healthCheckPath": "/minio/login", "healthCheckPath": "/minio/login",
"memoryLimit": 2147483648, "memoryLimit": 2147483648,
"httpPort": 8000, "httpPort": 8000,

View File

@@ -3,7 +3,7 @@ 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-02-26T09-33-48Z ARG VERSION=RELEASE.2024-04-18T19-09-19Z
# sometimes here https://dl.min.io/server/minio/release/linux-amd64/archive/ # 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

196
test/package-lock.json generated
View File

@@ -9,10 +9,10 @@
"version": "1.0.0", "version": "1.0.0",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"chromedriver": "^122.0.3", "chromedriver": "^123.0.4",
"expect.js": "^0.3.1", "expect.js": "^0.3.1",
"mocha": "^10.3.0", "mocha": "^10.4.0",
"selenium-webdriver": "^4.18.1", "selenium-webdriver": "^4.19.0",
"superagent": "^8.1.2" "superagent": "^8.1.2"
} }
}, },
@@ -143,15 +143,6 @@
"node": ">=8" "node": ">=8"
} }
}, },
"node_modules/brace-expansion": {
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"dependencies": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
}
},
"node_modules/braces": { "node_modules/braces": {
"version": "3.0.2", "version": "3.0.2",
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
@@ -252,9 +243,9 @@
} }
}, },
"node_modules/chromedriver": { "node_modules/chromedriver": {
"version": "122.0.3", "version": "123.0.4",
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-122.0.3.tgz", "resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-123.0.4.tgz",
"integrity": "sha512-f7TcCYM6tPxQAl4NQ4KckZ55j62RUfUswbl2iEScs+gI1cqRhzacjMR/FiFx3LUa4S/EZIBgnCx9L+JDhIzVpw==", "integrity": "sha512-3Yi7y7q35kkSAOTbRisiww/SL2w+DqafDPAaUShpSuLMmPaOvHQR0i3bm2/33QBiQ8fUb1J/MzppzVL6IDqvhA==",
"hasInstallScript": true, "hasInstallScript": true,
"dependencies": { "dependencies": {
"@testim/chrome-version": "^1.1.4", "@testim/chrome-version": "^1.1.4",
@@ -359,11 +350,6 @@
"resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz",
"integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==" "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg=="
}, },
"node_modules/concat-map": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
},
"node_modules/cookiejar": { "node_modules/cookiejar": {
"version": "2.1.4", "version": "2.1.4",
"resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.4.tgz", "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.4.tgz",
@@ -734,25 +720,6 @@
"node": ">= 14" "node": ">= 14"
} }
}, },
"node_modules/glob": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz",
"integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==",
"dependencies": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
"inherits": "2",
"minimatch": "^3.0.4",
"once": "^1.3.0",
"path-is-absolute": "^1.0.0"
},
"engines": {
"node": "*"
},
"funding": {
"url": "https://github.com/sponsors/isaacs"
}
},
"node_modules/glob-parent": { "node_modules/glob-parent": {
"version": "5.1.2", "version": "5.1.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
@@ -1082,21 +1049,10 @@
"node": ">= 0.6" "node": ">= 0.6"
} }
}, },
"node_modules/minimatch": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
"dependencies": {
"brace-expansion": "^1.1.7"
},
"engines": {
"node": "*"
}
},
"node_modules/mocha": { "node_modules/mocha": {
"version": "10.3.0", "version": "10.4.0",
"resolved": "https://registry.npmjs.org/mocha/-/mocha-10.3.0.tgz", "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.4.0.tgz",
"integrity": "sha512-uF2XJs+7xSLsrmIvn37i/wnc91nw7XjOQB8ccyx5aEgdnohr7n+rEiZP23WkCYHjilR6+EboEnbq/ZQDz4LSbg==", "integrity": "sha512-eqhGB8JKapEYcC4ytX/xrzKforgEc3j1pGlAXVy3eRwrtAy5/nIfT1SvgGzfN0XZZxeLq0aQWkOUAmqIJiv+bA==",
"dependencies": { "dependencies": {
"ansi-colors": "4.1.1", "ansi-colors": "4.1.1",
"browser-stdout": "1.3.1", "browser-stdout": "1.3.1",
@@ -1277,14 +1233,6 @@
"node": ">=8" "node": ">=8"
} }
}, },
"node_modules/path-is-absolute": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/pend": { "node_modules/pend": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
@@ -1401,33 +1349,19 @@
"node": ">=0.10.0" "node": ">=0.10.0"
} }
}, },
"node_modules/rimraf": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
"integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
"dependencies": {
"glob": "^7.1.3"
},
"bin": {
"rimraf": "bin.js"
},
"funding": {
"url": "https://github.com/sponsors/isaacs"
}
},
"node_modules/safe-buffer": { "node_modules/safe-buffer": {
"version": "5.1.2", "version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
}, },
"node_modules/selenium-webdriver": { "node_modules/selenium-webdriver": {
"version": "4.18.1", "version": "4.19.0",
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.18.1.tgz", "resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.19.0.tgz",
"integrity": "sha512-uP4OJ5wR4+VjdTi5oi/k8oieV2fIhVdVuaOPrklKghgS59w7Zz3nGa5gcG73VcU9EBRv5IZEBRhPr7qFJAj5mQ==", "integrity": "sha512-8XHW8m9V2XN2/SC1kr4bWzMtGvjmKUEZ6S0UBoDBqonhmwEIzKOLbzhanBd08HCOg1s1O0XrDWCD71NnA8Zt0g==",
"dependencies": { "dependencies": {
"jszip": "^3.10.1", "jszip": "^3.10.1",
"tmp": "^0.2.1", "tmp": "^0.2.3",
"ws": ">=8.14.2" "ws": ">=8.16.0"
}, },
"engines": { "engines": {
"node": ">= 14.20.0" "node": ">= 14.20.0"
@@ -1601,14 +1535,11 @@
} }
}, },
"node_modules/tmp": { "node_modules/tmp": {
"version": "0.2.1", "version": "0.2.3",
"resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.3.tgz",
"integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", "integrity": "sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w==",
"dependencies": {
"rimraf": "^3.0.0"
},
"engines": { "engines": {
"node": ">=8.17.0" "node": ">=14.14"
} }
}, },
"node_modules/to-regex-range": { "node_modules/to-regex-range": {
@@ -1707,9 +1638,9 @@
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
}, },
"node_modules/ws": { "node_modules/ws": {
"version": "8.14.2", "version": "8.16.0",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.14.2.tgz", "resolved": "https://registry.npmjs.org/ws/-/ws-8.16.0.tgz",
"integrity": "sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==", "integrity": "sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==",
"engines": { "engines": {
"node": ">=10.0.0" "node": ">=10.0.0"
}, },
@@ -1943,15 +1874,6 @@
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
"integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==" "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA=="
}, },
"brace-expansion": {
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"requires": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
}
},
"braces": { "braces": {
"version": "3.0.2", "version": "3.0.2",
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
@@ -2019,9 +1941,9 @@
} }
}, },
"chromedriver": { "chromedriver": {
"version": "122.0.3", "version": "123.0.4",
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-122.0.3.tgz", "resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-123.0.4.tgz",
"integrity": "sha512-f7TcCYM6tPxQAl4NQ4KckZ55j62RUfUswbl2iEScs+gI1cqRhzacjMR/FiFx3LUa4S/EZIBgnCx9L+JDhIzVpw==", "integrity": "sha512-3Yi7y7q35kkSAOTbRisiww/SL2w+DqafDPAaUShpSuLMmPaOvHQR0i3bm2/33QBiQ8fUb1J/MzppzVL6IDqvhA==",
"requires": { "requires": {
"@testim/chrome-version": "^1.1.4", "@testim/chrome-version": "^1.1.4",
"axios": "^1.6.7", "axios": "^1.6.7",
@@ -2103,11 +2025,6 @@
"resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz",
"integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==" "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg=="
}, },
"concat-map": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
},
"cookiejar": { "cookiejar": {
"version": "2.1.4", "version": "2.1.4",
"resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.4.tgz", "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.4.tgz",
@@ -2356,19 +2273,6 @@
"fs-extra": "^11.2.0" "fs-extra": "^11.2.0"
} }
}, },
"glob": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz",
"integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==",
"requires": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
"inherits": "2",
"minimatch": "^3.0.4",
"once": "^1.3.0",
"path-is-absolute": "^1.0.0"
}
},
"glob-parent": { "glob-parent": {
"version": "5.1.2", "version": "5.1.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
@@ -2606,18 +2510,10 @@
"mime-db": "1.51.0" "mime-db": "1.51.0"
} }
}, },
"minimatch": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
"requires": {
"brace-expansion": "^1.1.7"
}
},
"mocha": { "mocha": {
"version": "10.3.0", "version": "10.4.0",
"resolved": "https://registry.npmjs.org/mocha/-/mocha-10.3.0.tgz", "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.4.0.tgz",
"integrity": "sha512-uF2XJs+7xSLsrmIvn37i/wnc91nw7XjOQB8ccyx5aEgdnohr7n+rEiZP23WkCYHjilR6+EboEnbq/ZQDz4LSbg==", "integrity": "sha512-eqhGB8JKapEYcC4ytX/xrzKforgEc3j1pGlAXVy3eRwrtAy5/nIfT1SvgGzfN0XZZxeLq0aQWkOUAmqIJiv+bA==",
"requires": { "requires": {
"ansi-colors": "4.1.1", "ansi-colors": "4.1.1",
"browser-stdout": "1.3.1", "browser-stdout": "1.3.1",
@@ -2754,11 +2650,6 @@
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
"integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==" "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="
}, },
"path-is-absolute": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18="
},
"pend": { "pend": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
@@ -2853,27 +2744,19 @@
"resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
"integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I="
}, },
"rimraf": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
"integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
"requires": {
"glob": "^7.1.3"
}
},
"safe-buffer": { "safe-buffer": {
"version": "5.1.2", "version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
}, },
"selenium-webdriver": { "selenium-webdriver": {
"version": "4.18.1", "version": "4.19.0",
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.18.1.tgz", "resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.19.0.tgz",
"integrity": "sha512-uP4OJ5wR4+VjdTi5oi/k8oieV2fIhVdVuaOPrklKghgS59w7Zz3nGa5gcG73VcU9EBRv5IZEBRhPr7qFJAj5mQ==", "integrity": "sha512-8XHW8m9V2XN2/SC1kr4bWzMtGvjmKUEZ6S0UBoDBqonhmwEIzKOLbzhanBd08HCOg1s1O0XrDWCD71NnA8Zt0g==",
"requires": { "requires": {
"jszip": "^3.10.1", "jszip": "^3.10.1",
"tmp": "^0.2.1", "tmp": "^0.2.3",
"ws": ">=8.14.2" "ws": ">=8.16.0"
} }
}, },
"semver": { "semver": {
@@ -3000,12 +2883,9 @@
} }
}, },
"tmp": { "tmp": {
"version": "0.2.1", "version": "0.2.3",
"resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.3.tgz",
"integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", "integrity": "sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w=="
"requires": {
"rimraf": "^3.0.0"
}
}, },
"to-regex-range": { "to-regex-range": {
"version": "5.0.1", "version": "5.0.1",
@@ -3081,9 +2961,9 @@
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
}, },
"ws": { "ws": {
"version": "8.14.2", "version": "8.16.0",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.14.2.tgz", "resolved": "https://registry.npmjs.org/ws/-/ws-8.16.0.tgz",
"integrity": "sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==", "integrity": "sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==",
"requires": {} "requires": {}
}, },
"y18n": { "y18n": {

View File

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

View File

@@ -29,7 +29,7 @@ describe('Application life cycle test', function () {
this.timeout(0); this.timeout(0);
const LOCATION = 'test'; const LOCATION = 'test';
const TEST_TIMEOUT = 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' };
@@ -82,10 +82,10 @@ describe('Application life cycle test', function () {
async function loginOIDC(username, password) { async function loginOIDC(username, password) {
browser.manage().deleteAllCookies(); browser.manage().deleteAllCookies();
await browser.get(`https://${app.fqdn}/login`); 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.findElement(By.xpath('//button[contains(., "Cloudron")]')).click();
await browser.sleep(4000); await browser.sleep(10000);
if (!athenticated_by_oidc) { if (!athenticated_by_oidc) {
await waitForElement(By.xpath('//input[@name="username"]')); await waitForElement(By.xpath('//input[@name="username"]'));
@@ -107,6 +107,7 @@ describe('Application life cycle test', function () {
const button = await browser.findElement(By.xpath('//button[@id="sign-out"]')); const button = await browser.findElement(By.xpath('//button[@id="sign-out"]'));
await browser.executeScript('arguments[0].scrollIntoView(false)', button); await browser.executeScript('arguments[0].scrollIntoView(false)', button);
await button.click(); await button.click();
await browser.sleep(10000); // needed!
await waitForElement(By.xpath('//*[@id="accessKey"] | //button[contains(., "Cloudron")]')); await waitForElement(By.xpath('//*[@id="accessKey"] | //button[contains(., "Cloudron")]'));
} }