Split deploy method on 2 methods
* deploy method is now splitted on 2 methods: deployInstance and deployApplication. * Put the package CiCdUtils in the right place so the script prepare_packages.sh builds it before building Jenkins/Gerrit/LDAP/Zuul/Nodepool Change-Id: Ia5367cfa74bb07f42e56bc64a7e1bbac1f0702ae
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
Namespaces:
|
||||
=: org.openstack.ci_cd_pipeline_murano_app.utils
|
||||
res: io.murano.resources
|
||||
std: io.murano
|
||||
sys: io.murano.system
|
||||
|
||||
Name: CombinableApplication
|
||||
|
||||
Methods:
|
||||
deploy:
|
||||
Body:
|
||||
- $instance: $.deployInstance()
|
||||
- $.deployApplication($instance)
|
||||
|
||||
# This method should be overriden in child classes.
|
||||
deployInstance:
|
||||
|
||||
# This method should be overriden in child classes.
|
||||
deployApplication:
|
||||
Arguments:
|
||||
- instance:
|
||||
Contract: $.class(res:Instance).notNull()
|
||||
@@ -9,6 +9,6 @@ Author: 'Mirantis, Inc'
|
||||
Tags: [CI, Utils]
|
||||
Classes:
|
||||
org.openstack.ci_cd_pipeline_murano_app.utils.net.Hosts: net/Hosts.yaml
|
||||
org.openstack.ci_cd_pipeline_murano_app.utils.CombinableApplication: CombinableApplication.yaml
|
||||
Require:
|
||||
org.openstack.ci_cd_pipeline_murano_app.puppet.Puppet:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user