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
105
Merge Requests
105
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
4068fd99
Commit
4068fd99
authored
Nov 15, 2022
by
Martin Manchev
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added MQTT ...
parent
77ad97e8
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
67 additions
and
0 deletions
+67
-0
component/mqtt/buildout.cfg
component/mqtt/buildout.cfg
+13
-0
software/mqtt/buildout.hash.cfg
software/mqtt/buildout.hash.cfg
+3
-0
software/mqtt/instance.cfg.in
software/mqtt/instance.cfg.in
+33
-0
software/mqtt/software.cfg
software/mqtt/software.cfg
+18
-0
No files found.
component/mqtt/buildout.cfg
0 → 100644
View file @
4068fd99
[buildout]
extends =
../cmake/buildout.cfg
[mqtt]
recipe = slapos.recipe.cmmi
url = https://mosquitto.org/files/source/mosquitto-2.0.15.tar.gz
md5sum = 22b7a8b05caa692cb22496b791529193
configure-command =
${cmake:location}/bin/cmake
configure-options =
-DWITH_CJSON=no
-DCMAKE_INSTALL_PREFIX=@@LOCATION@@
software/mqtt/buildout.hash.cfg
0 → 100644
View file @
4068fd99
[instance-profile]
filename = instance.cfg.in
md5sum = 7eec21e03fb214f13013946a356cfd92
software/mqtt/instance.cfg.in
0 → 100644
View file @
4068fd99
[buildout]
parts =
directory
mqtt-service
eggs-directory = {{ buildout["eggs-directory"] }}
develop-eggs-directory = {{ buildout["develop-eggs-directory"] }}
offline = true
[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}
[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
[mqtt-service]
recipe = slapos.cookbook:wrapper
command-line = mosquitto_sub -t data
wrapper-path = ${directory:service}/mqtt-service
output = $${:wrapper-path}
software/mqtt/software.cfg
0 → 100644
View file @
4068fd99
[buildout]
extends =
buildout.hash.cfg
../../stack/slapos.cfg
../../stack/monitor/buildout.cfg
../../component/mqtt/buildout.cfg
parts =
slapos-cookbook
instance-profile
[instance-profile]
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg.in
rendered = ${buildout:directory}/instance.cfg
context =
section buildout buildout
key mqtt_location mqtt:location
Martin Manchev
@mmanchev23
mentioned in commit
0ecfc633
·
Nov 18, 2022
mentioned in commit
0ecfc633
mentioned in commit 0ecfc633f55e6fa82473d3e4ff229fa1756771fa
Toggle commit list
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