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
75f7f0d1
Commit
75f7f0d1
authored
Jan 25, 2018
by
Eteri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fluentbit-wendelin: use gowork
parent
d452bbac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
6 deletions
+15
-6
software/fluentbit/instance.cfg.in
software/fluentbit/instance.cfg.in
+8
-2
software/fluentbit/software.cfg
software/fluentbit/software.cfg
+7
-4
No files found.
software/fluentbit/instance.cfg.in
View file @
75f7f0d1
[buildout]
parts =
fluentbit-service
eggs-directory = {{ buildout['eggs-directory'] }}
develop-eggs-directory = {{ buildout['develop-eggs-directory'] }}
offline = true
...
...
@@ -18,3 +17,10 @@ promise = ${:etc}/promise/
log = ${:var}/log
bin = ${:home}/bi
[fluentbit-service]
recipe = slapos.cookbook:wrapper
command-line =
{{ fluentbit_source_location }}/build/bin/fluent-bit -e
{{ gowork_direcotory }}/pkg/linux_amd64_shared/lab.nexedi.com/nexedi/fluentbit-plugin-wendelin.a -c {{ gowork_direcotory }}/src/lab.nexedi.com/nexedi/fluentbit-plugin-wendelin/example/to_wendelin.conf
wrapper-path = ${directory:service}/fluentbit-service
output = $${:wrapper-path}
software/fluentbit/software.cfg
View file @
75f7f0d1
...
...
@@ -9,14 +9,16 @@ parts =
fluentbit-source
fluentbit
instance-profile
slapos-cookbook
[gowork]
buildflags = -race
install =
github.com/fluent/fluent-bit-go/output
buildflags = -buildmode=c-shared
install =
github.com/fluent/fluent-bit-go/output \
lab.nexedi.com/nexedi/fluentbit-plugin-wendelin
[instance-profile]
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg.in
...
...
@@ -25,7 +27,8 @@ rendered = ${buildout:directory}/instance.cfg
mode = 0644
context =
section buildout buildout
# key fluentbit_source_location fluentbit-source:location
key fluentbit_source_location fluentbit-source:location
key gowork_direcotory gowork:directory
[fluentbit-source]
recipe = slapos.recipe.build:gitclone
...
...
@@ -36,7 +39,7 @@ recipe = slapos.recipe.cmmi
path = ${fluentbit-source:location}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
configure-command =
cd build && ${cmake:location}/bin/cmake -DFLB_BUFFERING=Yes -DFLB_DEBUG=On -DFLB_PROXY_GO=On
..
cd build && ${cmake:location}/bin/cmake -DFLB_BUFFERING=Yes -DFLB_DEBUG=On -DFLB_PROXY_GO=On ..
make-targets =
make-binary =
cd build && make
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