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

Compare commits

...

57 Commits

Author SHA1 Message Date
Package Updates
52221cca35 Update package version to 3.16.0 2024-11-08 08:35:46 +00:00
Renovate Bot
ea4dfaccf3 chore(deps): update dependency minio/minio to release.2024-11-07t00-52-20z
| datasource      | package     | from                         | to                           |
| --------------- | ----------- | ---------------------------- | ---------------------------- |
| github-releases | minio/minio | RELEASE.2024-10-29T16-01-48Z | RELEASE.2024-11-07T00-52-20Z |
2024-11-08 00:19:19 +00:00
Girish Ramakrishnan
bbcfa6b84e Update renovate.json5 2024-11-04 17:09:59 +00:00
Girish Ramakrishnan
19866198e1 Add renovate.json5 2024-11-04 17:02:55 +00:00
Girish Ramakrishnan
87c4917e82 Delete renovate.json 2024-11-04 16:56:46 +00:00
Girish Ramakrishnan
0f0c70fe95 Delete .gitlab-ci.yml 2024-11-04 08:37:56 +00:00
Johannes Zellner
17670769fa Bump version 2024-10-31 09:21:09 +01:00
Renovate Bot
038ebcd485 chore(deps): update dependency minio/minio to release.2024-10-29t16-01-48z
| datasource      | package     | from                         | to                           |
| --------------- | ----------- | ---------------------------- | ---------------------------- |
| github-releases | minio/minio | RELEASE.2024-10-13T13-34-11Z | RELEASE.2024-10-29T16-01-48Z |
2024-10-31 00:19:17 +00:00
Girish Ramakrishnan
69894610e9 Version 3.15.1 2024-10-15 23:07:36 +02:00
Renovate Bot
38d81367d3 chore(deps): update dependency minio/minio to release.2024-10-13t13-34-11z 2024-10-15 20:47:50 +00:00
Girish Ramakrishnan
8bfac72b10 Update renovate config 2024-10-06 13:45:54 +00:00
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
Girish Ramakrishnan
8239fd8ade Version 3.13.37 2024-08-30 09:31:23 +02:00
Johannes Zellner
41644f3c54 Update test deps 2024-08-30 08:09:45 +02:00
Johannes Zellner
31da17a3e1 Update to 2024-08-29T01-40-52Z 2024-08-30 08:09:27 +02:00
Johannes Zellner
9a9a8b0b13 Bump version 2024-08-27 00:13:02 +02:00
Johannes Zellner
ab05d0a834 Update test deps 2024-08-26 23:55:19 +02:00
Johannes Zellner
e0db747a08 Update to 2024-08-26T15-33-07Z 2024-08-26 23:42:38 +02:00
Girish Ramakrishnan
eb0b1f9e79 Version 3.13.35 2024-08-17 19:16:34 +02:00
Girish Ramakrishnan
d556596770 Update test packages 2024-08-17 17:59:34 +02:00
Girish Ramakrishnan
d6654f7e72 Update minio to 2024-08-17T01-24-54Z 2024-08-17 17:06:31 +02:00
Johannes Zellner
9e5494c2f4 Bump version 2024-08-05 11:53:15 +02:00
Johannes Zellner
042424145e Update to 2024-08-03T04-33-23Z 2024-08-05 11:10:26 +02:00
Johannes Zellner
f20ff8beba Bump version 2024-07-31 12:10:23 +02:00
Johannes Zellner
46eca06f85 Update test deps 2024-07-31 11:41:49 +02:00
Johannes Zellner
060c0d0b9e Update to 2024-07-31T05-46-26Z 2024-07-31 11:39:40 +02:00
Johannes Zellner
1d94015a6d Bump version 2024-07-30 10:10:52 +02:00
Johannes Zellner
6158eb4dfb Update to 2024-07-29T22-14-52Z 2024-07-30 09:48:21 +02:00
Girish Ramakrishnan
bb429dce76 Version 3.13.31 2024-07-27 15:11:51 +02:00
Girish Ramakrishnan
9905f1ea9e Update test packages 2024-07-27 15:07:51 +02:00
Girish Ramakrishnan
9695742134 Update minio to 2024-07-26T20-48-21Z 2024-07-27 15:05:28 +02:00
Girish Ramakrishnan
4dc7f3e9fc Version 3.13.30 2024-07-17 20:52:21 +02:00
Girish Ramakrishnan
9acfaf24b2 Update minio to 2024-07-16T23-46-41Z 2024-07-17 20:50:10 +02:00
Johannes Zellner
453ff9f199 Bump version 2024-07-16 09:07:29 +02:00
Johannes Zellner
c8ca9511e0 Update to 2024-07-15T19-02-30Z 2024-07-16 08:46:39 +02:00
Johannes Zellner
5df913be43 Bump version 2024-07-14 11:08:10 +02:00
Johannes Zellner
b1a1791d4e Update to 2024-07-13T01-46-15Z 2024-07-14 10:17:07 +02:00
Girish Ramakrishnan
ac2c9c41fc Version 3.13.27 2024-07-11 10:33:14 +02:00
Girish Ramakrishnan
c0467b9eb6 Update minio to RELEASE.2024-07-10T18-41-49Z 2024-07-11 10:02:28 +02:00
7 changed files with 247 additions and 91 deletions

114
CHANGELOG
View File

@@ -2617,3 +2617,117 @@ Improve replication performance. See (#12080, #12054, #12009) for more details.
* Update minio to 2024-07-04T14-25-45Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-07-04T14-25-45Z)
[3.13.27]
* Update minio to 2024-07-10T18-41-49Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-07-10T18-41-49Z)
* Add typos check to Makefile by @vadmeste in #20051
* Abstract grid connections by @klauspost in #20038
* Fix documentation for removal of delete markers ILM rule by @allanrogerr in #20056
* batch: Update job info object on success by @krisis in #20053
* Log replication errors once by @shtripat in #20063
[3.13.28]
* Update minio to 2024-07-13T01-46-15Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-07-13T01-46-15Z)
[3.13.29]
* Update minio to 2024-07-15T19-02-30Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-07-15T19-02-30Z)
[3.13.30]
* Update minio to 2024-07-16T23-46-41Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-07-16T23-46-41Z)
[3.13.31]
* Update minio to 2024-07-26T20-48-21Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-07-26T20-48-21Z)
[3.13.32]
* Update minio to 2024-07-29T22-14-52Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-07-29T22-14-52Z)
[3.13.33]
* Update minio to 2024-07-31T05-46-26Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-07-31T05-46-26Z)
[3.13.34]
* Update minio to 2024-08-03T04-33-23Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-08-03T04-33-23Z)
[3.13.35]
* 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
[3.16.0]
* Update Minio to RELEASE.2024-11-07T00-52-20Z
* [Full Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-11-07T00-52-20Z)
* Update README.md by [@​allanrogerr](https://github.com/allanrogerr) in https://github.com/minio/minio/pull/20599
* Remove `expires` field from list objects metadata by [@​donatello](https://github.com/donatello) in https://github.com/minio/minio/pull/20600
* add tests for ILM transition and healing ([#​166](https://github.com/minio/minio/issues/166)) by [@​harshavardhana](https://github.com/harshavardhana) in https://github.com/minio/minio/pull/20601
* Update console package to v1.7.3 by [@​cesnietor](https://github.com/cesnietor) in https://github.com/minio/minio/pull/20606
* Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 by [@​dependabot](https://github.com/dependabot) in https://github.com/minio/minio/pull/20611
* Fix msgUnPath crash by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20614
* docs: remove redundant prometheus metric by [@​erfantkerfan](https://github.com/erfantkerfan) in https://github.com/minio/minio/pull/20618
* decompress audit log properly before sending to remote target by [@​ramondeklein](https://github.com/ramondeklein) in https://github.com/minio/minio/pull/20619
* [@​erfantkerfan](https://github.com/erfantkerfan) made their first contribution in https://github.com/minio/minio/pull/20618

View File

@@ -5,8 +5,8 @@
"description": "file://DESCRIPTION.md",
"changelog": "file://CHANGELOG",
"tagline": "Distributed object storage",
"version": "3.13.26",
"upstreamVersion": "2024-07-04T14-25-45Z",
"version": "3.16.0",
"upstreamVersion": "RELEASE.2024-11-07T00-52-20Z",
"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"

View File

@@ -3,12 +3,12 @@ FROM cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768
RUN mkdir -p /app/code
WORKDIR /app/code
ARG VERSION=RELEASE.2024-07-04T14-25-45Z
# 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-11-07T00-52-20Z
# 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/

4
renovate.json5 Normal file
View File

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

159
test/package-lock.json generated
View File

@@ -9,13 +9,19 @@
"version": "1.0.0",
"license": "ISC",
"dependencies": {
"chromedriver": "^126.0.4",
"chromedriver": "^130.0.4",
"expect.js": "^0.3.1",
"mocha": "^10.6.0",
"selenium-webdriver": "^4.22.0",
"superagent": "^9.0.2"
"mocha": "^10.8.2",
"selenium-webdriver": "^4.26.0",
"superagent": "^10.1.1"
}
},
"node_modules/@bazel/runfiles": {
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/@bazel/runfiles/-/runfiles-6.3.1.tgz",
"integrity": "sha512-1uLNT5NZsUVIGS4syuHwTzZ8HycMPyr6POA3FCE4GbMtc4rhoJk8aZKtNIRthJYfL+iioppi+rTfH3olMPr9nA==",
"license": "Apache-2.0"
},
"node_modules/@testim/chrome-version": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/@testim/chrome-version/-/chrome-version-1.1.4.tgz",
@@ -94,7 +100,8 @@
"node_modules/asap": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz",
"integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA=="
"integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==",
"license": "MIT"
},
"node_modules/ast-types": {
"version": "0.13.4",
@@ -113,11 +120,11 @@
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
},
"node_modules/axios": {
"version": "1.6.7",
"resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz",
"integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==",
"version": "1.7.4",
"resolved": "https://registry.npmjs.org/axios/-/axios-1.7.4.tgz",
"integrity": "sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw==",
"dependencies": {
"follow-redirects": "^1.15.4",
"follow-redirects": "^1.15.6",
"form-data": "^4.0.0",
"proxy-from-env": "^1.1.0"
}
@@ -257,13 +264,14 @@
}
},
"node_modules/chromedriver": {
"version": "126.0.4",
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-126.0.4.tgz",
"integrity": "sha512-mIdJqdocfN/y9fl5BymIzM9WQLy64x078i5tS1jGFzbFAwXwXrj3zmA86Wf3R/hywPYpWqwXxFGBJHgqZTuGCA==",
"version": "130.0.4",
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-130.0.4.tgz",
"integrity": "sha512-lpR+PWXszij1k4Ig3t338Zvll9HtCTiwoLM7n4pCCswALHxzmgwaaIFBh3rt9+5wRk9D07oFblrazrBxwaYYAQ==",
"hasInstallScript": true,
"license": "Apache-2.0",
"dependencies": {
"@testim/chrome-version": "^1.1.4",
"axios": "^1.6.7",
"axios": "^1.7.4",
"compare-versions": "^6.1.0",
"extract-zip": "^2.0.1",
"proxy-agent": "^6.4.0",
@@ -455,6 +463,7 @@
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz",
"integrity": "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==",
"license": "ISC",
"dependencies": {
"asap": "^2.0.0",
"wrappy": "1"
@@ -639,9 +648,9 @@
}
},
"node_modules/follow-redirects": {
"version": "1.15.5",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz",
"integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==",
"version": "1.15.6",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz",
"integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==",
"funding": [
{
"type": "individual",
@@ -671,12 +680,13 @@
}
},
"node_modules/formidable": {
"version": "3.5.1",
"resolved": "https://registry.npmjs.org/formidable/-/formidable-3.5.1.tgz",
"integrity": "sha512-WJWKelbRHN41m5dumb0/k8TeAx7Id/y3a+Z7QfhxP/htI9Js5zYaEDtG8uMgG0vM0lOlqnmjE99/kfpOYi/0Og==",
"version": "3.5.2",
"resolved": "https://registry.npmjs.org/formidable/-/formidable-3.5.2.tgz",
"integrity": "sha512-Jqc1btCy3QzRbJaICGwKcBfGWuLADRerLzDqi2NwSt/UkXLsHJw2TVResiaoBufHVHy9aSgClOHCeJsSsFLTbg==",
"license": "MIT",
"dependencies": {
"dezalgo": "^1.0.4",
"hexoid": "^1.0.0",
"hexoid": "^2.0.0",
"once": "^1.4.0"
},
"funding": {
@@ -864,9 +874,10 @@
}
},
"node_modules/hexoid": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/hexoid/-/hexoid-1.0.0.tgz",
"integrity": "sha512-QFLV0taWQOZtvIRIAdBChesmogZrtuXvVWsFHZTk2SU+anspqZ2vMnoLg7IE1+Uk16N19APic1BuF8bC8c2m5g==",
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/hexoid/-/hexoid-2.0.0.tgz",
"integrity": "sha512-qlspKUK7IlSQv2o+5I7yhUd7TxlOG2Vr5LTa3ve2XSNVKAL/n/u/7KLvKmFNimomDIKvZFXWHv0T12mv7rT8Aw==",
"license": "MIT",
"engines": {
"node": ">=8"
}
@@ -1139,9 +1150,10 @@
}
},
"node_modules/mocha": {
"version": "10.6.0",
"resolved": "https://registry.npmjs.org/mocha/-/mocha-10.6.0.tgz",
"integrity": "sha512-hxjt4+EEB0SA0ZDygSS015t65lJw/I2yRCS3Ae+SJ5FrbzrXgfYwJr96f0OvIXdj7h4lv/vLCrH3rkiuizFSvw==",
"version": "10.8.2",
"resolved": "https://registry.npmjs.org/mocha/-/mocha-10.8.2.tgz",
"integrity": "sha512-VZlYo/WE8t1tstuRmqgeyBgCbJc/lEdopaa+axcKzTBJ+UIdlAB9XnmvTCAH4pwR4ElNInaedhEBmZD8iCSVEg==",
"license": "MIT",
"dependencies": {
"ansi-colors": "^4.1.3",
"browser-stdout": "^1.3.1",
@@ -1425,13 +1437,15 @@
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
},
"node_modules/selenium-webdriver": {
"version": "4.22.0",
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.22.0.tgz",
"integrity": "sha512-GNbrkCHmy249ai885wgXqTfqL2lZnclUH/P8pwTDIqzyFxU3YhDiN7p/c9tMFA4NhgRdEBO2QCG+CWmG7xr/Mw==",
"version": "4.26.0",
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.26.0.tgz",
"integrity": "sha512-nA7jMRIPV17mJmAiTDBWN96Sy0Uxrz5CCLb7bLVV6PpL417SyBMPc2Zo/uoREc2EOHlzHwHwAlFtgmSngSY4WQ==",
"license": "Apache-2.0",
"dependencies": {
"@bazel/runfiles": "^6.3.1",
"jszip": "^3.10.1",
"tmp": "^0.2.3",
"ws": ">=8.16.0"
"ws": "^8.18.0"
},
"engines": {
"node": ">= 14.21.0"
@@ -1552,16 +1566,17 @@
}
},
"node_modules/superagent": {
"version": "9.0.2",
"resolved": "https://registry.npmjs.org/superagent/-/superagent-9.0.2.tgz",
"integrity": "sha512-xuW7dzkUpcJq7QnhOsnNUgtYp3xRwpt2F7abdRYIpCsAt0hhUqia0EdxyXZQQpNmGtsCzYHryaKSV3q3GJnq7w==",
"version": "10.1.1",
"resolved": "https://registry.npmjs.org/superagent/-/superagent-10.1.1.tgz",
"integrity": "sha512-9pIwrHrOj3uAnqg9gDlW7EA2xv+N5au/dSM0kM22HTqmUu8jBxNT+8uA7tA3UoCnmiqzpSbu8rasIUZvbyamMQ==",
"license": "MIT",
"dependencies": {
"component-emitter": "^1.3.0",
"cookiejar": "^2.1.4",
"debug": "^4.3.4",
"fast-safe-stringify": "^2.1.1",
"form-data": "^4.0.0",
"formidable": "^3.5.1",
"formidable": "^3.5.2",
"methods": "^1.1.2",
"mime": "2.6.0",
"qs": "^6.11.0"
@@ -1713,9 +1728,9 @@
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"node_modules/ws": {
"version": "8.16.0",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.16.0.tgz",
"integrity": "sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==",
"version": "8.18.0",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz",
"integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==",
"engines": {
"node": ">=10.0.0"
},
@@ -1841,6 +1856,11 @@
}
},
"dependencies": {
"@bazel/runfiles": {
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/@bazel/runfiles/-/runfiles-6.3.1.tgz",
"integrity": "sha512-1uLNT5NZsUVIGS4syuHwTzZ8HycMPyr6POA3FCE4GbMtc4rhoJk8aZKtNIRthJYfL+iioppi+rTfH3olMPr9nA=="
},
"@testim/chrome-version": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/@testim/chrome-version/-/chrome-version-1.1.4.tgz",
@@ -1920,11 +1940,11 @@
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
},
"axios": {
"version": "1.6.7",
"resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz",
"integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==",
"version": "1.7.4",
"resolved": "https://registry.npmjs.org/axios/-/axios-1.7.4.tgz",
"integrity": "sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw==",
"requires": {
"follow-redirects": "^1.15.4",
"follow-redirects": "^1.15.6",
"form-data": "^4.0.0",
"proxy-from-env": "^1.1.0"
}
@@ -2022,12 +2042,12 @@
}
},
"chromedriver": {
"version": "126.0.4",
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-126.0.4.tgz",
"integrity": "sha512-mIdJqdocfN/y9fl5BymIzM9WQLy64x078i5tS1jGFzbFAwXwXrj3zmA86Wf3R/hywPYpWqwXxFGBJHgqZTuGCA==",
"version": "130.0.4",
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-130.0.4.tgz",
"integrity": "sha512-lpR+PWXszij1k4Ig3t338Zvll9HtCTiwoLM7n4pCCswALHxzmgwaaIFBh3rt9+5wRk9D07oFblrazrBxwaYYAQ==",
"requires": {
"@testim/chrome-version": "^1.1.4",
"axios": "^1.6.7",
"axios": "^1.7.4",
"compare-versions": "^6.1.0",
"extract-zip": "^2.0.1",
"proxy-agent": "^6.4.0",
@@ -2292,9 +2312,9 @@
"integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ=="
},
"follow-redirects": {
"version": "1.15.5",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz",
"integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw=="
"version": "1.15.6",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz",
"integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA=="
},
"form-data": {
"version": "4.0.0",
@@ -2307,12 +2327,12 @@
}
},
"formidable": {
"version": "3.5.1",
"resolved": "https://registry.npmjs.org/formidable/-/formidable-3.5.1.tgz",
"integrity": "sha512-WJWKelbRHN41m5dumb0/k8TeAx7Id/y3a+Z7QfhxP/htI9Js5zYaEDtG8uMgG0vM0lOlqnmjE99/kfpOYi/0Og==",
"version": "3.5.2",
"resolved": "https://registry.npmjs.org/formidable/-/formidable-3.5.2.tgz",
"integrity": "sha512-Jqc1btCy3QzRbJaICGwKcBfGWuLADRerLzDqi2NwSt/UkXLsHJw2TVResiaoBufHVHy9aSgClOHCeJsSsFLTbg==",
"requires": {
"dezalgo": "^1.0.4",
"hexoid": "^1.0.0",
"hexoid": "^2.0.0",
"once": "^1.4.0"
}
},
@@ -2436,9 +2456,9 @@
"integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw=="
},
"hexoid": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/hexoid/-/hexoid-1.0.0.tgz",
"integrity": "sha512-QFLV0taWQOZtvIRIAdBChesmogZrtuXvVWsFHZTk2SU+anspqZ2vMnoLg7IE1+Uk16N19APic1BuF8bC8c2m5g=="
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/hexoid/-/hexoid-2.0.0.tgz",
"integrity": "sha512-qlspKUK7IlSQv2o+5I7yhUd7TxlOG2Vr5LTa3ve2XSNVKAL/n/u/7KLvKmFNimomDIKvZFXWHv0T12mv7rT8Aw=="
},
"http-proxy-agent": {
"version": "7.0.2",
@@ -2637,9 +2657,9 @@
}
},
"mocha": {
"version": "10.6.0",
"resolved": "https://registry.npmjs.org/mocha/-/mocha-10.6.0.tgz",
"integrity": "sha512-hxjt4+EEB0SA0ZDygSS015t65lJw/I2yRCS3Ae+SJ5FrbzrXgfYwJr96f0OvIXdj7h4lv/vLCrH3rkiuizFSvw==",
"version": "10.8.2",
"resolved": "https://registry.npmjs.org/mocha/-/mocha-10.8.2.tgz",
"integrity": "sha512-VZlYo/WE8t1tstuRmqgeyBgCbJc/lEdopaa+axcKzTBJ+UIdlAB9XnmvTCAH4pwR4ElNInaedhEBmZD8iCSVEg==",
"requires": {
"ansi-colors": "^4.1.3",
"browser-stdout": "^1.3.1",
@@ -2860,13 +2880,14 @@
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
},
"selenium-webdriver": {
"version": "4.22.0",
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.22.0.tgz",
"integrity": "sha512-GNbrkCHmy249ai885wgXqTfqL2lZnclUH/P8pwTDIqzyFxU3YhDiN7p/c9tMFA4NhgRdEBO2QCG+CWmG7xr/Mw==",
"version": "4.26.0",
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.26.0.tgz",
"integrity": "sha512-nA7jMRIPV17mJmAiTDBWN96Sy0Uxrz5CCLb7bLVV6PpL417SyBMPc2Zo/uoREc2EOHlzHwHwAlFtgmSngSY4WQ==",
"requires": {
"@bazel/runfiles": "^6.3.1",
"jszip": "^3.10.1",
"tmp": "^0.2.3",
"ws": ">=8.16.0"
"ws": "^8.18.0"
}
},
"serialize-javascript": {
@@ -2955,16 +2976,16 @@
"integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig=="
},
"superagent": {
"version": "9.0.2",
"resolved": "https://registry.npmjs.org/superagent/-/superagent-9.0.2.tgz",
"integrity": "sha512-xuW7dzkUpcJq7QnhOsnNUgtYp3xRwpt2F7abdRYIpCsAt0hhUqia0EdxyXZQQpNmGtsCzYHryaKSV3q3GJnq7w==",
"version": "10.1.1",
"resolved": "https://registry.npmjs.org/superagent/-/superagent-10.1.1.tgz",
"integrity": "sha512-9pIwrHrOj3uAnqg9gDlW7EA2xv+N5au/dSM0kM22HTqmUu8jBxNT+8uA7tA3UoCnmiqzpSbu8rasIUZvbyamMQ==",
"requires": {
"component-emitter": "^1.3.0",
"cookiejar": "^2.1.4",
"debug": "^4.3.4",
"fast-safe-stringify": "^2.1.1",
"form-data": "^4.0.0",
"formidable": "^3.5.1",
"formidable": "^3.5.2",
"methods": "^1.1.2",
"mime": "2.6.0",
"qs": "^6.11.0"
@@ -3076,9 +3097,9 @@
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"ws": {
"version": "8.16.0",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.16.0.tgz",
"integrity": "sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==",
"version": "8.18.0",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz",
"integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==",
"requires": {}
},
"y18n": {

View File

@@ -9,10 +9,10 @@
"author": "",
"license": "ISC",
"dependencies": {
"chromedriver": "^126.0.4",
"chromedriver": "^130.0.4",
"expect.js": "^0.3.1",
"mocha": "^10.6.0",
"selenium-webdriver": "^4.22.0",
"superagent": "^9.0.2"
"mocha": "^10.8.2",
"selenium-webdriver": "^4.26.0",
"superagent": "^10.1.1"
}
}

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