Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
slapos
Commits
de140f52
Commit
de140f52
authored
May 30, 2016
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
html5as: Add basic replicate software type
parent
4797489c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
1 deletion
+38
-1
software/html5as/instance.cfg
software/html5as/instance.cfg
+1
-0
software/html5as/instance_replicate.cfg
software/html5as/instance_replicate.cfg
+29
-0
software/html5as/software.cfg
software/html5as/software.cfg
+8
-1
No files found.
software/html5as/instance.cfg
View file @
de140f52
...
...
@@ -9,3 +9,4 @@ offline = true
[switch-softwaretype]
recipe = slapos.cookbook:softwaretype
default = ${instance_html5as:output}
replicate = ${instance_replicate:output}
software/html5as/instance_replicate.cfg
0 → 100644
View file @
de140f52
[buildout]
parts =
publish-connection-information
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
offline = true
[instance-1]
<= slap-connection
recipe = slapos.cookbook:request
# Name of the instance
name = instance1
# It is the same software as teh current one
software-url = $${slap-connection:software-release-url}
# We want the default behaviour
software-type = default
# What parameter are neede to be retrieved
return = server_url
# Provided parameters
config-default-path = $${slap-parameter:default-path}
config-download_url = $${slap-parameter:download_url}
[slap-parameter]
default-path =
[publish-connection-information]
recipe = slapos.cookbook:publish
server_url_1 = $${instance-1:connection-server_url}
software/html5as/software.cfg
View file @
de140f52
...
...
@@ -24,7 +24,7 @@ parts =
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
output = ${buildout:directory}/template.cfg
md5sum =
918e0d6513e4d1c92051431d83261dab
md5sum =
88166ef0deeb2b5a747622d779a01b97
mode = 0644
[instance_html5as]
...
...
@@ -34,6 +34,13 @@ output = ${buildout:directory}/template_html5as.cfg
md5sum = 450fd933137a4e193c7647ce75b0a2f0
mode = 0644
[instance_replicate]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance_replicate.cfg
output = ${buildout:directory}/template_replicate.cfg
md5sum = 6d7394da128b0cc39d65e7cda84f18fe
mode = 0644
[template_nginx_conf]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/templates/nginx_conf.in
...
...
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