Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
osie
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
nexedi
osie
Commits
19b4ced5
Commit
19b4ced5
authored
Jun 27, 2024
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Plain Diff
Slaposify oi-sensor
See merge request
!58
parents
57852f73
fe61b340
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
102 additions
and
0 deletions
+102
-0
slapos/software/oi-sensor/buildout.hash.cfg
slapos/software/oi-sensor/buildout.hash.cfg
+3
-0
slapos/software/oi-sensor/instance.cfg.in
slapos/software/oi-sensor/instance.cfg.in
+51
-0
slapos/software/oi-sensor/software.cfg
slapos/software/oi-sensor/software.cfg
+48
-0
No files found.
slapos/software/oi-sensor/buildout.hash.cfg
0 → 100644
View file @
19b4ced5
[instance-profile]
filename = instance.cfg.in
md5sum = ab0e0eb1b37b712803f54ea003b2940f
slapos/software/oi-sensor/instance.cfg.in
0 → 100644
View file @
19b4ced5
[buildout]
parts =
promises
directory
oi-sensor-service
eggs-directory = {{ buildout["eggs-directory"] }}
develop-eggs-directory = {{ buildout["develop-eggs-directory"] }}
offline = true
[check-port-listening-promise]
recipe = slapos.cookbook:check_port_listening
path = ${directory:promise}/${:_buildout_section_name_}
[directory]
recipe = slapos.cookbook:mkdirectory
home = ${buildout:directory}
etc = ${:home}/etc
var = ${:home}/var
script = ${:etc}/run/
service = ${:etc}/service
promise = ${:etc}/promise/
log = ${:var}/log
bin = ${:home}/bin
[instance-parameter]
recipe = slapos.cookbook:slapconfiguration
computer = ${slap-connection:computer-id}
partition = ${slap-connection:partition-id}
url = ${slap-connection:server-url}
key = ${slap-connection:key-file}
cert = ${slap-connection:cert-file}
configuration.camera = 0
configuration.headless = 1
[oi-sensor-service]
recipe = slapos.cookbook:wrapper
command-line = {{ interpreter_location }}/py {{ osie_repository_location }}/oi-sensor/oi-sensor.py --headless ${instance-parameter:configuration.headless} --camera ${instance-parameter:configuration.camera}
wrapper-path = ${directory:service}/oi-sensor-service
output = $${:wrapper-path}
[oi-sensor-service-listen-promise-ipv4]
<= check-port-listening-promise
hostname = localhost
port = 4840
[promises]
recipe =
instance-promises =
${oi-sensor-service-listen-promise-ipv4:path}
slapos/software/oi-sensor/software.cfg
0 → 100644
View file @
19b4ced5
[buildout]
allow-picked-versions = true
extends =
buildout.hash.cfg
https://lab.nexedi.com/nexedi/slapos/raw/master/stack/monitor/buildout.cfg
https://lab.nexedi.com/nexedi/slapos/raw/master/stack/slapos.cfg
https://lab.nexedi.com/nexedi/slapos/raw/master/component/python3/buildout.cfg
https://lab.nexedi.com/nexedi/slapos/raw/master/component/git/buildout.cfg
parts =
interpreter
slapos-cookbook
osie-repository
instance-profile
[python]
part = python3
[interpreter]
recipe = zc.recipe.egg:scripts
interpreter = py
eggs =
asyncua
opencv-python
pyopenssl
[osie-repository]
recipe = slapos.recipe.build:gitclone
git-executable = ${git:location}/bin/git
repository = https://lab.nexedi.com/nexedi/osie.git
location = ${buildout:parts-directory}/osie
[versions]
cryptography = 42.0.8:whl
PyYAML = 6.0.1
aiosqlite = 0.20.0
aiofiles = 24.1.0
pyOpenSSL = 24.1.0
[instance-profile]
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg.in
rendered = ${buildout:directory}/instance.cfg
context =
section buildout buildout
key interpreter_location buildout:bin-directory
key osie_repository_location osie-repository:location
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