Skip to content

Commit

Permalink
Add kserve package with kserve-agent kserve-router (#27515)
Browse files Browse the repository at this point in the history
  • Loading branch information
smoser committed Sep 4, 2024
1 parent 64443f2 commit 2e71841
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions kserve.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
package:
name: kserve
version: 0.13.1
epoch: 1
description: "Standardized Serverless ML Inference Platform on Kubernetes"
copyright:
- license: Apache-2.0

environment:
contents:
packages:
- go

pipeline:
- uses: git-checkout
with:
repository: https://github.com/kserve/kserve
tag: v${{package.version}}
expected-commit: e7d9ac8c48900bfd6db4821305b762bc51d8a67b

data:
- name: go-components
items:
agent: "."
router: "."
manager: "."
qpext: "qpext"

subpackages:
- range: go-components
name: kserve-${{range.key}}
pipeline:
- uses: go/build
working-directory: ${{range.value}}
with:
modroot: .
packages: ./cmd/${{range.key}}
output: ${{range.key}}

- range: go-components
name: kserve-${{range.key}}-compat
dependencies:
runtime:
- kserve-${{range.key}}
pipeline:
- runs: |
mkdir -p "${{targets.contextdir}}/ko-app"
ln -s ../usr/bin/${{range.key}} "${{targets.contextdir}}/ko-app/${{range.key}}"
test:
environment:
contents:
packages:
- busybox
pipeline:
- name: "check paths"
runs: |
[ -x /ko-app/${{range.key}} -a -f /ko-app/${{range.key}} ]
update:
enabled: true
github:
identifier: kserve/kserve
strip-prefix: v

0 comments on commit 2e71841

Please sign in to comment.