forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkube-metrics-adapter.yaml
41 lines (36 loc) · 1.06 KB
/
kube-metrics-adapter.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
package:
name: kube-metrics-adapter
version: 0.2.3
epoch: 2
description: General purpose metrics adapter for Kubernetes HPA metrics
copyright:
- license: MIT
pipeline:
- uses: git-checkout
with:
repository: https://github.com/zalando-incubator/kube-metrics-adapter
expected-commit: 61d5880f8c26b137ffe19e55588c1de1a2bdd1cd
tag: v${{package.version}}
- uses: go/bump
with:
deps: github.com/gomarkdown/[email protected]
modroot: .
- uses: go/build
with:
modroot: .
output: kube-metrics-adapter
packages: main.go
ldflags: -X main.version=${{package.version}} -X main.commit=$(git rev-parse HEAD) -X main.date=$(date ${SOURCE_DATE_EPOCH:+ -d@${SOURCE_DATE_EPOCH}} "+%Y-%m-%dT%H:%M:%SZ")
update:
enabled: true
ignore-regex-patterns:
- kube-metrics-adapter-*
github:
identifier: zalando-incubator/kube-metrics-adapter
strip-prefix: v
use-tag: true
test:
pipeline:
- runs: |
kube-metrics-adapter -h
kube-metrics-adapter --help