Custom env vars for apps
Add a table and the install/configure routes. Initially, I thought we can just keep the env vars in docker container but that doesn't work since we create the container only later in apptask. And if the container gets deleted we lose this information.
This commit is contained in:
@@ -110,7 +110,10 @@ describe('Apps', function () {
|
||||
memoryLimit: 0,
|
||||
robotsTxt: null,
|
||||
sso: false,
|
||||
ownerId: USER_0.id
|
||||
ownerId: USER_0.id,
|
||||
env: {
|
||||
'CUSTOM_KEY': 'CUSTOM_VALUE'
|
||||
}
|
||||
};
|
||||
|
||||
var APP_1 = {
|
||||
@@ -125,7 +128,8 @@ describe('Apps', function () {
|
||||
portBindings: {},
|
||||
accessRestriction: { users: [ 'someuser' ], groups: [ GROUP_0.id ] },
|
||||
memoryLimit: 0,
|
||||
ownerId: USER_0.id
|
||||
ownerId: USER_0.id,
|
||||
env: {}
|
||||
};
|
||||
|
||||
var APP_2 = {
|
||||
@@ -142,7 +146,8 @@ describe('Apps', function () {
|
||||
memoryLimit: 0,
|
||||
robotsTxt: null,
|
||||
sso: false,
|
||||
ownerId: USER_0.id
|
||||
ownerId: USER_0.id,
|
||||
env: {}
|
||||
};
|
||||
|
||||
before(function (done) {
|
||||
|
||||
Reference in New Issue
Block a user