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
af0336cf
Commit
af0336cf
authored
Aug 28, 2019
by
Łukasz Nowak
Committed by
Łukasz Nowak
Nov 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stack/caucase: Switch to monitor-promise-base
parent
701c693c
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
14 deletions
+10
-14
software/caddy-frontend/buildout.hash.cfg
software/caddy-frontend/buildout.hash.cfg
+1
-1
software/caddy-frontend/instance-kedifa.cfg.in
software/caddy-frontend/instance-kedifa.cfg.in
+0
-1
software/caucase/buildout.hash.cfg
software/caucase/buildout.hash.cfg
+1
-1
software/caucase/instance-caucased.cfg.jinja2
software/caucase/instance-caucased.cfg.jinja2
+0
-2
software/slapos-master/buildout.hash.cfg
software/slapos-master/buildout.hash.cfg
+1
-1
software/slapos-master/instance-erp5.cfg.in
software/slapos-master/instance-erp5.cfg.in
+0
-1
stack/caucase/buildout.hash.cfg
stack/caucase/buildout.hash.cfg
+1
-1
stack/caucase/caucase.jinja2.library
stack/caucase/caucase.jinja2.library
+5
-4
stack/erp5/buildout.hash.cfg
stack/erp5/buildout.hash.cfg
+1
-1
stack/erp5/instance-erp5.cfg.in
stack/erp5/instance-erp5.cfg.in
+0
-1
No files found.
software/caddy-frontend/buildout.hash.cfg
View file @
af0336cf
...
@@ -118,4 +118,4 @@ md5sum = 38792c2dceae38ab411592ec36fff6a8
...
@@ -118,4 +118,4 @@ md5sum = 38792c2dceae38ab411592ec36fff6a8
[template-kedifa]
[template-kedifa]
filename = instance-kedifa.cfg.in
filename = instance-kedifa.cfg.in
md5sum =
bb1eb172e65d8ffe5b161eae191947e1
md5sum =
9ca8f5fdae2ad5aa9e95aba69c20f820
software/caddy-frontend/instance-kedifa.cfg.in
View file @
af0336cf
...
@@ -36,7 +36,6 @@ hash-existing-files = ${buildout:directory}/software_release/buildout.cfg
...
@@ -36,7 +36,6 @@ hash-existing-files = ${buildout:directory}/software_release/buildout.cfg
service_auto_approve_count=0,
service_auto_approve_count=0,
user_auto_approve_count=1,
user_auto_approve_count=1,
key_len=2048,
key_len=2048,
promise='${directory:promise}/caucased',
)}}
)}}
# Create all needed directories
# Create all needed directories
...
...
software/caucase/buildout.hash.cfg
View file @
af0336cf
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
# not need these here).
# not need these here).
[instance-caucased]
[instance-caucased]
filename = instance-caucased.cfg.jinja2
filename = instance-caucased.cfg.jinja2
md5sum =
442e17a66b6f8d39f87903e147e3edaf
md5sum =
2277c891a71534e00487468f5048d196
[instance]
[instance]
filename = instance.cfg.jinja2
filename = instance.cfg.jinja2
...
...
software/caucase/instance-caucased.cfg.jinja2
View file @
af0336cf
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
[directory]
[directory]
recipe = slapos.cookbook:mkdirectory
recipe = slapos.cookbook:mkdirectory
etc = ${buildout:directory}/etc
etc = ${buildout:directory}/etc
promise = ${:etc}/promise
service-on-watch = ${:etc}/service
service-on-watch = ${:etc}/service
srv = ${buildout:directory}/srv
srv = ${buildout:directory}/srv
...
@@ -17,7 +16,6 @@ srv = ${buildout:directory}/srv
...
@@ -17,7 +16,6 @@ srv = ${buildout:directory}/srv
service_auto_approve_count=slapparameter_dict.get('service-auto-approve-amount', 0),
service_auto_approve_count=slapparameter_dict.get('service-auto-approve-amount', 0),
user_auto_approve_count=slapparameter_dict.get('user-auto-approve-amount', 1),
user_auto_approve_count=slapparameter_dict.get('user-auto-approve-amount', 1),
key_len=slapparameter_dict.get('key-length', 2048),
key_len=slapparameter_dict.get('key-length', 2048),
promise='${directory:promise}/caucased',
) }}
) }}
[publish]
[publish]
...
...
software/slapos-master/buildout.hash.cfg
View file @
af0336cf
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
# not need these here).
# not need these here).
[template-erp5]
[template-erp5]
filename = instance-erp5.cfg.in
filename = instance-erp5.cfg.in
md5sum =
70c8d3e4414f6f9f969c9641e840b52f
md5sum =
e46c20fa51e15972b225731b83b09889
[template-balancer]
[template-balancer]
filename = instance-balancer.cfg.in
filename = instance-balancer.cfg.in
...
...
software/slapos-master/instance-erp5.cfg.in
View file @
af0336cf
...
@@ -91,7 +91,6 @@ backup-caucased = ${:srv}/backup/caucased
...
@@ -91,7 +91,6 @@ backup-caucased = ${:srv}/backup/caucased
service_auto_approve_count=caucase_dict.get('service-auto-approve-amount', 1),
service_auto_approve_count=caucase_dict.get('service-auto-approve-amount', 1),
user_auto_approve_count=caucase_dict.get('user-auto-approve-amount', 0),
user_auto_approve_count=caucase_dict.get('user-auto-approve-amount', 0),
key_len=caucase_dict.get('key-length', 2048),
key_len=caucase_dict.get('key-length', 2048),
promise='${directory:promise}/caucased',
)}}
)}}
{% do root_common.section('caucased') -%}
{% do root_common.section('caucased') -%}
{% do root_common.section('caucased-promise') -%}
{% do root_common.section('caucased-promise') -%}
...
...
stack/caucase/buildout.hash.cfg
View file @
af0336cf
...
@@ -15,4 +15,4 @@
...
@@ -15,4 +15,4 @@
[caucase-jinja2-library]
[caucase-jinja2-library]
filename = caucase.jinja2.library
filename = caucase.jinja2.library
md5sum =
5cf324ea1beb593738339f3d20d60a44
md5sum =
6394dadda5726571149ec1b21207311b
stack/caucase/caucase.jinja2.library
View file @
af0336cf
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
user_auto_approve_count=1,
user_auto_approve_count=1,
key_len=None,
key_len=None,
backup_dir=None,
backup_dir=None,
promise=
Non
e
promise=
Tru
e
) -%}
) -%}
[{{ prefix }}-directory]
[{{ prefix }}-directory]
recipe = slapos.cookbook:mkdirectory
recipe = slapos.cookbook:mkdirectory
...
@@ -30,9 +30,10 @@ command-line = '{{ buildout_bin_directory }}/caucased'
...
@@ -30,9 +30,10 @@ command-line = '{{ buildout_bin_directory }}/caucased'
{% if promise -%}
{% if promise -%}
[{{ prefix }}-promise]
[{{ prefix }}-promise]
recipe = slapos.cookbook:wrapper
<= monitor-promise-base
wrapper-path = {{ promise }}
module = check_command_execute
command-line = '{{ buildout_bin_directory }}/caucase-probe' 'http://{{ netloc }}'
name = {{ prefix }}.py
config-command = '{{ buildout_bin_directory }}/caucase-probe' 'http://{{ netloc }}'
{%- endif %}
{%- endif %}
{%- endmacro %}
{%- endmacro %}
...
...
stack/erp5/buildout.hash.cfg
View file @
af0336cf
...
@@ -78,7 +78,7 @@ md5sum = d41d8cd98f00b204e9800998ecf8427e
...
@@ -78,7 +78,7 @@ md5sum = d41d8cd98f00b204e9800998ecf8427e
[template-erp5]
[template-erp5]
filename = instance-erp5.cfg.in
filename = instance-erp5.cfg.in
md5sum =
4fe42a1fe78ce9531d8e9c9837f4a784
md5sum =
2ebd2ed8b7db40c4ac6681a8dc0d792a
[template-zeo]
[template-zeo]
filename = instance-zeo.cfg.in
filename = instance-zeo.cfg.in
...
...
stack/erp5/instance-erp5.cfg.in
View file @
af0336cf
...
@@ -91,7 +91,6 @@ backup-caucased = ${:srv}/backup/caucased
...
@@ -91,7 +91,6 @@ backup-caucased = ${:srv}/backup/caucased
service_auto_approve_count=caucase_dict.get('service-auto-approve-amount', 1),
service_auto_approve_count=caucase_dict.get('service-auto-approve-amount', 1),
user_auto_approve_count=caucase_dict.get('user-auto-approve-amount', 0),
user_auto_approve_count=caucase_dict.get('user-auto-approve-amount', 0),
key_len=caucase_dict.get('key-length', 2048),
key_len=caucase_dict.get('key-length', 2048),
promise='${directory:promise}/caucased',
)}}
)}}
{% do root_common.section('caucased') -%}
{% do root_common.section('caucased') -%}
{% do root_common.section('caucased-promise') -%}
{% do root_common.section('caucased-promise') -%}
...
...
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