Commit 80756a17 authored by Eteri's avatar Eteri

fluentbit: add fluentbit to slapos

parent 6db1245b
[buildout]
parts =
fluentbit-service
eggs-directory = {{ buildout['eggs-directory'] }}
develop-eggs-directory = {{ buildout['develop-eggs-directory'] }}
offline = true
[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
[fluentbit-service]
recipe = slapos.cookbook:wrapper
command-line = {{ fluentbit_source_location }}/build/bin/fluent-bit -i cpu -o stdout
wrapper-path = ${directory:service}/fluentbit-service
output = $${:wrapper-path}
[buildout]
extends =
../../stack/slapos.cfg
../../component/cmake/buildout.cfg
parts =
slapos-cookbook
fluentbit-source
fluentbit
instance-profile
[instance-profile]
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg.in
rendered = ${buildout:directory}/instance.cfg
md5sum = a4cc579e1a4dd0eb58792a8dc6d47bc9
mode = 0644
context =
section buildout buildout
key fluentbit_source_location fluentbit-source:location
[fluentbit-source]
recipe = slapos.recipe.build:gitclone
repository = https://github.com/fluent/fluent-bit.git
[fluentbit]
recipe = slapos.recipe.cmmi
path = ${fluentbit-source:location}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
configure-command =
cd build && ${cmake:location}/bin/cmake ..
make-targets =
make-binary =
cd build && make
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment