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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
slapos
Commits
80756a17
Commit
80756a17
authored
Dec 12, 2017
by
Eteri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fluentbit: add fluentbit to slapos
parent
6db1245b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
0 deletions
+58
-0
software/fluentbit/instance.cfg.in
software/fluentbit/instance.cfg.in
+24
-0
software/fluentbit/software.cfg
software/fluentbit/software.cfg
+34
-0
No files found.
software/fluentbit/instance.cfg.in
0 → 100644
View file @
80756a17
[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}
software/fluentbit/software.cfg
0 → 100644
View file @
80756a17
[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
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