-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathcert-manager-1.13.yaml
104 lines (91 loc) · 3.08 KB
/
cert-manager-1.13.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
package:
name: cert-manager-1.13
# See https://cert-manager.io/docs/installation/supported-releases/ for upstream-supported versions
version: 1.13.4
epoch: 0
description: Automatically provision and manage TLS certificates in Kubernetes
copyright:
- license: Apache-2.0
dependencies:
provides:
- cert-manager=${{package.full-version}}
environment:
contents:
packages:
- busybox
- ca-certificates-bundle
- curl
- go
- jq
- make
pipeline:
- uses: git-checkout
with:
repository: https://github.com/cert-manager/cert-manager
tag: v${{package.version}}
expected-commit: 6df6131dcc03789e0240a29cd533223923f3f02c
- uses: go/bump
with:
deps: helm.sh/helm/[email protected]
modroot: cmd/ctl
# the makefile hardcodes the requirement for some container runtime (CTR), even when we don't need it
# to workaround, set CTR to anything $(command -v)able
- runs: |
# This is needed because the go bumps above affect these packages
for mod in cainjector acmesolver; do
cd cmd/$mod
go mod tidy
cd ../..
done
make CTR=make _bin/server/controller-linux-$(go env GOARCH)
make CTR=make _bin/server/webhook-linux-$(go env GOARCH)
make CTR=make _bin/server/cainjector-linux-$(go env GOARCH)
make CTR=make _bin/server/acmesolver-linux-$(go env GOARCH)
mkdir -p ${{targets.destdir}}/usr/bin
mv _bin/server/* ${{targets.destdir}}/usr/bin/
- uses: strip
subpackages:
- name: ${{package.name}}-controller
pipeline:
- runs: |
install -Dm755 ${{targets.destdir}}/usr/bin/controller-linux-$(go env GOARCH) ${{targets.subpkgdir}}/usr/bin/controller
dependencies:
provides:
- cert-manager-controller=${{package.full-version}}
- name: ${{package.name}}-webhook
pipeline:
- runs: |
install -Dm755 ${{targets.destdir}}/usr/bin/webhook-linux-$(go env GOARCH) ${{targets.subpkgdir}}/usr/bin/webhook
dependencies:
provides:
- cert-manager-webhook=${{package.full-version}}
- name: ${{package.name}}-cainjector
pipeline:
- runs: |
install -Dm755 ${{targets.destdir}}/usr/bin/cainjector-linux-$(go env GOARCH) ${{targets.subpkgdir}}/usr/bin/cainjector
dependencies:
provides:
- cert-manager-cainjector=${{package.full-version}}
- name: ${{package.name}}-acmesolver
pipeline:
- runs: |
install -Dm755 ${{targets.destdir}}/usr/bin/acmesolver-linux-$(go env GOARCH) ${{targets.subpkgdir}}/usr/bin/acmesolver
dependencies:
provides:
- cert-manager-acmesolver=${{package.full-version}}
- name: cmctl-1.13
pipeline:
- runs: |
make CTR=make _bin/cmctl/cmctl-linux-$(go env GOARCH)
- runs: |
install -Dm755 _bin/cmctl/cmctl-linux-$(go env GOARCH) ${{targets.subpkgdir}}/usr/bin/cmctl
- uses: strip
dependencies:
provides:
- cmctl=${{package.full-version}}
update:
enabled: true
github:
identifier: cert-manager/cert-manager
strip-prefix: v
tag-filter: v1.13.