-
Notifications
You must be signed in to change notification settings - Fork 312
/
Copy pathaws-flb-kinesis.yaml
52 lines (45 loc) · 1.31 KB
/
aws-flb-kinesis.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package:
name: aws-flb-kinesis
version: 1.10.2
epoch: 16
description: A Fluent Bit output plugin for Kinesis Streams.
copyright:
- license: Apache-2.0
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- go
- wolfi-baselayout
pipeline:
- uses: git-checkout
with:
repository: https://github.com/aws/amazon-kinesis-streams-for-fluent-bit
tag: v${{package.version}}
expected-commit: 4772e6c023b14d8925ecb4328dfbe07148a990e8
- uses: go/bump
with:
deps: google.golang.org/protobuf@v1.33.0
- runs: |
mkdir -p ${{targets.destdir}}/usr/bin
go build -buildmode c-shared -o ${{targets.destdir}}/usr/bin/kinesis.so ./
subpackages:
- name: "aws-flb-kinesis-compat"
description: "Compatibility package to place binaries in the location expected by AWS for Fluent Bit"
pipeline:
- runs: |
# The AWS for Fluent Bit expects the .so libraries to be in /fluent-bit
mkdir -p "${{targets.subpkgdir}}"/fluent-bit
ln -sf /usr/bin/kinesis.so ${{targets.subpkgdir}}/fluent-bit/kinesis.so
- uses: strip
update:
enabled: true
github:
identifier: aws/amazon-kinesis-streams-for-fluent-bit
strip-prefix: v
use-tag: true
test:
pipeline:
- uses: test/tw/ldd-check