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
45ef3c4d
Commit
45ef3c4d
authored
Jun 22, 2020
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added debug
parent
1656707e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
10 deletions
+33
-10
docker-compose.yml
docker-compose/docker-compose.yml
+10
-10
Dockerfile
provisioner/Dockerfile
+2
-0
hello-tosca.yaml
sure_tosca-client_python_stubs/hello-tosca.yaml
+21
-0
No files found.
docker-compose/docker-compose.yml
View file @
45ef3c4d
...
...
@@ -93,15 +93,15 @@ services:
CLOUD_STORM_SECRET
:
456
CREDENTIAL_SECRET
:
123
deployer
:
depends_on
:
-
rabbit
-
sure-tosca
image
:
qcdis/deployer
environment
:
RABBITMQ_HOST
:
rabbit
SURE_TOSCA_BASE_PATH
:
http://sure-tosca:8081/tosca-sure/1.0.0
SEMAPHORE_BASE_PATH
:
http://semaphore:3000/api
#
deployer:
#
depends_on:
#
- rabbit
#
- sure-tosca
#
image: qcdis/deployer
#
environment:
#
RABBITMQ_HOST: rabbit
#
SURE_TOSCA_BASE_PATH: http://sure-tosca:8081/tosca-sure/1.0.0
#
SEMAPHORE_BASE_PATH: http://semaphore:3000/api
...
...
provisioner/Dockerfile
View file @
45ef3c4d
...
...
@@ -3,6 +3,7 @@ COPY target/provisioner-3.0.0-jar-with-dependencies.jar provisioner-3.0.0-jar-wi
COPY
etc/ etc
CMD
jar -xf provisioner-3.0.0-jar-with-dependencies.jar application.properties && \
echo "----------------------------" && \
cat application.properties && \
sed -ie "s
#^message.broker.host=.*#message.broker.host=$RABBITMQ_HOST#" application.properties && \
sed -ie "s
#^sure-tosca.base.path=.*#sure-tosca.base.path=$SURE_TOSCA_BASE_PATH#" application.properties && \
...
...
@@ -12,6 +13,7 @@ CMD jar -xf provisioner-3.0.0-jar-with-dependencies.jar application.properties &
echo "" >> application.properties && \
echo "cloud.storm.db.path=/etc/UD" >> application.properties && \
cat application.properties && \
echo "----------------------------" && \
jar -uf provisioner-3.0.0-jar-with-dependencies.jar application.properties && \
sleep 5 && \
java -jar provisioner-3.0.0-jar-with-dependencies.jar
...
...
sure_tosca-client_python_stubs/hello-tosca.yaml
0 → 100644
View file @
45ef3c4d
tosca_definitions_version
:
tosca_simple_yaml_1_0
description
:
Template for deploying a single server with predefined properties.
topology_template
:
node_templates
:
my_server
:
type
:
tosca.nodes.Compute
capabilities
:
# Host container properties
host
:
properties
:
num_cpus
:
1
disk_size
:
10 GB
mem_size
:
4096 MB
# Guest Operating System properties
os
:
properties
:
# host Operating System image properties
architecture
:
x86_64
type
:
linux
distribution
:
rhel
version
:
6.5
\ No newline at end of file
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