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
Labels
Merge Requests
104
Merge Requests
104
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
b9a6392d
Commit
b9a6392d
authored
Feb 21, 2024
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Plain Diff
erp5: Allow other software release provide custom default bt5 to install
See merge request
nexedi/slapos!1534
parents
aed29e59
49a7f256
Pipeline
#32953
failed with stage
in 0 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
8 deletions
+13
-8
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+8
-0
stack/erp5/buildout.hash.cfg
stack/erp5/buildout.hash.cfg
+2
-2
stack/erp5/instance-erp5.cfg.in
stack/erp5/instance-erp5.cfg.in
+1
-6
stack/erp5/instance.cfg.in
stack/erp5/instance.cfg.in
+2
-0
No files found.
stack/erp5/buildout.cfg
View file @
b9a6392d
...
...
@@ -188,6 +188,7 @@ context =
key with_max_rlimit_nofile_enable_default erp5-defaults:with-max-rlimit-nofile-enable-default
key kumo_location kumo:location
key local_bt5_repository local-bt5-repository:list
key default_bt5 default-bt5:list
key logrotate_location logrotate:location
key mariadb_location mariadb:location
key mariadb_resiliency_after_import_script mariadb-resiliency-after-import-script:target
...
...
@@ -304,6 +305,13 @@ branch = master
repository = https://lab.nexedi.com/nexedi/erp5-doc.git
branch = master
[default-bt5]
list =
erp5_full_text_mroonga_catalog
erp5_configurator_standard
erp5_configurator_maxma_demo
erp5_configurator_run_my_doc
[bt5-repository]
# Format:
# <url or path> [...]
...
...
stack/erp5/buildout.hash.cfg
View file @
b9a6392d
...
...
@@ -70,11 +70,11 @@ md5sum = b95084ae9eed95a68eada45e28ef0c04
[template]
filename = instance.cfg.in
md5sum =
55463b0abdbe0118ef1c27e6b71c3324
md5sum =
ca0cb83950dd9079cc289891cce08e76
[template-erp5]
filename = instance-erp5.cfg.in
md5sum =
ae9c380ae04dde4f20e139c66ef7c22a
md5sum =
07012cab8738836bb315f61bcc09c0c3
[template-zeo]
filename = instance-zeo.cfg.in
...
...
stack/erp5/instance-erp5.cfg.in
View file @
b9a6392d
...
...
@@ -224,12 +224,7 @@ return =
{%- if test_runner_enabled %}
test-runner-address-list
{% endif %}
{% set bt5_default_list = [
'erp5_full_text_mroonga_catalog',
'erp5_configurator_standard',
'erp5_configurator_maxma_demo',
'erp5_configurator_run_my_doc',
] -%}
{% set bt5_default_list = default_bt5.split() -%}
{% if has_jupyter -%}
{% do bt5_default_list.append('erp5_data_notebook') -%}
{% endif -%}
...
...
stack/erp5/instance.cfg.in
View file @
b9a6392d
...
...
@@ -45,6 +45,7 @@ jupyter-enable-default = {{ jupyter_enable_default }}
wcfs-enable-default = {{ wcfs_enable_default }}
with-max-rlimit-nofile-enable-default = {{ with_max_rlimit_nofile_enable_default }}
local-bt5-repository = {{ ' '.join(local_bt5_repository.split()) }}
default-bt5 = {{ ' '.join(default_bt5.split()) }}
[context]
root-common = {{ root_common }}
...
...
@@ -61,6 +62,7 @@ extra-context =
key wcfs_enable_default dynamic-template-erp5-parameters:wcfs-enable-default
key with_max_rlimit_nofile_enable_default dynamic-template-erp5-parameters:with-max-rlimit-nofile-enable-default
key local_bt5_repository dynamic-template-erp5-parameters:local-bt5-repository
key default_bt5 dynamic-template-erp5-parameters:default-bt5
key openssl_location :openssl-location
import re re
import urllib_parse six.moves.urllib.parse
...
...
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