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
Lisa Casino
slapos
Commits
829ed541
Commit
829ed541
authored
Sep 01, 2021
by
Lisa Casino
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/theia: add new modules and promises
parent
374f9271
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
1 deletion
+42
-1
software/theia/buildout.hash.cfg
software/theia/buildout.hash.cfg
+1
-1
software/theia/instance-theia.cfg.jinja.in
software/theia/instance-theia.cfg.jinja.in
+22
-0
software/theia/software.cfg
software/theia/software.cfg
+19
-0
No files found.
software/theia/buildout.hash.cfg
View file @
829ed541
...
...
@@ -15,7 +15,7 @@
[instance-theia]
_update_hash_filename_ = instance-theia.cfg.jinja.in
md5sum =
e39925b69a8bc17d17be54c075ae2f88
md5sum =
6c0d352d30221b157584788510f464c1
[instance]
_update_hash_filename_ = instance.cfg.in
...
...
software/theia/instance-theia.cfg.jinja.in
View file @
829ed541
...
...
@@ -66,6 +66,10 @@ fish-completions = $${:home}/.config/fish/completions/
# Promises
# --------
[monitor-instance-parameter]
# by default the prediction will be for the next 10 days
days-check-free-disk-space =
[promises]
recipe =
instance-promises =
...
...
@@ -79,6 +83,9 @@ instance-promises =
$${slapos-standalone-listen-promise:name}
$${slapos-standalone-ready-promise:name}
$${slapos-autorun-promise:name}
{% if parameter_dict.get('display-anomaly') in ('True', 'on', '1') %}
$${monitor-partition-space-promise:name}
{% endif %}
[theia-listen-promise]
<= monitor-promise-base
...
...
@@ -142,6 +149,21 @@ config-service = $${slapos-autorun:service-name}
config-expect = $${slapos-autorun:autorun}
config-run-directory = $${directory:runner}/var/run
[promise-check-free-disk-space]
eggs = slapos.toolbox[prediction]
config-nb-days-predicted = $${monitor-instance-parameter:days-check-free-disk-space}
# change "display-prediction" to decide if we use ARIMA
config-display-prediction = {{ parameter_dict.get('display-prediction', 0) }}
# change "display-partition" to decide if we display the three biggest partitions in case of error
config-display-partition = {{ parameter_dict.get('display-partition', 1) }}
[monitor-partition-space-promise]
<= monitor-promise-base
eggs = slapos.toolbox[pandas]
module = monitor_partition_space
name = monitor-partition-space.py
config-collectordb = $${monitor-instance-parameter:collector-db}
config-threshold-ratio =
# Remote Caddy Frontend
# ---------------------
...
...
software/theia/software.cfg
View file @
829ed541
...
...
@@ -14,6 +14,9 @@ extends =
../../component/fonts/buildout.cfg
../../component/libsecret/buildout.cfg
../../component/pkgconfig/buildout.cfg
../../component/pandas/buildout.cfg
../../component/statsmodels/buildout.cfg
../../component/scipy/buildout.cfg
../../stack/nodejs.cfg
../../stack/slapos.cfg
../../stack/monitor/buildout.cfg
...
...
@@ -33,6 +36,7 @@ parts =
instance-resilient
theia-common
theia-export
slapos-toolbox
# default for slapos-standalone
shared-part-list =
...
...
@@ -42,6 +46,15 @@ shared-part-list =
[gcc]
max_version = 0
[slapos-toolbox-dependencies]
eggs =
${lxml-python:egg}
${pycurl:egg}
${python-cryptography:egg}
${backports.lzma:egg}
${pandas:egg}
${statsmodels:egg}
${scipy:egg}
[nodejs]
<= nodejs-12.18.3
...
...
@@ -425,3 +438,9 @@ bash = ${bash:location}/bin/bash
supervisorctl = ${buildout:bin-directory}/supervisorctl
theia-export = ${theia-export:output}
theia-import = ${theia-import:output}
[versions]
scipy = 1.0.1
statsmodels = 0.8.0
patsy = 0.4.1
pandas = 0.19.2
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