-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathfluent-plugin-prometheus.yaml
53 lines (48 loc) · 1.2 KB
/
fluent-plugin-prometheus.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
package:
name: fluent-plugin-prometheus
version: 2.1.0
epoch: 1
description: A fluent plugin that collects metrics and exposes for Prometheus.
copyright:
- license: Apache-2.0
dependencies:
provides:
- ruby3.2-fluent-plugin-prometheus=${{package.version}}-r${{package.epoch}}
runtime:
- ruby3.2-fluentd
- ruby3.2-prometheus-client
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- git
- ruby-3.2
- ruby-3.2-dev
vars:
gem: fluent-plugin-prometheus
pipeline:
- uses: git-checkout
with:
destination: ${{vars.gem}}
expected-commit: 9c6c5631377c09a844aa800d3533dc881be93ac0
repository: https://github.com/fluent/fluent-plugin-prometheus
tag: v${{package.version}}
- working-directory: ${{vars.gem}}
pipeline:
- uses: ruby/unlock-spec
- uses: ruby/build
with:
gem: ${{package.name}}
- uses: ruby/install
with:
gem: ${{package.name}}
version: ${{package.version}}
- uses: ruby/clean
update:
enabled: true
github:
identifier: fluent/fluent-plugin-prometheus
strip-prefix: v
use-tag: true