Skip to content

Commit 7a1083c

Browse files
cosmo0920edsiper
authored andcommitted
snap: Bump up core20 from core18
Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent 668358c commit 7a1083c

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed
File renamed without changes.

snap/snapcraft.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: fluent-bit
2-
base: core18
2+
base: core20
33
version: '4.2.0'
44
summary: High performance logs and stream processor
55
description: |
66
Fluent Bit is a high performance log processor and stream processor for Linux.
77
It provides a flexible pluggable architecture to collect, enrich and deliver
88
logs or metrics to multiple databases or cloud providers.
99
license: 'Apache-2.0'
10-
icon: ./fluent-bit.svg
10+
icon: gui/fluent-bit.svg
1111
confinement: 'strict'
1212
grade: 'stable'
1313

@@ -19,14 +19,15 @@ plugs:
1919

2020
apps:
2121
service:
22-
command: fluent-bit -c $SNAP/etc/fluent-bit/fluent-bit.conf
22+
command: usr/local/bin/fluent-bit -c $SNAP/usr/local/etc/fluent-bit/fluent-bit.conf
2323
daemon: simple
2424
plugs:
2525
- network
2626
- network-bind
2727
- read-config
28+
2829
fluent-bit:
29-
command: fluent-bit
30+
command: usr/local/bin/fluent-bit
3031
plugs:
3132
- network
3233
- network-bind
@@ -35,6 +36,8 @@ parts:
3536
fluent-bit:
3637
source: https://github.com/fluent/fluent-bit
3738
source-type: git
39+
build-snaps:
40+
- cmake/latest/stable
3841
plugin: cmake
3942
stage-packages:
4043
- libsasl2-2
@@ -51,14 +54,16 @@ parts:
5154
- valgrind
5255
- libssl-dev
5356
- libpq5
57+
- libyaml-dev
5458
- postgresql-server-dev-all
55-
configflags:
59+
cmake-parameters:
5660
- -DFLB_DEBUG=On
5761
- -DFLB_OUT_KAFKA=On
5862
- -DFLB_JEMALLOC=On
5963
- -DFLB_EXAMPLES=OFF
6064
- -DFLB_SHARED_LIB=Off
6165
- -DFLB_OUT_PGSQL=On
66+
build-attributes: [keep-execstack]
6267

6368
layout:
6469
/etc/fluent-bit:

0 commit comments

Comments
 (0)