@contrail/cli 1.0.24 → 1.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -58,6 +58,7 @@ export class AppDeployer {
58
58
  configProperties,
59
59
  triggerKeyDefinitions,
60
60
  isDockerBased: appDeclaration.isDockerBased,
61
+ dockerImageRef: appDeclaration.dockerImageRef,
61
62
  };
62
63
  const app = await new Entities().create({ entityName: 'app', object: newApp });
63
64
  console.log(`%s Created new app: ${app.name}`, chalk.yellow.bold('APP'));
@@ -22,6 +22,7 @@ export interface AppDeclaration {
22
22
  [key: string]: WorkflowDefinition | WorkflowTemplateDeclaration;
23
23
  };
24
24
  isDockerBased?: boolean;
25
+ dockerImageRef?: string;
25
26
  }
26
27
  export interface ConfigPropertyElements {
27
28
  [key: string]: ConfigPropertyElement;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/cli",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "VibeIQ's Contrail Platform CLI.",
5
5
  "main": "lib/index.js",
6
6
  "bin": {
@@ -66,6 +66,7 @@ export class AppDeployer {
66
66
  configProperties,
67
67
  triggerKeyDefinitions,
68
68
  isDockerBased: appDeclaration.isDockerBased,
69
+ dockerImageRef: appDeclaration.dockerImageRef,
69
70
  };
70
71
  const app = await new Entities().create({ entityName: 'app', object: newApp });
71
72
  console.log(`%s Created new app: ${app.name}`, chalk.yellow.bold('APP'));
package/src/interfaces.ts CHANGED
@@ -16,6 +16,7 @@ export interface AppDeclaration {
16
16
  triggers: { [key: string]: AppTriggerDeclaration };
17
17
  workflows?: { [key: string]: WorkflowDefinition|WorkflowTemplateDeclaration };
18
18
  isDockerBased?: boolean;
19
+ dockerImageRef?: string;
19
20
  }
20
21
 
21
22
  export interface ConfigPropertyElements {