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
Kwabena Antwi-Boasiako
slapos
Commits
3211a08c
Commit
3211a08c
authored
Feb 24, 2017
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/slaprunner: Factorise common.cfg a bit.
Still many variants which could likely be simplified.
parent
36a07603
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
75 deletions
+41
-75
software/slaprunner/common.cfg
software/slaprunner/common.cfg
+41
-75
No files found.
software/slaprunner/common.cfg
View file @
3211a08c
...
@@ -49,162 +49,128 @@ parts =
...
@@ -49,162 +49,128 @@ parts =
[shellinabox]
[shellinabox]
<= shellinabox-github
<= shellinabox-github
[template]
[template
-base
]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
url = ${:_profile_base_location_}/${:filename}
mode = 0644
[download-base]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/${:filename}
mode = 0644
[download-only-base]
< = download-base
ignore-existing = true
download-only = true
[template-download-base]
# Downloads from template directory into current directory
< = download-only-base
url = ${:_profile_base_location_}/template/${:filename}
[template]
< = template-base
filename = instance.cfg
output = ${buildout:directory}/template.cfg
output = ${buildout:directory}/template.cfg
md5sum = 06107f93ebe78905c957a4c4fc4edf16
md5sum = 06107f93ebe78905c957a4c4fc4edf16
mode = 0644
[template-runner]
[template-runner]
recipe = slapos.recipe.templat
e
< = template-bas
e
url = ${:_profile_base_location_}/
instance-runner.cfg
filename =
instance-runner.cfg
output = ${buildout:directory}/template-runner.cfg.in
output = ${buildout:directory}/template-runner.cfg.in
md5sum = 07905ec872e84bc42c6ab089f5270ac2
md5sum = 07905ec872e84bc42c6ab089f5270ac2
mode = 0644
[template-runner-import-script]
[template-runner-import-script]
recipe = hexagonit.recipe.download
< = template-download-base
ignore-existing = true
url = ${:_profile_base_location_}/template/runner-import.sh.jinja2
download-only = true
md5sum = 5db39d7f56fd1f96ce6466e9055841a1
md5sum = 5db39d7f56fd1f96ce6466e9055841a1
filename = runner-import.sh.jinja2
filename = runner-import.sh.jinja2
mode = 0644
[instance-runner-import]
[instance-runner-import]
recipe = slapos.recipe.templat
e
< = template-bas
e
url = ${:_profile_base_location_}/
instance-runner-import.cfg.in
filename =
instance-runner-import.cfg.in
output = ${buildout:directory}/instance-runner-import.cfg
output = ${buildout:directory}/instance-runner-import.cfg
md5sum = 9db9957f452bda370cb2d5cc2e833e85
md5sum = 9db9957f452bda370cb2d5cc2e833e85
mode = 0644
[template-runner-export-script]
[template-runner-export-script]
recipe = hexagonit.recipe.download
< = template-download-base
ignore-existing = true
url = ${:_profile_base_location_}/template/runner-export.sh.jinja2
download-only = true
md5sum = 2e96b9daa5cd20fc77e9573a9ce3fe52
md5sum = 2e96b9daa5cd20fc77e9573a9ce3fe52
filename = runner-export.sh.jinja2
filename = runner-export.sh.jinja2
mode = 0644
[instance-runner-export]
[instance-runner-export]
< = download-base
recipe = slapos.recipe.build:download
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-runner-export.cfg.in
filename = instance-runner-export.cfg.in
filename = instance-runner-export.cfg.in
md5sum = 852a2ed99af566d27e5e4403334a3376
md5sum = 852a2ed99af566d27e5e4403334a3376
mode = 0644
[template-resilient]
[template-resilient]
< = download-base
recipe = slapos.recipe.build:download
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-resilient.cfg.jinja2
md5sum = a902b84ac7d1e29a7fdb06cbc7dec150
md5sum = a902b84ac7d1e29a7fdb06cbc7dec150
filename = instance-resilient.cfg.jinja2
filename = instance-resilient.cfg.jinja2
mode = 0644
[template-resilient-test]
[template-resilient-test]
recipe = hexagonit.recipe.download
< = download-only-base
ignore-existing = true
url = ${:_profile_base_location_}/instance-resilient-test.cfg.jinja2
download-only = true
md5sum = 09a955bde79fb11565d689b0415e135c
md5sum = 09a955bde79fb11565d689b0415e135c
filename = instance-resilient-test.cfg.jinja2
filename = instance-resilient-test.cfg.jinja2
mode = 0644
[template_nginx_conf]
[template_nginx_conf]
recipe = hexagonit.recipe.download
< = download-only-base
ignore-existing = true
url = ${:_profile_base_location_}/nginx_conf.in
download-only = true
md5sum = 2b06f7eb9a1d45d250d4b92a944db925
md5sum = 2b06f7eb9a1d45d250d4b92a944db925
filename = nginx_conf.in
filename = nginx_conf.in
mode = 0644
[template_httpd_conf]
[template_httpd_conf]
recipe = hexagonit.recipe.download
< = download-only-base
ignore-existing = true
url = ${:_profile_base_location_}/httpd_conf.in
download-only = true
md5sum = 40825ef2d259ae3b86dfd2f28f597d3a
md5sum = 40825ef2d259ae3b86dfd2f28f597d3a
filename = httpd_conf.in
filename = httpd_conf.in
mode = 0644
[template_launcher]
[template_launcher]
< = download-base
recipe = slapos.recipe.build:download
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/launcher.in
md5sum = 525e37ea8b2acf6209869999b15071a6
md5sum = 525e37ea8b2acf6209869999b15071a6
filename = launcher.in
filename = launcher.in
mode = 0644
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
[template-slapos-cfg]
[template-slapos-cfg]
recipe = hexagonit.recipe.download
< = template-download-base
ignore-existing = true
url = ${:_profile_base_location_}/template/${:filename}
md5sum = ef16446d432e1397182b1654fe920ffb
md5sum = ef16446d432e1397182b1654fe920ffb
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = slapos.cfg.in
filename = slapos.cfg.in
download-only = true
mode = 0644
[template-parameters]
[template-parameters]
recipe = hexagonit.recipe.download
< = download-only-base
ignore-existing = true
url = ${:_profile_base_location_}/${:filename}
md5sum = f8446fcf254b4929eb828a9a1d7e5f62
md5sum = f8446fcf254b4929eb828a9a1d7e5f62
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = parameters.xml.in
filename = parameters.xml.in
download-only = true
mode = 0644
[template-bash-profile]
[template-bash-profile]
recipe = hexagonit.recipe.download
< = template-download-base
ignore-existing = true
url = ${:_profile_base_location_}/template/${:filename}
md5sum = 1c88cbca0c1e705eeb4b544ef4616097
md5sum = 1c88cbca0c1e705eeb4b544ef4616097
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = bash_profile.in
filename = bash_profile.in
download-only = true
mode = 0644
[template-supervisord]
[template-supervisord]
recipe = hexagonit.recipe.download
< = template-download-base
ignore-existing = true
url = ${:_profile_base_location_}/template/${:filename}
md5sum = d294d0dafd265048399de6da8c96345f
md5sum = d294d0dafd265048399de6da8c96345f
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = supervisord.conf.in
filename = supervisord.conf.in
download-only = true
mode = 0644
[template-listener-slapgrid]
[template-listener-slapgrid]
recipe = hexagonit.recipe.download
< = template-download-base
ignore-existing = true
url = ${:_profile_base_location_}/template/${:filename}
md5sum = 49d50410cf7467175a841eb7cd0d93d4
md5sum = 49d50410cf7467175a841eb7cd0d93d4
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = listener_slapgrid.py.in
filename = listener_slapgrid.py.in
download-only = true
mode = 0644
[monitor-check-webrunner-internal-instance]
[monitor-check-webrunner-internal-instance]
recipe = hexagonit.recipe.download
< = template-download-base
ignore-existing = true
url = ${:_profile_base_location_}/template/${:filename}
download-only = true
#md5sum = 4c44d617d5bfd1db8695200e896480c0
#md5sum = 4c44d617d5bfd1db8695200e896480c0
destination = ${buildout:parts-directory}/${:filename}
destination = ${buildout:parts-directory}/${:filename}
filename = monitor-check-webrunner-internal-instances.py
filename = monitor-check-webrunner-internal-instances.py
mode = 0644
[template-resilient-software-release-information]
[template-resilient-software-release-information]
recipe = hexagonit.recipe.download
< = template-download-base
ignore-existing = true
download-only = true
md5sum = 2451072826a9ad9425d62c9e9c7f6284
md5sum = 2451072826a9ad9425d62c9e9c7f6284
url = ${:_profile_base_location_}/template/${:filename}
filename = resilient_software_release_information.py.in
filename = resilient_software_release_information.py.in
mode = 0644
[eggs]
[eggs]
recipe = zc.recipe.egg
recipe = zc.recipe.egg
...
...
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