-
Notifications
You must be signed in to change notification settings - Fork 289
/
Copy pathaws-flb-firehose.yaml
45 lines (40 loc) · 1.23 KB
/
aws-flb-firehose.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
package:
name: aws-flb-firehose
version: 1.7.2
epoch: 7
description: A Fluent Bit output plugin for Amazon Kinesis Data Firehose
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-firehose-for-fluent-bit
tag: v${{package.version}}
expected-commit: dcbe1a0191abd6242182af55547ccf99ee650ce9
- runs: |
mkdir -p ${{targets.destdir}}/usr/bin
go build -buildmode c-shared -o ${{targets.destdir}}/usr/bin/firehose.so ./
subpackages:
- name: "aws-flb-firehose-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/firehose.so ${{targets.subpkgdir}}/fluent-bit/firehose.so
- uses: strip
update:
enabled: true
github:
identifier: aws/amazon-kinesis-firehose-for-fluent-bit
strip-prefix: v
use-tag: true
tag-filter: v