-
Notifications
You must be signed in to change notification settings - Fork 181
/
keda-2.14.yaml
89 lines (80 loc) · 2.47 KB
/
keda-2.14.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
package:
name: keda-2.14
version: 2.14.0
epoch: 0
description: KEDA is a Kubernetes-based Event Driven Autoscaling component. It provides event driven scale for any container running in Kubernetes
copyright:
- license: Apache-2.0
dependencies:
runtime:
- tzdata
provides:
- keda=${{package.full-version}}
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- go
- protobuf-dev
- protoc
pipeline:
- uses: git-checkout
with:
expected-commit: 6681d5ecbc82293626cab693625c9cc9fb453381
repository: https://github.com/kedacore/keda
tag: v${{package.version}}
# CVE-2023-39325 CVE-2023-45142 CVE-2023-47108
- uses: go/bump
with:
deps: github.com/cloudevents/sdk-go/v2@v2.15.2 google.golang.org/protobuf@v1.33.0
- runs: |
ARCH=$(go env GOARCH) make build
mkdir -p "${{targets.destdir}}/usr/bin"
mv bin/keda "${{targets.destdir}}/usr/bin"
- uses: strip
subpackages:
- name: "${{package.name}}-adapter"
description: "Metrics adapter for Keda"
dependencies:
runtime:
- tzdata
provides:
- keda-adapter=${{package.full-version}}
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}/usr/bin"
mv bin/keda-adapter "${{targets.subpkgdir}}/usr/bin"
- uses: strip
- name: "${{package.name}}-admission-webhooks"
description: "Webhooks for Keda"
dependencies:
runtime:
- tzdata
provides:
- keda-admission-webhooks=${{package.full-version}}
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}/usr/bin"
mv bin/keda-admission-webhooks "${{targets.subpkgdir}}/usr/bin"
- uses: strip
- name: "${{package.name}}-compat"
description: "Compatibility package to place binaries in the location expected by upstream helm charts"
dependencies:
provides:
- keda-compat=${{package.full-version}}
pipeline:
- runs: |
# The helm chart expects the keda binaries to be in / instead of /usr/bin
mkdir -p "${{targets.subpkgdir}}"
ln -sf /usr/bin/keda ${{targets.subpkgdir}}/keda
ln -sf /usr/bin/keda-admission-webhooks ${{targets.subpkgdir}}/keda-admission-webhooks
ln -sf /usr/bin/keda-adapter ${{targets.subpkgdir}}/keda-adapter
- uses: strip
update:
enabled: true
github:
identifier: kedacore/keda
strip-prefix: v
tag-filter: v2.14.