Commit da5b0cae authored by Spiros Koulouzis's avatar Spiros Koulouzis

made interface input 'playbook' into a list

parent fdb97c0f
...@@ -69,7 +69,7 @@ interface_types: ...@@ -69,7 +69,7 @@ interface_types:
type: string type: string
required: false required: false
playbooks: playbooks:
type: string type: list
required: false required: false
repository: repository:
type: string type: string
...@@ -78,15 +78,6 @@ interface_types: ...@@ -78,15 +78,6 @@ interface_types:
tosca.interfaces.ARTICONF.Kubernetes: tosca.interfaces.ARTICONF.Kubernetes:
derived_from: tosca.interfaces.ARTICONF.Standard derived_from: tosca.interfaces.ARTICONF.Standard
inputs: inputs:
inventory_file:
type: string
required: false
repository:
type: string
required: false
playbooks:
type: list
required: false
replicas: replicas:
type: integer type: integer
required: false required: false
......
...@@ -62,25 +62,30 @@ node_types: ...@@ -62,25 +62,30 @@ node_types:
delete: delete:
inputs: inputs:
repository: https://github.com/skoulouzis/playbooks.git repository: https://github.com/skoulouzis/playbooks.git
playbook: delete_service.yml playbooks:
- delete_service.yml
create: create:
inputs: inputs:
repository: https://github.com/skoulouzis/playbooks.git repository: https://github.com/skoulouzis/playbooks.git
playbook: create_service.yml playbooks:
- create_service.yml
scale: scale:
inputs: inputs:
repository: https://github.com/skoulouzis/playbooks.git repository: https://github.com/skoulouzis/playbooks.git
playbook: scale_service.yml playbooks:
- scale_service.yml
replicas: 1 replicas: 1
autoscale: autoscale:
inputs: inputs:
repository: https://github.com/skoulouzis/playbooks.git repository: https://github.com/skoulouzis/playbooks.git
playbook: autoscale_service.yml playbooks:
- autoscale_service.yml
horizontal_pod_autoscaler: horizontal_pod_autoscaler.yml horizontal_pod_autoscaler: horizontal_pod_autoscaler.yml
info: info:
inputs: inputs:
repository: https://github.com/skoulouzis/playbooks.git repository: https://github.com/skoulouzis/playbooks.git
playbook: get_info_service.yml playbooks:
- get_info_service.yml
......
...@@ -6,9 +6,9 @@ class DeployService: ...@@ -6,9 +6,9 @@ class DeployService:
def __init__(self, polemarch_base_url=None,polemarch_username=None,polemarch_password=None, def __init__(self, polemarch_base_url=None,polemarch_username=None,polemarch_password=None,
semaphore_base_url=None,semaphore_username=None,semaphore_password=None): semaphore_base_url=None,semaphore_username=None,semaphore_password=None):
self.polemarch_base_url = polemarch_base_url # self.polemarch_base_url = polemarch_base_url
self.polemarch_username=polemarch_username # self.polemarch_username=polemarch_username
self.polemarch_password = polemarch_password # self.polemarch_password = polemarch_password
self.semaphore_base_url = semaphore_base_url self.semaphore_base_url = semaphore_base_url
self.semaphore_username = semaphore_username self.semaphore_username = semaphore_username
self.semaphore_password = semaphore_password self.semaphore_password = semaphore_password
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment