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

Compare commits

...

10 Commits

Author SHA1 Message Date
Girish Ramakrishnan
9834ec1c8e Version 1.92.0 2020-02-09 07:50:44 -08:00
Girish Ramakrishnan
7ed03bef1b Update minio to 2020-02-07T23-28-16Z 2020-02-09 07:43:45 -08:00
Girish Ramakrishnan
d6958e05db Version 1.91.0 2020-01-26 15:08:31 -08:00
Girish Ramakrishnan
588125b5f4 Update minio to 2020-01-25T02-50-51Z 2020-01-26 14:55:52 -08:00
Girish Ramakrishnan
891169e87b add some basic key validation 2020-01-17 11:09:14 -08:00
Girish Ramakrishnan
38f24649fe Version 1.90.0 2020-01-16 16:10:36 -08:00
Girish Ramakrishnan
7f8ae63c00 Fix tests 2020-01-16 16:05:59 -08:00
Girish Ramakrishnan
4ee1e0e8ad Update minio to 2020-01-16T22-40-29Z 2020-01-16 16:04:43 -08:00
Girish Ramakrishnan
02b00f4476 Avoid double docs link 2020-01-16 16:04:13 -08:00
Girish Ramakrishnan
b524016d72 formatting 2020-01-16 16:01:44 -08:00
7 changed files with 20 additions and 10 deletions

View File

@@ -408,3 +408,12 @@
[1.89.0]
* Update minio to 2020-01-16T03-05-44Z
[1.90.0]
* Update minio to 2020-01-16T22-40-29Z
[1.91.0]
* Update minio to 2020-01-25T02-50-51Z
[1.92.0]
* Update minio to 2020-02-07T23-28-16Z

View File

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

View File

@@ -1,4 +1,4 @@
This app packages Minio <upstream>2020-01-16T03-05-44Z</upstream>.
This app packages Minio <upstream>2020-02-07T23-28-16Z</upstream>.
Minio is a distributed object storage server built for cloud applications and devops.

View File

@@ -1,6 +1,6 @@
FROM cloudron/base:1.0.0@sha256:147a648a068a2e746644746bbfb42eb7a50d682437cead3c67c933c546357617
ARG VERSION=RELEASE.2020-01-16T03-05-44Z
ARG VERSION=RELEASE.2020-02-07T23-28-16Z
RUN mkdir -p /app/code \
&& wget https://dl.minio.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio \

View File

@@ -5,7 +5,4 @@ Please use the following credentials to login:
* AccessKey: `minioadmin`
* SecretKey: `minioadmin`
See the [documentation](https://cloudron.io/documentation/apps/minio/) on how to change
the admin credentials.
**Please change the credentials immediately**
**Please change the credentials immediately following the docs**

View File

@@ -24,13 +24,17 @@ if (process.argv[2] === 'get') {
} else if (process.argv[2] === 'set') {
if (process.argv.length !== 5) return usage();
// https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateAccessKey.html
if (process.argv[4].length < 5) return console.log('secret key must be atleast 5 characters');
if (!/^[\w+=,.@-]+$/.test(process.argv[3])) return console.log('access key has invalid characters');
accessKey.value = process.argv[3];
if (process.argv[4].length < 8) return console.log('secret key must be atleast 8 characters');
secretKey.value = process.argv[4];
fs.writeFileSync(MINIO_CONFIG, JSON.stringify(config), 'utf8');
console.log('Credentials updated\n. Restart minio app for new credentials to take effect.\n');
console.log('Credentials updated. Restart minio app for new credentials to take effect.\n');
} else {
usage();
}

View File

@@ -213,13 +213,13 @@ describe('Application life cycle test', function () {
expect(app).to.be.an('object');
});
it('can login', login.bind(null, 'admin', 'secretkey')); // old!
it('can login', login.bind(null, 'minioadmin', 'minioadmin'));
it('can add buckets', addBucket);
it('can logout', logout);
it('can update', function () {
execSync('cloudron update --app ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
});
it('can login', login.bind(null, 'admin', 'secretkey')); // old!
it('can login', login.bind(null, 'minioadmin', 'minioadmin'));
it('has bucket', checkBucket);
it('can logout', logout);
it('uninstall app', function () {