mirror of
https://git.cloudron.io/cloudron/minio-app
synced 2025-09-14 17:09:08 +00:00
Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
1b03bf232f | ||
|
9d08c703e9 | ||
|
3b2df1b8a1 | ||
|
e4e84d7a26 | ||
|
3aa0241db8 | ||
|
4dc396041e | ||
|
027524dbd3 | ||
|
4379518d6c | ||
|
89b872c1c8 | ||
|
d82a5dfef3 | ||
|
50b82d8b57 | ||
|
17c84f8a1e |
26
CHANGELOG
26
CHANGELOG
@@ -6,3 +6,29 @@
|
|||||||
|
|
||||||
[0.2.0]
|
[0.2.0]
|
||||||
* Updated to 2017-01-25T03-14-52Z
|
* Updated to 2017-01-25T03-14-52Z
|
||||||
|
|
||||||
|
[0.2.1]
|
||||||
|
* Updated to 2017-02-16T01-47-30Z
|
||||||
|
* This version fixes the settings bug
|
||||||
|
|
||||||
|
[0.2.2]
|
||||||
|
* New base image 0.10.0
|
||||||
|
|
||||||
|
[0.2.3]
|
||||||
|
* Updated to 2017-03-16T21-50-32Z
|
||||||
|
|
||||||
|
[0.2.4]
|
||||||
|
* Updated to 2017-04-25T01-27-49Z
|
||||||
|
|
||||||
|
[0.2.5]
|
||||||
|
* Updated to 2017-04-29T00-40-27Z
|
||||||
|
|
||||||
|
[0.2.6]
|
||||||
|
* Updated to 2017-05-05T01-14-51Z
|
||||||
|
|
||||||
|
[0.2.7]
|
||||||
|
* Updated to 2017-06-13T19-01-01Z
|
||||||
|
|
||||||
|
[0.3.0]
|
||||||
|
* Update to 2017-07-24T18-27-35Z
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
"description": "file://DESCRIPTION.md",
|
"description": "file://DESCRIPTION.md",
|
||||||
"changelog": "file://CHANGELOG",
|
"changelog": "file://CHANGELOG",
|
||||||
"tagline": "Distributed object storage",
|
"tagline": "Distributed object storage",
|
||||||
"version": "0.2.0",
|
"version": "0.3.0",
|
||||||
"healthCheckPath": "/minio/login",
|
"healthCheckPath": "/minio/login",
|
||||||
"httpPort": 8000,
|
"httpPort": 8000,
|
||||||
"addons": {
|
"addons": {
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
This app packages Minio 2017-01-25T03-14-52Z.
|
This app packages Minio <upstream>2017-07-24T18-27-35Z</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,9 +1,9 @@
|
|||||||
FROM cloudron/base:0.9.0
|
FROM cloudron/base:0.10.0
|
||||||
MAINTAINER Minio Developers <support@cloudron.io>
|
MAINTAINER Minio Developers <support@cloudron.io>
|
||||||
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|
||||||
ENV VERSION 2017-01-25T03-14-52Z
|
ENV VERSION 2017-07-24T18-27-35Z
|
||||||
|
|
||||||
RUN mkdir -p /app/code \
|
RUN mkdir -p /app/code \
|
||||||
&& wget https://dl.minio.io/server/minio/release/linux-amd64/archive/minio.RELEASE.${VERSION} -O /app/code/minio \
|
&& wget https://dl.minio.io/server/minio/release/linux-amd64/archive/minio.RELEASE.${VERSION} -O /app/code/minio \
|
||||||
|
@@ -6,7 +6,7 @@ This repository contains the Cloudron app package source for [Minio](http://www.
|
|||||||
|
|
||||||
[](https://cloudron.io/button.html?app=io.minio.cloudronapp)
|
[](https://cloudron.io/button.html?app=io.minio.cloudronapp)
|
||||||
|
|
||||||
or using the [Cloudron command line tooling](https://cloudron.io/references/cli.html)
|
or using the [Cloudron command line tooling](https://git.cloudron.io/cloudron/cloudron-cli/)
|
||||||
|
|
||||||
```
|
```
|
||||||
cloudron install --appstore-id io.minio.cloudronapp
|
cloudron install --appstore-id io.minio.cloudronapp
|
||||||
@@ -14,7 +14,7 @@ cloudron install --appstore-id io.minio.cloudronapp
|
|||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
|
||||||
The app package can be built using the [Cloudron command line tooling](https://cloudron.io/references/cli.html).
|
The app package can be built using the [Cloudron command line tooling](https://git.cloudron.io/cloudron/cloudron-cli/).
|
||||||
|
|
||||||
```
|
```
|
||||||
cd minio-app
|
cd minio-app
|
||||||
@@ -31,7 +31,6 @@ The e2e tests are located in the `test/` folder and require [nodejs](http://node
|
|||||||
cd minio-app/test
|
cd minio-app/test
|
||||||
|
|
||||||
npm install
|
npm install
|
||||||
export PATH=$PATH:node_modules/.bin
|
PATH=$PATH:node_modules/.bin mocha --bail test.js
|
||||||
mocha --bail test.js
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
22
test/test.js
22
test/test.js
@@ -41,7 +41,7 @@ describe('Application life cycle test', function () {
|
|||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
|
|
||||||
var LOCATION = 'minio-test';
|
var LOCATION = 'test';
|
||||||
var TEST_TIMEOUT = 10000;
|
var TEST_TIMEOUT = 10000;
|
||||||
var app;
|
var app;
|
||||||
|
|
||||||
@@ -108,6 +108,21 @@ describe('Application life cycle test', function () {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function openSettings(callback) {
|
||||||
|
browser.get('https://' + app.fqdn);
|
||||||
|
|
||||||
|
pageLoaded(function () {
|
||||||
|
visible(by.id('top-right-menu'), function () {
|
||||||
|
browser.findElement(by.id('top-right-menu')).click();
|
||||||
|
visible(by.xpath('//*[text()="Settings "]'), function () {
|
||||||
|
browser.findElement(by.xpath('//*[text()="Settings "]')).click();
|
||||||
|
|
||||||
|
browser.wait(until.elementLocated(by.xpath('//*[text()="Generate"]')), TEST_TIMEOUT).then(function () { callback(); });
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
xit('build app', function () {
|
xit('build app', function () {
|
||||||
execSync('cloudron build', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
execSync('cloudron build', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
||||||
});
|
});
|
||||||
@@ -126,6 +141,7 @@ describe('Application life cycle test', function () {
|
|||||||
|
|
||||||
it('can login', login);
|
it('can login', login);
|
||||||
it('can add buckets', addBucket);
|
it('can add buckets', addBucket);
|
||||||
|
it('can open settings', openSettings);
|
||||||
it('can logout', logout);
|
it('can logout', logout);
|
||||||
|
|
||||||
it('backup app', function () {
|
it('backup app', function () {
|
||||||
@@ -138,11 +154,12 @@ describe('Application life cycle test', function () {
|
|||||||
|
|
||||||
it('can login', login);
|
it('can login', login);
|
||||||
it('can add buckets', addBucket);
|
it('can add buckets', addBucket);
|
||||||
|
it('can open settings', openSettings);
|
||||||
it('can logout', logout);
|
it('can logout', logout);
|
||||||
|
|
||||||
it('move to different location', function () {
|
it('move to different location', function () {
|
||||||
browser.manage().deleteAllCookies();
|
browser.manage().deleteAllCookies();
|
||||||
execSync('cloudron configure --location ' + LOCATION + '2', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
execSync('cloudron configure --wait --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');
|
||||||
@@ -150,6 +167,7 @@ describe('Application life cycle test', function () {
|
|||||||
|
|
||||||
it('can login', login);
|
it('can login', login);
|
||||||
it('can add buckets', addBucket);
|
it('can add buckets', addBucket);
|
||||||
|
it('can open settings', openSettings);
|
||||||
it('can logout', logout);
|
it('can logout', logout);
|
||||||
|
|
||||||
it('uninstall app', function () {
|
it('uninstall app', function () {
|
||||||
|
Reference in New Issue
Block a user