forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fluent-plugin-newrelic.yaml
55 lines (47 loc) · 1.25 KB
/
fluent-plugin-newrelic.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
53
54
55
#nolint:valid-pipeline-git-checkout-commit,valid-pipeline-git-checkout-tag
package:
name: fluent-plugin-newrelic
version: "1.2.2_git20241029"
epoch: 1
description: Sends FluentD events to New Relic
copyright:
- license: Apache-2.0
dependencies:
provides:
- ruby3.2-fluent-plugin-newrelic=${{package.full-version}}
runtime:
- ruby3.2-fluentd
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- git
- ruby-3.2
- ruby-3.2-dev
pipeline:
- uses: git-checkout
with:
expected-commit: b05217ae75532ea474181dabb60651a2d1534749
repository: https://github.com/newrelic/newrelic-fluentd-output
branch: master
- uses: ruby/build
with:
gem: ${{vars.gem}}
- uses: ruby/install
with:
# Hard-coding because of difference in gemspec file name and gem name
gem: fluent-plugin-newrelic
# Hard-coding the version here to match with gemspec till they come with a release/tag
version: 1.2.3
- uses: ruby/clean
vars:
gem: newrelic-fluentd-output
update:
enabled: false
exclude-reason: Upstream does not maintain tags or releases
test:
pipeline:
- runs: |
ruby -e "require 'fluent/plugin/out_newrelic'"