-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcert-exporter-2.14.0-r3.yaml
49 lines (42 loc) · 1.28 KB
/
cert-exporter-2.14.0-r3.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
package:
name: cert-exporter-2.14.0-r3
version: 2.14.0
epoch: 3
description: A Prometheus exporter that publishes cert expirations on disk and in Kubernetes secrets
copyright:
- license: Apache-2.0
environment:
contents:
packages:
- busybox
- ca-certificates-bundle
- go
pipeline:
- uses: git-checkout
with:
repository: https://github.com/joe-elliott/cert-exporter.git
tag: v${{package.version}}
expected-commit: 60303e696b5ca273dac6c9e7d6bfe1c2a7e51c97
- uses: go/bump
with:
deps: github.com/cert-manager/cert-manager@v1.15.4 golang.org/x/crypto@v0.31.0 golang.org/x/net@v0.33.0
- runs: |
# Original build command referenced from here:
# - https://github.com/joe-elliott/cert-exporter/blob/master/Dockerfile#L6
CGO_ENABLED=0 go build -a -installsuffix cgo -o "${{targets.destdir}}"/usr/bin/cert-exporter .
- uses: strip
# Upstream publishes helm charts and application releases separately, example:
# - cert-exporter-3.4.1 (helm chart)
# - v2.11.0 (application release)
# We're only intersted in the latter.
update:
enabled: true
github:
identifier: joe-elliott/cert-exporter
strip-prefix: v
tag-filter: v
test:
pipeline:
# AUTOGENERATED
- runs: |
cert-exporter --help