-
Notifications
You must be signed in to change notification settings - Fork 282
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding VersionStream for keda-2.16 (#35208)
Co-authored-by: octo-sts[bot] <[email protected]> Co-authored-by: hbh7 <[email protected]>
- Loading branch information
1 parent
15a62af
commit 7b15358
Showing
1 changed file
with
85 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
package: | ||
name: keda-2.16 | ||
version: 2.16.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: 5c52d032931b8ecf855d0c298f8d5e48937aecd7 | ||
repository: https://github.com/kedacore/keda | ||
tag: v${{package.version}} | ||
|
||
- 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}}-metrics-apiserver" | ||
description: "Metrics adapter for Keda" | ||
dependencies: | ||
runtime: | ||
- tzdata | ||
provides: | ||
- keda-adapter=${{package.full-version}} | ||
- keda-metrics-apiserver=${{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.16. |