-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathfluent-plugin-kubernetes_metadata_filter.yaml
65 lines (58 loc) · 1.66 KB
/
fluent-plugin-kubernetes_metadata_filter.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
56
57
58
59
60
61
62
63
64
65
package:
name: fluent-plugin-kubernetes_metadata_filter
version: 3.4.0
epoch: 0
description: This is the Filter plugin to add Kubernetes metadata
copyright:
- license: Apache-2.0
dependencies:
runtime:
- ruby3.2-fluentd
- ruby3.2-json-jwt
- ruby3.2-multi_json
- ruby3.2-net-http-persistent
- ruby3.2-openid_connect-1.1.8
- ruby3.2-prometheus-client
- ruby3.2-rack-oauth2
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- git
- ruby-3.2
- ruby-3.2-dev
vars:
gem: fluent-plugin-kubernetes_metadata_filter
pipeline:
# This package makes use of `git ls-files` in its gemspec so the git repo
# must be checked out in order for the gem to build with all files.
- uses: git-checkout
with:
destination: ${{vars.gem}}
expected-commit: 09c6adb5ed51799292a5c2841a2954b15c0a5276
repository: https://github.com/fabric8io/fluent-plugin-kubernetes_metadata_filter.git
tag: v${{package.version}}
- working-directory: ${{vars.gem}}
pipeline:
- uses: ruby/build
with:
gem: ${{vars.gem}}
- uses: ruby/install
with:
gem: ${{vars.gem}}
version: ${{package.version}}
- uses: ruby/clean
- runs: |-
GEM_DIR=${{targets.destdir}}$(ruby -e 'puts Gem.default_dir')/gems/${{vars.gem}}-${{package.version}}
rm -rf ${GEM_DIR}/test \
${GEM_DIR}/docs \
${GEM_DIR}/*.md \
${GEM_DIR}/.github
update:
enabled: true
github:
identifier: fabric8io/fluent-plugin-kubernetes_metadata_filter
strip-prefix: v
use-tag: true