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

Compare commits

...

16 Commits

Author SHA1 Message Date
Girish Ramakrishnan
38e4036876 Version 1.141.0 2020-10-03 13:20:07 -07:00
Girish Ramakrishnan
38edc214a3 app needs restart 2020-10-03 13:13:26 -07:00
Girish Ramakrishnan
c1186748cf --address is an arg apparently
the rest are called "flags"
2020-10-03 13:11:08 -07:00
Girish Ramakrishnan
d0d13eccaf Update minio to RELEASE.2020-10-03T02-19-42Z 2020-10-03 13:10:46 -07:00
Girish Ramakrishnan
d94de7a13b Source custom config from /app/data/env.sh 2020-10-03 13:03:47 -07:00
Girish Ramakrishnan
6fdcff1acf Version 1.140.0 2020-09-29 15:52:02 -07:00
Girish Ramakrishnan
5d228c2a49 Update minio to RELEASE.2020-09-26T03-44-56Z 2020-09-29 15:42:22 -07:00
Girish Ramakrishnan
09db61f549 Version 1.139.0 2020-09-25 17:31:43 -07:00
Girish Ramakrishnan
2e340f386d Update minio to RELEASE.2020-09-23T19-18-30Z 2020-09-25 17:10:05 -07:00
Girish Ramakrishnan
440834cf09 Version 1.138.0 2020-09-22 09:56:30 -07:00
Girish Ramakrishnan
05eaf385d5 Update minio to RELEASE.2020-09-21T22-31-59Z 2020-09-22 09:20:12 -07:00
Girish Ramakrishnan
3f27a31f65 Version 1.137.0 2020-09-21 09:58:30 -07:00
Girish Ramakrishnan
fe1e252764 Update minio to RELEASE.2020-09-17T04-49-20Z 2020-09-21 09:28:10 -07:00
Girish Ramakrishnan
6391c53196 Version 1.136.0 2020-09-11 12:45:50 -07:00
Girish Ramakrishnan
4dc37ac1aa do not chown all the time (on update) 2020-09-11 12:34:40 -07:00
Girish Ramakrishnan
fbeaf26fec Update minio to 2020-09-10T22-02-45Z 2020-09-11 12:29:11 -07:00
6 changed files with 66 additions and 8 deletions

View File

@@ -634,3 +634,46 @@
* Remove MaxConnsPerHost settings to avoid potential hangs. See (#10438) for more details.
* Ignore config values from unknown subsystems. See (#10432) for more details.
[1.136.0]
* Update minio to 2020-09-10T22-02-45Z
* Change permissions only when required
[1.137.0]
* Update minio to 2020-09-17T04-49-20Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-09-17T04-49-20Z)
* fix background disk healing. See (#10502) for more details.
* Minor fixes in listing, replication and ilm.
[1.138.0]
* Update minio to 2020-09-21T22-31-59Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-09-21T22-31-59Z)
* Support for "directory" objects. See (#10499) for more details.
* Improve performance in listobjectparts and completemultipartupload in FS mode. See (#10522, #10510) for more details.
* More fixes in FS mode. See (#10512, #10533) for more details.
* Replication improvements. See (#10498, #10525) for more details.
* Browser: Support for searching objects. See (#10424) for more details.
* Miscellaneous fixes in ilm, healing, obd, and request start time logging. See (#10532, #10530, #10504, #10516) for more details.
* Changes related to locks. See (#10509, #10508) for more details.
[1.139.0]
* Update minio to 2020-09-23T19-18-30Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-09-23T19-18-30Z)
* Improvements to replication. See (#10542, #10552) for more details.
* Change "disks" node to "drives" in OBD/info output. See (#10540) for more details.
* Please use mc version RELEASE.2020-09-23T20-02-13Z or newer along with this version of minio.
* Fix: uploads when quota is enabled. See (#10551) for more details.
* Fix: reduce healthcheck interval for storage rest client. See (#10544) for more details.
[1.140.0]
* Update minio to 2020-09-26T03-44-56Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-09-26T03-44-56Z)
* Lock related improvements. See (#10571) for more details.
* Faster disconnects and improvements to network error checks. See (#10567, #10562) for more details.
* Improvements to healing. See (#10569, #10561) for more details.
* federation: Honor range with UploadObjectPart to a different cluster. See (#10570) for more details.
* avoid ListBuckets returning quorum errors when node is down. See (#10555) for more details.
[1.141.0]
* Update minio to 2020-10-03T02-19-42Z
* Source configuration from /app/data/env.sh

View File

@@ -5,7 +5,7 @@
"description": "file://DESCRIPTION.md",
"changelog": "file://CHANGELOG",
"tagline": "Distributed object storage",
"version": "1.135.0",
"version": "1.141.0",
"healthCheckPath": "/minio/login",
"httpPort": 8000,
"addons": {

View File

@@ -1,4 +1,4 @@
This app packages Minio <upstream>2020-09-08T23-05-18Z</upstream>.
This app packages Minio <upstream>2020-10-03T02-19-42Z</upstream>.
Minio is a distributed object storage server built for cloud applications and devops.

View File

@@ -1,6 +1,6 @@
FROM cloudron/base:2.0.0@sha256:f9fea80513aa7c92fe2e7bf3978b54c8ac5222f47a9a32a7f8833edf0eb5a4f4
ARG VERSION=RELEASE.2020-09-08T23-05-18Z
ARG VERSION=RELEASE.2020-10-03T02-19-42Z
RUN mkdir -p /app/code \
&& wget https://dl.min.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio \

View File

@@ -4,11 +4,16 @@ set -eu
mkdir -p /app/data/data /run/minio/config /run/minio/certs
# minio is used for backups at times and has a large number of files. optimize by checking if files
# are actually in correct chown state
echo "==> Changing ownership"
chown -R cloudron:cloudron /app/data
[[ $(stat --format '%U' /app/data/data) != "cloudron" ]] && chown -R cloudron:cloudron /app/data
[[ ! -f /app/data/env.sh ]] && echo -e "# Add custom minio configuration to this file. Restart the app for changes to take effect.\n\nexport CLOUDRON_MINIO_STARTUP_ARGS='server /app/data/data'" > /app/data/env.sh
source /app/data/env.sh
# the --config-dir is deprecated and not used. but without it, minio will try to create $HOME/.minio :/ same for --certs-dir
echo "==> Starting minio"
exec /usr/local/bin/gosu cloudron:cloudron /app/code/minio --certs-dir /run/minio/certs --config-dir /run/minio/config --quiet server --address :8000 /app/data/data
exec /usr/local/bin/gosu cloudron:cloudron /app/code/minio --certs-dir /run/minio/certs --config-dir /run/minio/config --quiet ${CLOUDRON_MINIO_STARTUP_ARGS} --address :8000

View File

@@ -78,9 +78,17 @@ describe('Application life cycle test', function () {
}).then(function () {
return browser.findElement(by.id('top-right-menu')).click();
}).then(function () {
return visible(by.xpath('//*[text()="Sign Out "]'));
if (app.manifest.version === '1.137.0') {
return visible(by.xpath('//*[text()="Sign Out "]'));
} else {
return visible(by.xpath('//*[contains(text(), "Logout")]'));
}
}).then(function () {
return browser.findElement(by.xpath('//*[text()="Sign Out "]')).click();
if (app.manifest.version === '1.137.0') {
return browser.findElement(by.xpath('//*[text()="Sign Out "]')).click();
} else {
return browser.findElement(by.xpath('//*[contains(text(),"Logout")]')).click();
}
}).then(function () {
return browser.wait(until.elementLocated(by.id('accessKey')), TEST_TIMEOUT);
}).then(function () {
@@ -223,6 +231,8 @@ describe('Application life cycle test', function () {
it('can logout', logout);
it('can update', function () {
execSync('cloudron update --app ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
var inspect = JSON.parse(execSync('cloudron inspect'));
app = inspect.apps.filter(function (a) { return a.location === LOCATION; })[0];
});
it('can login', login.bind(null, 'minioadmin', 'minioadmin'));
it('has bucket', checkBucket);