mirror of
https://git.cloudron.io/cloudron/minio-app
synced 2025-09-13 16:29:13 +00:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
50b82d8b57 | ||
|
17c84f8a1e | ||
|
d770b101b0 |
10
CHANGELOG
10
CHANGELOG
@@ -3,3 +3,13 @@
|
||||
|
||||
[0.1.1]
|
||||
* Added screenshots
|
||||
|
||||
[0.2.0]
|
||||
* 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
|
||||
|
@@ -4,8 +4,8 @@
|
||||
"author": "Minio Developers",
|
||||
"description": "file://DESCRIPTION.md",
|
||||
"changelog": "file://CHANGELOG",
|
||||
"tagline": "Minio is a distributed object storage server built for cloud applications and devops.",
|
||||
"version": "0.1.1",
|
||||
"tagline": "Distributed object storage",
|
||||
"version": "0.2.2",
|
||||
"healthCheckPath": "/minio/login",
|
||||
"httpPort": 8000,
|
||||
"addons": {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
This app packages Minio 2016-12-13T17-19-42Z.
|
||||
This app packages Minio 2017-01-25T03-14-52Z.
|
||||
|
||||
Minio is a distributed object storage server built for cloud applications and devops.
|
||||
|
||||
|
@@ -1,10 +1,12 @@
|
||||
FROM cloudron/base:0.9.0
|
||||
FROM cloudron/base:0.10.0
|
||||
MAINTAINER Minio Developers <support@cloudron.io>
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
ENV VERSION 2017-02-16T01-47-30Z
|
||||
|
||||
RUN mkdir -p /app/code \
|
||||
&& wget https://dl.minio.io/server/minio/release/linux-amd64/archive/minio.RELEASE.2016-12-13T17-19-42Z -O /app/code/minio \
|
||||
&& wget https://dl.minio.io/server/minio/release/linux-amd64/archive/minio.RELEASE.${VERSION} -O /app/code/minio \
|
||||
&& chmod +x /app/code/minio
|
||||
|
||||
WORKDIR /app/code
|
||||
|
@@ -16,6 +16,7 @@
|
||||
"rimraf": "^2.5.3",
|
||||
"selenium-server-standalone-jar": "^2.53.1",
|
||||
"selenium-webdriver": "^2.53.3",
|
||||
"superagent": "^1.4.0"
|
||||
"superagent": "^1.4.0",
|
||||
"chromedriver": "^2.27.0"
|
||||
}
|
||||
}
|
||||
|
20
test/test.js
20
test/test.js
@@ -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 () {
|
||||
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 add buckets', addBucket);
|
||||
it('can open settings', openSettings);
|
||||
it('can logout', logout);
|
||||
|
||||
it('backup app', function () {
|
||||
@@ -138,11 +154,12 @@ describe('Application life cycle test', function () {
|
||||
|
||||
it('can login', login);
|
||||
it('can add buckets', addBucket);
|
||||
it('can open settings', openSettings);
|
||||
it('can logout', logout);
|
||||
|
||||
it('move to different location', function () {
|
||||
browser.manage().deleteAllCookies();
|
||||
execSync('cloudron install --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'));
|
||||
app = inspect.apps.filter(function (a) { return a.location === LOCATION + '2'; })[0];
|
||||
expect(app).to.be.an('object');
|
||||
@@ -150,6 +167,7 @@ describe('Application life cycle test', function () {
|
||||
|
||||
it('can login', login);
|
||||
it('can add buckets', addBucket);
|
||||
it('can open settings', openSettings);
|
||||
it('can logout', logout);
|
||||
|
||||
it('uninstall app', function () {
|
||||
|
Reference in New Issue
Block a user