Skip to content

Commit

Permalink
Adding VersionStream for keda-2.16 (#35208)
Browse files Browse the repository at this point in the history
Co-authored-by: octo-sts[bot] <[email protected]>
Co-authored-by: hbh7 <[email protected]>
  • Loading branch information
3 people authored Dec 9, 2024
1 parent 15a62af commit 7b15358
Showing 1 changed file with 85 additions and 0 deletions.
85 changes: 85 additions & 0 deletions keda-2.16.yaml
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.

0 comments on commit 7b15358

Please sign in to comment.