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:
type: string
required: false
playbooks:
type: string
type: list
required: false
repository:
type: string
......@@ -78,15 +78,6 @@ interface_types:
tosca.interfaces.ARTICONF.Kubernetes:
derived_from: tosca.interfaces.ARTICONF.Standard
inputs:
inventory_file:
type: string
required: false
repository:
type: string
required: false
playbooks:
type: list
required: false
replicas:
type: integer
required: false
......
......@@ -62,25 +62,30 @@ node_types:
delete:
inputs:
repository: https://github.com/skoulouzis/playbooks.git
playbook: delete_service.yml
playbooks:
- delete_service.yml
create:
inputs:
repository: https://github.com/skoulouzis/playbooks.git
playbook: create_service.yml
playbooks:
- create_service.yml
scale:
inputs:
repository: https://github.com/skoulouzis/playbooks.git
playbook: scale_service.yml
playbooks:
- scale_service.yml
replicas: 1
autoscale:
inputs:
repository: https://github.com/skoulouzis/playbooks.git
playbook: autoscale_service.yml
playbooks:
- autoscale_service.yml
horizontal_pod_autoscaler: horizontal_pod_autoscaler.yml
info:
inputs:
repository: https://github.com/skoulouzis/playbooks.git
playbook: get_info_service.yml
playbooks:
- get_info_service.yml
......
......@@ -6,9 +6,9 @@ class DeployService:
def __init__(self, polemarch_base_url=None,polemarch_username=None,polemarch_password=None,
semaphore_base_url=None,semaphore_username=None,semaphore_password=None):
self.polemarch_base_url = polemarch_base_url
self.polemarch_username=polemarch_username
self.polemarch_password = polemarch_password
# self.polemarch_base_url = polemarch_base_url
# self.polemarch_username=polemarch_username
# self.polemarch_password = polemarch_password
self.semaphore_base_url = semaphore_base_url
self.semaphore_username = semaphore_username
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