Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
da5b0cae
Commit
da5b0cae
authored
Apr 04, 2020
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
made interface input 'playbook' into a list
parent
fdb97c0f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
18 deletions
+14
-18
interfaces.yml
TOSCA/types/interfaces.yml
+1
-10
nodes.yaml
TOSCA/types/nodes.yaml
+10
-5
deploy_service.py
deployer/service/deploy_service.py
+3
-3
No files found.
TOSCA/types/interfaces.yml
View file @
da5b0cae
...
@@ -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
...
...
TOSCA/types/nodes.yaml
View file @
da5b0cae
...
@@ -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
...
...
deployer/service/deploy_service.py
View file @
da5b0cae
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment