
Node plagin run tests in adc order, as result platfrom tests runs before smoke, that is wrong So platfrom_test to tests_platfrom to get smoke tests executedbefore platform Closes-Bug: #1465238 Change-Id: I91774614afb7edc0ecec3f5b592b75db224ac543
31 lines
662 B
YAML
31 lines
662 B
YAML
Namespaces:
|
|
=: io.murano.apps
|
|
std: io.murano
|
|
sys: io.murano.system
|
|
res: io.murano.resources
|
|
|
|
|
|
Name: Simple
|
|
|
|
Extends: std:Application
|
|
|
|
Properties:
|
|
name:
|
|
Contract: $.string().notNull()
|
|
instance:
|
|
Contract: $.class(res:Instance).notNull()
|
|
|
|
Methods:
|
|
initialize:
|
|
Body:
|
|
- $.environment: $.find(std:Environment).require()
|
|
|
|
deploy:
|
|
Body:
|
|
- If: not $.getAttr(deployed, false)
|
|
Then:
|
|
- $.environment.reporter.report($this, 'Starting SimpleApp deployment!')
|
|
- $.instance.deploy()
|
|
- $.environment.reporter.report($this, 'SimpleApp deployment is finished')
|
|
- $.setAttr(deployed, true)
|