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
Xavier Thompson
slapos
Commits
8d6041db
Commit
8d6041db
authored
Dec 15, 2022
by
Xavier Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/node-monitoring: Create node-monitoring SR
parent
b38e89d2
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
472 additions
and
0 deletions
+472
-0
software/node-monitoring/buildout.hash.cfg
software/node-monitoring/buildout.hash.cfg
+0
-0
software/node-monitoring/promise/storage.py
software/node-monitoring/promise/storage.py
+367
-0
software/node-monitoring/software.cfg
software/node-monitoring/software.cfg
+105
-0
No files found.
software/node-monitoring/buildout.hash.cfg
0 → 100644
View file @
8d6041db
software/node-monitoring/promise/storage.py
0 → 100644
View file @
8d6041db
This diff is collapsed.
Click to expand it.
software/node-monitoring/software.cfg
0 → 100644
View file @
8d6041db
[buildout]
extends =
# Python components
../../component/pandas/buildout.cfg
../../component/scipy/buildout.cfg
../../component/statsmodels/buildout.cfg
# Generics
../../component/defaults.cfg
../../stack/monitor/buildout.cfg
../../stack/slapos.cfg
buildout.hash.cfg
parts =
slapos-cookbook
instance.cfg
# >>>>>>>>>>>>
[slapos.toolbox-repository]
recipe = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/xavier_thompson/slapos.toolbox.git
branch = json-promise
git-executable = ${git:location}/bin/git
[slapos-toolbox-dev]
<= slapos-toolbox
recipe = zc.recipe.egg:develop
setup = ${slapos.toolbox-repository:location}
[slapos-toolbox]
prerequisite = ${slapos-toolbox-dev:recipe}
[versions]
slapos.toolbox =
# <<<<<<<<<<<<
# Build GCC with Fortran for OpenBLAS (scipy & numpy)
[gcc]
max_version = 0
[macro.mkdir]
recipe = slapos.recipe.build
install =
import os
os.mkdir(location)
[promise-dir]
<= macro.mkdir
location = ${buildout:directory}/promise
[macro.download.promise]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/promise/${:_buildout_section_name_}
destination = ${promise-dir:location}/${:_buildout_section_name_}
[storage.py]
<= macro.download.promise
[eggs]
recipe = zc.recipe.egg:eggs
eggs =
${slapos-toolbox:eggs}
${pandas:egg}
${scipy:egg}
${statsmodels:egg}
[instance.cfg]
recipe = slapos.recipe.template
output = ${buildout:directory}/${:_buildout_section_name_}
inline =
[buildout]
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
extends =
${monitor-template:output}
parts =
publish
monitor-base
check-storage.py
[publish]
<= monitor-publish
recipe = slapos.cookbook:publish
[check-storage.py]
recipe = slapos.cookbook:promise.plugin
depends = ${eggs:recipe}
eggs =
${slapos-toolbox:eggs}
${pandas:egg}
${scipy:egg}
${statsmodels:egg}
file = ${storage.py:destination}
output = $${directory:plugins}/$${:_buildout_section_name_}
config-collectordb = $${monitor-instance-parameter:collector-db}
# config-threshold =
config-nb-days-predicted = 10
config-display-prediction = 1
config-display-partition = 1
[versions]
statsmodels = 0.11.1
patsy = 0.5.1
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