mirror of
https://git.cloudron.io/cloudron/minio-app
synced 2025-09-13 08:19:12 +00:00
Compare commits
84 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
1f76bbfd77 | ||
|
f7c784c228 | ||
|
ee7795df9a | ||
|
6dd64a829c | ||
|
75e7154353 | ||
|
3b8576093e | ||
|
5dd4f2d8e3 | ||
|
00a2c3569b | ||
|
cc7890f71d | ||
|
f156ab5168 | ||
|
0b2d206655 | ||
|
4c01df72b5 | ||
|
ada7671d81 | ||
|
5a0ec69dfd | ||
|
bf4f230766 | ||
|
49b6a854f9 | ||
|
5f72ec0c47 | ||
|
fc2a5016eb | ||
|
52d85d06a8 | ||
|
2e87474fc0 | ||
|
252ffc4128 | ||
|
a591960982 | ||
|
371db41bac | ||
|
ea4c66ea9e | ||
|
34e7ea8a94 | ||
|
1bf20110ce | ||
|
d58be51a79 | ||
|
0e8e1525d0 | ||
|
f362df6f92 | ||
|
c0da9e678b | ||
|
3780f971e3 | ||
|
0e26a175fb | ||
|
474243b6a0 | ||
|
41b7a699ec | ||
|
35103b8888 | ||
|
ae33b6cd32 | ||
|
a1ee8284b3 | ||
|
0b94589ca7 | ||
|
fa5921039d | ||
|
82474bb099 | ||
|
080f9f2756 | ||
|
6f1aeb6adf | ||
|
a464984a9b | ||
|
06702b72a6 | ||
|
6bfa60424c | ||
|
9ef4a9b6ce | ||
|
5c3c319d57 | ||
|
1b28eef31b | ||
|
95ccb12a84 | ||
|
71be7ea8a7 | ||
|
625fde23b7 | ||
|
be069e9849 | ||
|
a6571e8e6e | ||
|
2e299fce84 | ||
|
7a49168732 | ||
|
fe56ecfd3d | ||
|
2b96c15d8c | ||
|
e7bd62c4ef | ||
|
c887c30e92 | ||
|
1f184eacbf | ||
|
0c8d81686b | ||
|
0f89e283cf | ||
|
cfabc51ae5 | ||
|
067f8069eb | ||
|
44236fb8a6 | ||
|
98a80ebe26 | ||
|
2323b653e1 | ||
|
caed9ab165 | ||
|
d754979356 | ||
|
fb4db828f1 | ||
|
1edd7cf09a | ||
|
e3f7780921 | ||
|
0e0869148b | ||
|
7c5a36dd61 | ||
|
9e5350068f | ||
|
2588b6acf1 | ||
|
14be49edf1 | ||
|
b03de0c6f2 | ||
|
3618aa0f9e | ||
|
30b42a8cba | ||
|
9545cbb4e7 | ||
|
b2fad00b2d | ||
|
76eb4498e6 | ||
|
5dbe388b18 |
130
CHANGELOG
130
CHANGELOG
@@ -272,3 +272,133 @@
|
|||||||
[1.48.0]
|
[1.48.0]
|
||||||
* Update minio to 2019-02-12T21-58-47Z
|
* Update minio to 2019-02-12T21-58-47Z
|
||||||
|
|
||||||
|
[1.49.0]
|
||||||
|
* Update minio to 2019-02-14T00-21-45Z
|
||||||
|
|
||||||
|
[1.50.0]
|
||||||
|
* Update minio to 2019-02-20T22-44-29Z
|
||||||
|
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2019-02-20T22-44-29Z)
|
||||||
|
* Security Fix: Incoming requests with unusual behavior are now validated.Please see here for more details. Upgrade is recommended.
|
||||||
|
* Simplified and fixed vault token renewal. See #7241 for details.
|
||||||
|
* Added support for HTTP/2.0 in Minio Server. See #7204 for details.
|
||||||
|
|
||||||
|
[1.51.0]
|
||||||
|
* Update minio to 2019-02-26T19-51-46Z
|
||||||
|
* Bug fixes in various areas such as json & csv handling.
|
||||||
|
* s3: Encode StartAfter when encoding type is passed (#7281) (02/25/19)
|
||||||
|
* s3: Add support of encodingType parameter (#7265) (02/24/19)
|
||||||
|
|
||||||
|
[1.52.0]
|
||||||
|
* Update minio to 2019-03-06T22-47-10Z
|
||||||
|
* Added support for temporary credentials for minio users via AssumeRole API. See here for details.
|
||||||
|
* Miscellaneous bugfix improvements in areas such as snappy compression, copyobjectpart, listobjects performance and detecting mountpoints.
|
||||||
|
|
||||||
|
[1.53.0]
|
||||||
|
* Update minio to 2019-03-13T21-59-47Z
|
||||||
|
* Miscellaneous improvements in various areas such as healing, S3Select, http2, etcd & coreDNS integrations.
|
||||||
|
|
||||||
|
[1.54.0]
|
||||||
|
* Update minio to 2019-03-20T22-38-47Z
|
||||||
|
|
||||||
|
[1.55.0]
|
||||||
|
* Update minio to 2019-03-27T22-35-21Z
|
||||||
|
|
||||||
|
[1.56.0]
|
||||||
|
* Update miniot to 2019-04-04T18-31-46Z
|
||||||
|
* (security) fix privilege escalation against inter-node communication
|
||||||
|
* (security) Validate if bucket names are internal
|
||||||
|
* canonicalize ETag correctly
|
||||||
|
|
||||||
|
[1.57.0]
|
||||||
|
* Update minio to 2019-04-09T01-22-30Z
|
||||||
|
|
||||||
|
[1.58.0]
|
||||||
|
* Update minio to 2019-04-18T21-44-59Z
|
||||||
|
|
||||||
|
[1.59.0]
|
||||||
|
* Update minio to 2019-04-23T23-50-36Z
|
||||||
|
|
||||||
|
[1.60.0]
|
||||||
|
* Update minio to 2019-05-02T19-07-09Z
|
||||||
|
|
||||||
|
[1.61.0]
|
||||||
|
* Update minio to 2019-05-14T23-57-45Z
|
||||||
|
|
||||||
|
[1.62.0]
|
||||||
|
* Update minio to 2019-05-23T00-29-34Z
|
||||||
|
|
||||||
|
[1.63.0]
|
||||||
|
* Update minio to 2019-06-01T03-46-14Z
|
||||||
|
|
||||||
|
[1.64.0]
|
||||||
|
* Update minio to 2019-06-04T01-15-58Z
|
||||||
|
|
||||||
|
[1.65.0]
|
||||||
|
* Update minio to 2019-06-11T00-44-33Z
|
||||||
|
|
||||||
|
[1.66.0]
|
||||||
|
* Update minio to 2019-06-15T23-07-18Z
|
||||||
|
|
||||||
|
[1.67.0]
|
||||||
|
* Update minio to 2019-06-19T18-24-42Z
|
||||||
|
|
||||||
|
[1.68.0]
|
||||||
|
* Update minio to 2019-06-27T21-13-50Z
|
||||||
|
|
||||||
|
[1.69.0]
|
||||||
|
* Update minio to 2019-07-05T21-20-21Z
|
||||||
|
|
||||||
|
[1.70.0]
|
||||||
|
* Update minio to 2019-07-10T00-34-56Z
|
||||||
|
|
||||||
|
[1.71.0]
|
||||||
|
* Update minio to 2019-07-17T22-54-12Z
|
||||||
|
|
||||||
|
[1.72.0]
|
||||||
|
* Update minio to 2019-07-24T02-02-23Z
|
||||||
|
|
||||||
|
[1.73.0]
|
||||||
|
* Update minio to 2019-08-01T22-18-54Z
|
||||||
|
|
||||||
|
[1.74.0]
|
||||||
|
* Update minio to 2019-08-07T01-59-21Z
|
||||||
|
|
||||||
|
[1.75.0]
|
||||||
|
* Update minio to 2019-08-14T20-37-41Z
|
||||||
|
|
||||||
|
[1.76.0]
|
||||||
|
* Update minio to 2019-08-21T19-40-07Z
|
||||||
|
|
||||||
|
[1.77.0]
|
||||||
|
* Update minio to 2019-08-29T00-25-01Z
|
||||||
|
|
||||||
|
[1.78.0]
|
||||||
|
* Update minio to 2019-09-05T23-24-38Z
|
||||||
|
|
||||||
|
[1.79.0]
|
||||||
|
* Update minio to 2019-09-11T19-53-16Z
|
||||||
|
|
||||||
|
[1.80.0]
|
||||||
|
* Update minio to 2019-09-18T21-55-05Z
|
||||||
|
|
||||||
|
[1.81.0]
|
||||||
|
* Update minio to 2019-09-25T18-25-51Z
|
||||||
|
|
||||||
|
[1.82.0]
|
||||||
|
* Update minio to 2019-09-26T19-42-35Z
|
||||||
|
|
||||||
|
[1.83.0]
|
||||||
|
* Update minio to 2019-10-02T21-19-38Z
|
||||||
|
|
||||||
|
[1.84.0]
|
||||||
|
* Update minio to 2019-10-11T00-38-09Z
|
||||||
|
|
||||||
|
[1.85.0]
|
||||||
|
* Update minio to 2019-10-12T01-39-57Z
|
||||||
|
|
||||||
|
[1.86.0]
|
||||||
|
* Update minio to 2019-12-19T22-52-26Z
|
||||||
|
|
||||||
|
[1.87.0]
|
||||||
|
* Update minio to 2019-12-30T05-45-39Z
|
||||||
|
|
||||||
|
@@ -5,15 +5,15 @@
|
|||||||
"description": "file://DESCRIPTION.md",
|
"description": "file://DESCRIPTION.md",
|
||||||
"changelog": "file://CHANGELOG",
|
"changelog": "file://CHANGELOG",
|
||||||
"tagline": "Distributed object storage",
|
"tagline": "Distributed object storage",
|
||||||
"version": "1.48.0",
|
"version": "1.87.0",
|
||||||
"healthCheckPath": "/minio/login",
|
"healthCheckPath": "/minio/login",
|
||||||
"httpPort": 8000,
|
"httpPort": 8000,
|
||||||
"addons": {
|
"addons": {
|
||||||
"localstorage": {}
|
"localstorage": {}
|
||||||
},
|
},
|
||||||
"manifestVersion": 1,
|
"manifestVersion": 2,
|
||||||
"website": "http://www.minio.io",
|
"website": "http://www.minio.io",
|
||||||
"minBoxVersion": "1.8.1",
|
"minBoxVersion": "4.1.4",
|
||||||
"documentationUrl": "https://cloudron.io/documentation/apps/minio/",
|
"documentationUrl": "https://cloudron.io/documentation/apps/minio/",
|
||||||
"contactEmail": "support@cloudron.io",
|
"contactEmail": "support@cloudron.io",
|
||||||
"icon": "logo.png",
|
"icon": "logo.png",
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
This app packages Minio <upstream>2019-02-12T21-58-47Z</upstream>.
|
This app packages Minio <upstream>2019-12-30T05-45-39Z</upstream>.
|
||||||
|
|
||||||
Minio is a distributed object storage server built for cloud applications and devops.
|
Minio is a distributed object storage server built for cloud applications and devops.
|
||||||
|
|
||||||
|
@@ -1,7 +1,9 @@
|
|||||||
FROM cloudron/base:1.0.0@sha256:147a648a068a2e746644746bbfb42eb7a50d682437cead3c67c933c546357617
|
FROM cloudron/base:1.0.0@sha256:147a648a068a2e746644746bbfb42eb7a50d682437cead3c67c933c546357617
|
||||||
|
|
||||||
|
ARG VERSION=RELEASE.2019-12-30T05-45-39Z
|
||||||
|
|
||||||
RUN mkdir -p /app/code \
|
RUN mkdir -p /app/code \
|
||||||
&& wget https://dl.minio.io/server/minio/release/linux-amd64/minio.RELEASE.2019-02-12T21-58-47Z -O /app/code/minio \
|
&& wget https://dl.minio.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio \
|
||||||
&& chmod +x /app/code/minio
|
&& chmod +x /app/code/minio
|
||||||
|
|
||||||
WORKDIR /app/code
|
WORKDIR /app/code
|
||||||
|
1661
test/package-lock.json
generated
1661
test/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -9,14 +9,14 @@
|
|||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chromedriver": "^2.36.0",
|
"chromedriver": "^79.0.0",
|
||||||
"ejs": "^2.4.2",
|
"ejs": "^3.0.1",
|
||||||
"expect.js": "^0.3.1",
|
"expect.js": "^0.3.1",
|
||||||
"mkdirp": "^0.5.1",
|
"mkdirp": "^0.5.1",
|
||||||
"mocha": "^2.5.3",
|
"mocha": "^6.2.2",
|
||||||
"rimraf": "^2.5.3",
|
"rimraf": "^3.0.0",
|
||||||
"selenium-server-standalone-jar": "^2.53.1",
|
"selenium-server-standalone-jar": "^3.141.59",
|
||||||
"selenium-webdriver": "^2.53.3",
|
"selenium-webdriver": "^3.6.0",
|
||||||
"superagent": "^1.4.0"
|
"superagent": "^5.1.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
29
test/test.js
29
test/test.js
@@ -9,8 +9,10 @@ var execSync = require('child_process').execSync,
|
|||||||
path = require('path'),
|
path = require('path'),
|
||||||
webdriver = require('selenium-webdriver');
|
webdriver = require('selenium-webdriver');
|
||||||
|
|
||||||
var by = webdriver.By,
|
var by = require('selenium-webdriver').By,
|
||||||
until = webdriver.until;
|
until = require('selenium-webdriver').until,
|
||||||
|
Key = require('selenium-webdriver').Key,
|
||||||
|
Builder = require('selenium-webdriver').Builder;
|
||||||
|
|
||||||
var accessKey = 'admin',
|
var accessKey = 'admin',
|
||||||
secretKey = 'secretkey';
|
secretKey = 'secretkey';
|
||||||
@@ -23,8 +25,7 @@ process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
|
|||||||
describe('Application life cycle test', function () {
|
describe('Application life cycle test', function () {
|
||||||
this.timeout(0);
|
this.timeout(0);
|
||||||
|
|
||||||
var chrome = require('selenium-webdriver/chrome');
|
var server, browser = new Builder().forBrowser('chrome').build();
|
||||||
var server, browser = new chrome.Driver();
|
|
||||||
|
|
||||||
before(function (done) {
|
before(function (done) {
|
||||||
var seleniumJar= require('selenium-server-standalone-jar');
|
var seleniumJar= require('selenium-server-standalone-jar');
|
||||||
@@ -95,13 +96,15 @@ describe('Application life cycle test', function () {
|
|||||||
browser.get('https://' + app.fqdn);
|
browser.get('https://' + app.fqdn);
|
||||||
|
|
||||||
pageLoaded().then(function () {
|
pageLoaded().then(function () {
|
||||||
return visible(by.className('fa fa-plus'));
|
return visible(by.className('fa-plus'));
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
return browser.findElement(by.className('fa fa-plus')).click();
|
return browser.findElement(by.className('fa-plus')).click();
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
return visible(by.className('fa fa-hdd-o'));
|
const c = 'fa-hdd';
|
||||||
|
return visible(by.className(c));
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
return browser.findElement(by.className('fa fa-hdd-o')).click();
|
const c = 'fa-hdd';
|
||||||
|
return browser.findElement(by.className(c)).click();
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
return visible(by.xpath('//*[@class="modal-body"]/form/div/input'));
|
return visible(by.xpath('//*[@class="modal-body"]/form/div/input'));
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
@@ -148,7 +151,7 @@ describe('Application life cycle test', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('install app', function () {
|
it('install app', function () {
|
||||||
execSync('cloudron install --new --wait --location ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
execSync('cloudron install --location ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
||||||
});
|
});
|
||||||
|
|
||||||
it('can get app information', function () {
|
it('can get app information', function () {
|
||||||
@@ -165,7 +168,7 @@ describe('Application life cycle test', function () {
|
|||||||
it('can logout', logout);
|
it('can logout', logout);
|
||||||
|
|
||||||
it('can restart app', function (done) {
|
it('can restart app', function (done) {
|
||||||
execSync('cloudron restart --wait');
|
execSync('cloudron restart');
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -188,7 +191,7 @@ describe('Application life cycle test', function () {
|
|||||||
|
|
||||||
it('move to different location', function () {
|
it('move to different location', function () {
|
||||||
browser.manage().deleteAllCookies();
|
browser.manage().deleteAllCookies();
|
||||||
execSync('cloudron configure --wait --location ' + LOCATION + '2', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
execSync('cloudron configure --location ' + LOCATION + '2', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
||||||
var inspect = JSON.parse(execSync('cloudron inspect'));
|
var inspect = JSON.parse(execSync('cloudron inspect'));
|
||||||
app = inspect.apps.filter(function (a) { return a.location === LOCATION + '2'; })[0];
|
app = inspect.apps.filter(function (a) { return a.location === LOCATION + '2'; })[0];
|
||||||
expect(app).to.be.an('object');
|
expect(app).to.be.an('object');
|
||||||
@@ -204,7 +207,7 @@ describe('Application life cycle test', function () {
|
|||||||
|
|
||||||
// test update
|
// test update
|
||||||
it('can install app', function () {
|
it('can install app', function () {
|
||||||
execSync('cloudron install --new --wait --appstore-id io.minio.cloudronapp --location ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
execSync('cloudron install --appstore-id io.minio.cloudronapp --location ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
||||||
var inspect = JSON.parse(execSync('cloudron inspect'));
|
var inspect = JSON.parse(execSync('cloudron inspect'));
|
||||||
app = inspect.apps.filter(function (a) { return a.location === LOCATION; })[0];
|
app = inspect.apps.filter(function (a) { return a.location === LOCATION; })[0];
|
||||||
expect(app).to.be.an('object');
|
expect(app).to.be.an('object');
|
||||||
@@ -214,7 +217,7 @@ describe('Application life cycle test', function () {
|
|||||||
it('can add buckets', addBucket);
|
it('can add buckets', addBucket);
|
||||||
it('can logout', logout);
|
it('can logout', logout);
|
||||||
it('can update', function () {
|
it('can update', function () {
|
||||||
execSync('cloudron install --wait --app ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
execSync('cloudron update --app ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
||||||
});
|
});
|
||||||
it('can login', login);
|
it('can login', login);
|
||||||
it('has bucket', checkBucket);
|
it('has bucket', checkBucket);
|
||||||
|
Reference in New Issue
Block a user