From 7b15358de618bde63df514f7ea0db360105b04a9 Mon Sep 17 00:00:00 2001 From: "octo-sts[bot]" <157150467+octo-sts[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 23:11:11 +0000 Subject: [PATCH] Adding VersionStream for keda-2.16 (#35208) Co-authored-by: octo-sts[bot] <157150467+octo-sts@users.noreply.github.com> Co-authored-by: hbh7 --- keda-2.16.yaml | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 keda-2.16.yaml diff --git a/keda-2.16.yaml b/keda-2.16.yaml new file mode 100644 index 00000000000..e08e323ef28 --- /dev/null +++ b/keda-2.16.yaml @@ -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.