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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stephane VAROQUI
slapos
Commits
c4db95b1
Commit
c4db95b1
authored
Jul 15, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! scalability: add erp5_location (dev) key
parent
2d60981b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
19 deletions
+10
-19
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+4
-4
stack/erp5/instance-scalability.cfg.in
stack/erp5/instance-scalability.cfg.in
+1
-1
stack/erp5/instance.cfg.in
stack/erp5/instance.cfg.in
+5
-14
No files found.
stack/erp5/buildout.cfg
View file @
c4db95b1
...
@@ -206,6 +206,8 @@ rendered = ${buildout:directory}/${:filename}
...
@@ -206,6 +206,8 @@ rendered = ${buildout:directory}/${:filename}
extra-context =
extra-context =
context =
context =
key bin_directory buildout:bin-directory
key bin_directory buildout:bin-directory
key erp5_location erp5:location
key erp5_dev_location erp5.dev-repository:location
key develop_eggs_directory buildout:develop-eggs-directory
key develop_eggs_directory buildout:develop-eggs-directory
key eggs_directory buildout:eggs-directory
key eggs_directory buildout:eggs-directory
${:extra-context}
${:extra-context}
...
@@ -250,7 +252,7 @@ md5sum = 564006953b7d7a12d40a14b6648b32f0
...
@@ -250,7 +252,7 @@ md5sum = 564006953b7d7a12d40a14b6648b32f0
# XXX: "template.cfg" is hardcoded in instanciation recipe
# XXX: "template.cfg" is hardcoded in instanciation recipe
filename = template.cfg
filename = template.cfg
template = ${:_profile_base_location_}/instance.cfg.in
template = ${:_profile_base_location_}/instance.cfg.in
md5sum =
14fa86c4b817f0286d629c6aef4a00e5
md5sum =
fb27129d1d5d0cbbf2d355fb3bd2c204
extra-context =
extra-context =
key apache_location apache:location
key apache_location apache:location
key aspell_location aspell:location
key aspell_location aspell:location
...
@@ -260,8 +262,6 @@ extra-context =
...
@@ -260,8 +262,6 @@ extra-context =
key dash_location dash:location
key dash_location dash:location
key dcron_location dcron:location
key dcron_location dcron:location
key dmtx_utils_location dmtx-utils:location
key dmtx_utils_location dmtx-utils:location
key erp5_location erp5:location
key erp5_dev_location erp5.dev-repository:location
key file_location file:location
key file_location file:location
key findutils_location findutils:location
key findutils_location findutils:location
key fontconfig_location fontconfig:location
key fontconfig_location fontconfig:location
...
@@ -330,7 +330,7 @@ md5sum = 19f6f1309bbefa651300a1802cab3fa0
...
@@ -330,7 +330,7 @@ md5sum = 19f6f1309bbefa651300a1802cab3fa0
[template-scalability]
[template-scalability]
< = download-base
< = download-base
filename = instance-scalability.cfg.in
filename = instance-scalability.cfg.in
md5sum =
f39df18c864afb0a2c5fb4799c169928
md5sum =
09c3693bca3b685cbf840df3fe21f22b
[template-zeo]
[template-zeo]
< = download-base
< = download-base
...
...
stack/erp5/instance-scalability.cfg.in
View file @
c4db95b1
...
@@ -56,7 +56,6 @@ recipe = slapos.cookbook:wrapper
...
@@ -56,7 +56,6 @@ recipe = slapos.cookbook:wrapper
log-path = ${basedirectory:log}
log-path = ${basedirectory:log}
binary-path = {{ bin_directory }}/runScalabilityTestSuite
binary-path = {{ bin_directory }}/runScalabilityTestSuite
wrapper-path = ${rootdirectory:bin}/runScalabilityTestSuite
wrapper-path = ${rootdirectory:bin}/runScalabilityTestSuite
erp5-location = {{ erp5_location }}
output = ${binary-wrap-launcher:binary-path}
output = ${binary-wrap-launcher:binary-path}
site-id = "/{{ site_id }}"
site-id = "/{{ site_id }}"
# Suppose that there is a user zope family in the configuration
# Suppose that there is a user zope family in the configuration
...
@@ -88,6 +87,7 @@ test-suite = {{ slapparameter_dict.get('test-suite') }}
...
@@ -88,6 +87,7 @@ test-suite = {{ slapparameter_dict.get('test-suite') }}
test-suite-master-url = {{ slapparameter_dict.get('test-suite-master-url') }}
test-suite-master-url = {{ slapparameter_dict.get('test-suite-master-url') }}
log-path = ${binary-wrap-launcher:log-path}
log-path = ${binary-wrap-launcher:log-path}
runner-path = ${binary-wrap-performance-tester:wrapper-path}
runner-path = ${binary-wrap-performance-tester:wrapper-path}
erp5-location = {{ erp5_location }}
# Create partition's directories
# Create partition's directories
[basedirectory]
[basedirectory]
...
...
stack/erp5/instance.cfg.in
View file @
c4db95b1
...
@@ -163,20 +163,6 @@ extra-context =
...
@@ -163,20 +163,6 @@ extra-context =
# Must match the key id in [switch-softwaretype] which uses this section.
# Must match the key id in [switch-softwaretype] which uses this section.
raw software_type cluster
raw software_type cluster
[dynamic-template-scalability-parameters]
erp5 = {{ erp5_location }}
erp5_dev = {{ erp5_dev_location }}
[dynamic-template-scalability]
< = jinja2-template-base
template = {{ template_scalability }}
filename = instance-scalability.cfg
extensions = jinja2.ext.do
extra-context =
key erp5_location ${dynamic-template-scalability-parameters:erp5_dev}
key local_bt5_repository dynamic-template-cluster-erp5-parameters:local-bt5-repository
# Must match the key id in [switch-softwaretype] which uses this section.
raw software_type scalability
[dynamic-template-balancer-parameters]
[dynamic-template-balancer-parameters]
apache = {{ apache_location }}
apache = {{ apache_location }}
...
@@ -245,6 +231,10 @@ extra-context =
...
@@ -245,6 +231,10 @@ extra-context =
# Must match the key id in [switch-softwaretype] which uses this section.
# Must match the key id in [switch-softwaretype] which uses this section.
raw software_type cluster-zope
raw software_type cluster-zope
[dynamic-template-scalability-parameters]
erp5 = {{ erp5_location }}
erp5_dev = {{ erp5_dev_location }}
[dynamic-template-scalability]
[dynamic-template-scalability]
< = jinja2-template-base
< = jinja2-template-base
template = {{ template_scalability }}
template = {{ template_scalability }}
...
@@ -255,6 +245,7 @@ extra-context =
...
@@ -255,6 +245,7 @@ extra-context =
key bin_directory dynamic-template-scalability:bin_directory
key bin_directory dynamic-template-scalability:bin_directory
key curl_location template-erp5-single-parameters:curl
key curl_location template-erp5-single-parameters:curl
key dash_location template-erp5-single-parameters:dash
key dash_location template-erp5-single-parameters:dash
key erp5_location dynamic-template-scalability-parameters:erp5_dev
key local_bt5_repository dynamic-template-cluster-erp5-parameters:local-bt5-repository
key local_bt5_repository dynamic-template-cluster-erp5-parameters:local-bt5-repository
key template_zope dynamic-template-zope:rendered
key template_zope dynamic-template-zope:rendered
key template_cluster_zope dynamic-template-cluster-zope:rendered
key template_cluster_zope dynamic-template-cluster-zope:rendered
...
...
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