Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit 6993eee

Browse files
committed
feat: a new start for the chart
Co-authored-by: greg pereira <grpereir@redhat.com> Co-authored-by: Brent Salisbury <bsalisbu@redhat.com> Co-authored-by: Chris Chase <cchase@redhat.com> Co-authored-by: Ryan Cook <rcook@redhat.com> Co-authored-by: sallyom <somalley@redhat.com> Co-authored-by: Anil Kumar Vishnoi <vishnoianil@gmail.com> Co-authored-by: Andrew Anderson <andy@clubanderson.com> Signed-off-by: Tomas Coufal <tcoufal@redhat.com> chore: trigger release Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Update installer permissions Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> remove minikube flags from base installer Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> chore: renaming things Signed-off-by: Tomas Coufal <tcoufal@redhat.com> updating modelservice CRD for cmd support + automation Signed-off-by: greg pereira <grpereir@redhat.com> chore: replace proselint with vale Signed-off-by: Tomas Coufal <tcoufal@redhat.com> swap image back to ms official Signed-off-by: greg pereira <grpereir@redhat.com> chore: run test on release tags and add badge to releases in GH Signed-off-by: Tomas Coufal <tcoufal@redhat.com> labels + using gotpl decode service Signed-off-by: greg pereira <grpereir@redhat.com> temporarily remove vale lint Signed-off-by: greg pereira <grpereir@redhat.com> linting and fixing helpers Signed-off-by: greg pereira <grpereir@redhat.com> revert removing vale Signed-off-by: greg pereira <grpereir@redhat.com> msvc rbac v2 hack updates Signed-off-by: greg pereira <grpereir@redhat.com> msvc rbac v2 hack updates v3 Signed-off-by: greg pereira <grpereir@redhat.com> quickstart README updates bumping epp image to new amd target Signed-off-by: greg pereira <grpereir@redhat.com> chore: fix pre-commit-cache Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Replaced broken glusterfs for single node hostPath Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> Fix minikube readme Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com> chore: run chart releases as bumper bot, so we can trigger workflows from it Signed-off-by: Tomas Coufal <tcoufal@redhat.com> using imagepullsecrts for epp/pd secrets Signed-off-by: greg pereira <grpereir@redhat.com> Update charts/llm-d/templates/modelservice/_helpers.tpl non global pull-secrets as well Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> calling the IPS template properly Signed-off-by: greg pereira <grpereir@redhat.com> chart bump + linting Signed-off-by: greg pereira <grpereir@redhat.com> chore: fix test workflow on tag push (#35) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> fixing gateway (#33) * fixing MS upgrade no pd role flag Signed-off-by: greg pereira <grpereir@redhat.com> * fixing gateway Signed-off-by: greg pereira <grpereir@redhat.com> --------- Signed-off-by: greg pereira <grpereir@redhat.com> Make the storage PV and PVCs variable in the minikube installer (#49) * Make the storage PV and PVCs variable Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> * Default to hostPath storage type - No need to have conditionals for storage type in the minikube installer. Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> * minikube readme updates Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> --------- Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> Fix quickstart validation model names (#48) Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> feat: add Istio backend for Gateway (#45) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> removal of dev flag (#52) Signed-off-by: Ryan Cook <rcook@redhat.com> feat: migrate to community redis image (#53) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> removal of -dev from sidecar and use latest image tag (#54) Signed-off-by: Ryan Cook <rcook@redhat.com> fix: modelservice CR was wrong (#56) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> stub OCP ingress controller into opinionated install (#47) * stub OCP ingress controller into opinionated install Signed-off-by: greg pereira <grpereir@redhat.com> * remove backstage references and respect passing host Signed-off-by: greg pereira <grpereir@redhat.com> --------- Signed-off-by: greg pereira <grpereir@redhat.com> feat: update model service rbac (#58) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> modelservice servicemonitor (#22) * add modelservice servicemonitor Signed-off-by: sallyom <somalley@redhat.com> * disable modelservice metrics in CI Signed-off-by: sallyom <somalley@redhat.com> * update installers for metrics collection Signed-off-by: sallyom <somalley@redhat.com> * update quickstart READMEs for metrics Signed-off-by: sallyom <somalley@redhat.com> * bump chart version Signed-off-by: sallyom <somalley@redhat.com> --------- Signed-off-by: sallyom <somalley@redhat.com> fix: ensure model service controller can always grant epp role (#60) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> ensure metrics stack reinstalls in quickstarts (#61) Signed-off-by: sallyom <somalley@redhat.com> fix: kgateway proxyUID fixes - compatibility with multiple gateway types (#64) Signed-off-by: greg pereira <grpereir@redhat.com> chore: fix ci values file (#63) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Add tolerations to values.yaml and baseconfigs (#50) BYO model (#21) * BYO model Signed-off-by: greg pereira <grpereir@redhat.com> * charts should not have sample app perspective, but treat MSVC as first class citizen Signed-off-by: greg pereira <grpereir@redhat.com> * defy remove sample app from MSVC base config - hack Signed-off-by: greg pereira <grpereir@redhat.com> * refactor base everything off modelartifactURI Signed-off-by: greg pereira <grpereir@redhat.com> * fix: use model service controller templating instead of helm Signed-off-by: Tomas Coufal <tcoufal@redhat.com> * more refactors Signed-off-by: greg pereira <grpereir@redhat.com> * minikube script compatability Signed-off-by: greg pereira <grpereir@redhat.com> * linting Signed-off-by: greg pereira <grpereir@redhat.com> --------- Signed-off-by: greg pereira <grpereir@redhat.com> Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Co-authored-by: Tomas Coufal <tcoufal@redhat.com> feat: upgrade to model service 0.0.8 (#62) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> docs: sanitize chart README, update main repo README and CONTRIBUTING with tips, faq and others (#72) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> quick helm fix (#73) Signed-off-by: greg pereira <grpereir@redhat.com> Update the minikube readme with byo model (#70) Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> Fixup the minikube model pvc to be dynamic (#69) - Makes the PVC dynamic based on the PVC URI in the chart values - Adds some debugging, will wrap those into a --debug flag in a seperate patch. Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> Fix helm set pull secrets array in minikube installer (#75) Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> upgrading EPP image to tag reflecting inference-router repo migration (#74) Signed-off-by: greg pereira <grpereir@redhat.com> Add github workflow to run e2e test on the AWS instance (#77) Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com> Fix install-deps.sh execution permission (#80) Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com> Update quickstart for byo (#79) Fix the llmd-deployer repo url (#81) Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com> Use fine grain token to clone deployer repo (#82) Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com> feat: add knobs for EPP env variables (#67) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> docs: fix Quickstart link in main README (#87) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> quiet prometheus install stdout in quickstarts (#85) Signed-off-by: sallyom <somalley@redhat.com> evaluate if the defined storage class exists (#84) Signed-off-by: Ryan Cook <rcook@redhat.com> Fixup disable metric (#71) When DISABLE_METRICS is true, inject Helm args to set modelservice.metrics.enabled=false and modelservice.serviceMonitor.enabled=false, to stop the chart from rendering ServiceMonitor resources. Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> Remove the minikube runtime memory limit (#92) - Makes room for cpu mem offload from vLLM. Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> using new NIXL only connector (#32) * using new NIXL only connector Signed-off-by: greg pereira <grpereir@redhat.com> * runs but no cache hit Signed-off-by: greg pereira <grpereir@redhat.com> * no p/d services in prod example Signed-off-by: greg pereira <grpereir@redhat.com> * restore pd services deemed non-invasive Signed-off-by: greg pereira <grpereir@redhat.com> * keeping confimaps around but not using them in lmcache for dual connectors later Signed-off-by: greg pereira <grpereir@redhat.com> * downgrade to working image Signed-off-by: greg pereira <grpereir@redhat.com> * removing dead code placeholder sections Signed-off-by: greg pereira <grpereir@redhat.com> * linting Signed-off-by: greg pereira <grpereir@redhat.com> --------- Signed-off-by: greg pereira <grpereir@redhat.com> Invert `--download-model` to `--skip-download-model` (#83) Just flips the logic. Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> Add pods describe info to the logs (#96) Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com> Update the quickstart ingress validations (#88) Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> docs: Neater preset table for NOTES.txt (#95) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Add --all-containers=true to artifact logs (#97) Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> Remove runasroot to fix decode breakage (#98) - Longer term, see if decode can be run as a regular user. Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> Enable metrics scraping from EPP (#93) * add epp-service metrics collection Signed-off-by: sallyom <somalley@redhat.com> * bump chart version Signed-off-by: sallyom <somalley@redhat.com> --------- Signed-off-by: sallyom <somalley@redhat.com> llm-d scheduler scorers configuration (#99) Signed-off-by: Ricardo Noriega De Soto <rnoriega@redhat.com> chore: fix test prereqs (#103) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> fix: update model service controller to 0.0.9 (#101) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> update model_id in validation endpoints (#105) Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> test: get proper tests going (#102) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> All image support w/ concurrent connectors (#100) * All image support w/ concurrent connectorst Signed-off-by: greg pereira <grpereir@redhat.com> * dist url via pod IP + no config, fallback full env Signed-off-by: greg pereira <grpereir@redhat.com> * linting Signed-off-by: greg pereira <grpereir@redhat.com> --------- Signed-off-by: greg pereira <grpereir@redhat.com> use prod EPP image post rename (#108) Signed-off-by: greg pereira <grpereir@redhat.com> remove legacy gpu-basic preset (#110) Signed-off-by: greg pereira <grpereir@redhat.com> Update the quickstart validate script to v1/completion (#111) - Temporary until the vllm nixl patch lands with v1/chat support. Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> feat: add helm json schema (#114) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> fix: remove from the chart (#113) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> chore: update issue templates and add autolabel (#120) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> template p/d replicas in ms from sample app (#119) * template p/d replicas in ms from sample app Signed-off-by: greg pereira <grpereir@redhat.com> * removing helpers feedback Signed-off-by: greg pereira <grpereir@redhat.com> --------- Signed-off-by: greg pereira <grpereir@redhat.com> docs: add section on documenting variables to the CONTRIBUTING guide (#122) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> chore(ci): add ghcr creds (#124) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Fix escape log message in minikube installer (#125) Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> Fix a string escape in llmd-installer.sh (#126) Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> Fix HF_MODEL_ID validation in quickstart verify_env() (#127) Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> include clusterRouterBase in the schema (#129) Signed-off-by: greg pereira <grpereir@redhat.com> feat: migrate images registry to ghcr.io (#121) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat: update to model-service:0.0.10 (#130) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Add debug logging wrapper and model value file and dir (#112) - Fills out the --debug mode to include logging - Add a sample `quickstart/models` directory for pre-canned validated models. Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> chore: rename to llm-d org (#135) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> chore: remove openshift reference (#136) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> chore: try fixing test workflow after repo move Signed-off-by: Tomas Coufal <tcoufal@redhat.com> chore: downgrade min kube version to 1.30 (#139) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> chore: rename vllm-sim to llm-d-inference-sim (#140) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> docs: add prereqs (#142) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> bugfix: swap floats to ints for epp vars (#133) * swap floats to ints for epp vars Signed-off-by: greg pereira <grpereir@redhat.com> * fix: update remaining variables Signed-off-by: Tomas Coufal <tcoufal@redhat.com> --------- Signed-off-by: greg pereira <grpereir@redhat.com> Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Co-authored-by: Tomas Coufal <tcoufal@redhat.com> Wire in the bitnami redis sc (#143) - bug reported in #141 Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> fix: make epp env variables merging possible and also extend sample app with epp env vars (#145) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat: add various selectors, constrains, tolerations etc (#147) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Fix --values-file documentation in README.md (#148) Signed-off-by: Tyler Michael Smith <tyler@neuralmagic.com> refactor: remove hfToken.create from the chart values (#149) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> chore: update badge for release decorator (#153) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> chore: refac prerequisites for quickstart (#150) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Update the test-request.sh validation script (#156) * Update the test-request.sh validation script - Docs letting the user know if the hit podsec issues how to work workaround them. - replace shuf with RANDOM since its default on osx and linux - Make namespace and model arguments Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> * fix: lint errors Signed-off-by: Tomas Coufal <tcoufal@redhat.com> --------- Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Co-authored-by: Tomas Coufal <tcoufal@redhat.com> feat: upgrade to `ghcr.io/llm-d/llm-d:0.0.8` (#161) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> docs: docs docs and more docs (#164) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> feat: upgrade to inference scheduler 0.0.3 (#163) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> remove create token from sample override file (#166) Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> swap to HF by default to avoid RWX storage issue trajectory (#165) Signed-off-by: greg pereira <grpereir@redhat.com> Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Set mikefarah yq as a quickstart requirement (#167) Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> upping model download time, including resrouce stuff in json schema, remove ee by default (#169) Signed-off-by: greg pereira <grpereir@redhat.com> s/quay/ghcr/ updates to quickstart readmes (#172) Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> fix: repeated of quickstart need CRD cleanups (#173) Signed-off-by: Tomas Coufal <tcoufal@redhat.com> pvc log cleanup in uninstall (#178) - user doesnt care if that was skipped if not PVC - pvc gets deleted with the ns Signed-off-by: Brent Salisbury <bsalisbu@redhat.com> keep values schema for resources but not actual values (#174) Signed-off-by: greg pereira <grpereir@redhat.com> Skip setting BASE_OCP_DOMAIN when not on OpenShift (#155) * Skip setting BASE_OCP_DOMAIN when not on openshift Signed-off-by: Tyler Michael Smith <tyler@neuralmagic.com> * pre-commit Signed-off-by: Tyler Michael Smith <tyler@neuralmagic.com> --------- Signed-off-by: Tyler Michael Smith <tyler@neuralmagic.com> Remove redis persistence (#175) * Remove redis persistence * chore: bump chart version Signed-off-by: Tomas Coufal <tcoufal@redhat.com> --------- Signed-off-by: Tomas Coufal <tcoufal@redhat.com> Co-authored-by: Tomas Coufal <tcoufal@redhat.com> safer failures on uninstall full stack (#179) Signed-off-by: greg pereira <grpereir@redhat.com> safe uninstall (#180) Signed-off-by: greg pereira <grpereir@redhat.com> feat: populate CRB for metrics collection from epp (#171) Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
0 parents  commit 6993eee

146 files changed

Lines changed: 16542 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/.markdownlint.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
extends: ../.markdownlint.yaml
2+
MD041: false

.github/ISSUE_TEMPLATE/bug.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Bug Report
2+
description: Create a report to help us improve
3+
type: bug
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this bug report!
9+
- type: dropdown
10+
id: component
11+
attributes:
12+
label: Component
13+
description: First, tell us which component we should focus on
14+
options:
15+
- I don't know
16+
- Quickstart
17+
- Helm Chart
18+
- Other
19+
default: 0
20+
validations:
21+
required: true
22+
- type: textarea
23+
id: describe
24+
attributes:
25+
label: Describe the bug
26+
description: A clear and concise description of what the bug is
27+
placeholder: Tell us what's wrong
28+
validations:
29+
required: true
30+
- type: textarea
31+
id: reproducer
32+
attributes:
33+
label: Steps to reproduce
34+
description: Steps to reproduce the behavior
35+
placeholder: I did (A), then (B) and then I saw (C) error
36+
validations:
37+
required: true
38+
- type: textarea
39+
id: extra
40+
attributes:
41+
label: Additional context or screenshots
42+
description: Add any other context about the problem here
43+
placeholder: Anything else you want to say to the report, attach screenshots, this is the place
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Feature request
2+
description: Suggest an idea for this project
3+
type: feature
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to suggest how we can make this project even better!
9+
- type: dropdown
10+
id: component
11+
attributes:
12+
label: Component
13+
description: First, tell us which component we should focus on for this request
14+
options:
15+
- I don't know
16+
- Quickstart
17+
- Helm Chart
18+
- Other
19+
default: 0
20+
validations:
21+
required: true
22+
- type: textarea
23+
id: describe
24+
attributes:
25+
label: Desired use case or feature
26+
description: Is your feature request related to a problem? Please describe
27+
placeholder: A clear and concise description of what the problem is. Ex. I have the following use-case [...]. For this use-case, I would like the `llm-d-deployer` to [...]
28+
validations:
29+
required: true
30+
- type: textarea
31+
id: proposal
32+
attributes:
33+
label: Proposed solution
34+
description: Describe the solution approach you'd like
35+
placeholder: A clear and concise description of what you want to happen
36+
validations:
37+
required: true
38+
- type: textarea
39+
id: alternatives
40+
attributes:
41+
label: Alternatives
42+
description: Describe alternatives you've considered
43+
placeholder: A clear and concise description of any alternative solutions or features you've considered
44+
- type: textarea
45+
id: extra
46+
attributes:
47+
label: Additional context or screenshots
48+
description: Add any other context about the problem here
49+
placeholder: Anything else you want to say to the report, attach screenshots, this is the place
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: Pull request
3+
about: Create a pull request
4+
---
5+
6+
## Description
7+
8+
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
9+
10+
Fixes # (issue)
11+
12+
## Type of change
13+
14+
Please delete options that are not relevant.
15+
16+
- [ ] Bug fix (non-breaking change which fixes an issue)
17+
- [ ] New feature (non-breaking change which adds functionality)
18+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
19+
- [ ] This change requires a documentation update
20+
21+
## How Has This Been Tested?
22+
23+
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
24+
25+
### Test Configuration
26+
27+
- Kubernetes version
28+
29+
## Checklist
30+
31+
- [ ] My changes follows the style guidelines of this project
32+
- [ ] I have performed a self-review of my own changes
33+
- [ ] I confirm that my change can be rendered via `helm template`
34+
- [ ] I confirm that my change passes `helm lint`
35+
- [ ] I confirm that `pre-commit run` was run and all checks passed
36+
- [ ] I have updated the documentation accordingly
37+
- [ ] I have updated the chart version in `Chart.yaml` file and this change follow [semantic versioning](https://semver.org/) as described in the `CONTRIBUTING.md`

.github/advanced-issue-labeler.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
policy:
2+
- section:
3+
- id:
4+
- component
5+
block-list:
6+
- I don't know
7+
- Other
8+
label:
9+
- name: quickstart
10+
keys:
11+
- Quickstart
12+
- name: chart
13+
keys:
14+
- Helm Chart

.github/renovate.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:base",
5+
"helpers:pinGitHubActionDigests"
6+
]
7+
}
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
name: Bump
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
7+
jobs:
8+
chart-version:
9+
name: Chart Version
10+
runs-on: ubuntu-latest
11+
if: ${{ github.event.issue.pull_request }}
12+
13+
permissions:
14+
contents: write
15+
id-token: write
16+
issues: write
17+
pull-requests: write
18+
19+
steps:
20+
- name: Check for command
21+
id: command
22+
continue-on-error: true
23+
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
24+
with:
25+
script: |
26+
const commentBody = context.payload.comment.body;
27+
const commandPrefix = "/bump ";
28+
let commandName = "";
29+
let commandArgs = "";
30+
31+
if (commentBody.startsWith(commandPrefix)) {
32+
commandName = "bump";
33+
const args = commentBody.slice(commandPrefix.length).trim().split(" ");
34+
commandArgs = args[0] || "patch";
35+
}
36+
37+
core.setOutput("command-name", commandName);
38+
core.setOutput("command-arguments", commandArgs);
39+
40+
- name: Add eyes reaction
41+
if: steps.command.outputs.command-name == 'bump'
42+
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
43+
with:
44+
token: ${{ secrets.GITHUB_TOKEN }}
45+
repository: ${{ github.repository }}
46+
comment-id: ${{ github.event.comment.id }}
47+
reactions: eyes
48+
49+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
50+
if: steps.command.outputs.command-name == 'bump'
51+
with:
52+
python-version: 3.13
53+
54+
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
55+
if: steps.command.outputs.command-name == 'bump'
56+
with:
57+
go-version: ^1
58+
59+
- name: Setup helm-docs
60+
if: steps.command.outputs.command-name == 'bump'
61+
run: go install github.com/norwoodj/helm-docs/cmd/helm-docs@latest
62+
63+
- name: Generate token
64+
if: steps.command.outputs.command-name == 'bump'
65+
id: generate_token
66+
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2
67+
with:
68+
app_id: "1229152"
69+
private_key: ${{ secrets.BUMPER_GITHUB_APP_PRIVATE_KEY }}
70+
71+
- name: Checkout Repository
72+
if: steps.command.outputs.command-name == 'bump'
73+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
74+
with:
75+
token: ${{ steps.generate_token.outputs.token }}
76+
persist-credentials: true
77+
78+
- name: Checkout Pull Request
79+
if: steps.command.outputs.command-name == 'bump'
80+
run: gh pr checkout ${{ github.event.issue.number }}
81+
env:
82+
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
83+
84+
- name: Get version
85+
if: steps.command.outputs.command-name == 'bump'
86+
id: get_version
87+
uses: mikefarah/yq@8bf425b4d1344db7cd469a8d10a390876e0c77fd # v4.45.1
88+
with:
89+
cmd: yq ".version" charts/llm-d/Chart.yaml
90+
91+
- uses: actions-ecosystem/action-bump-semver@34e334551143a5301f38c830e44a22273c6ff5c5 # v1
92+
if: steps.command.outputs.command-name == 'bump'
93+
id: semver
94+
with:
95+
current_version: ${{ steps.get_version.outputs.result }}
96+
level: ${{ steps.command.outputs.command-arguments }}
97+
98+
- name: Bump the version
99+
if: steps.command.outputs.command-name == 'bump'
100+
uses: mikefarah/yq@8bf425b4d1344db7cd469a8d10a390876e0c77fd # v4.45.1
101+
with:
102+
cmd: yq -i '.version = "${{ steps.semver.outputs.new_version }}"' charts/llm-d/Chart.yaml
103+
104+
- name: Run pre-commit
105+
if: steps.command.outputs.command-name == 'bump'
106+
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
107+
continue-on-error: true
108+
109+
- name: Setup Gitsign
110+
if: steps.command.outputs.command-name == 'bump'
111+
uses: chainguard-dev/actions/setup-gitsign@be6c67b5b374ed43d908ac017ff9b04c271ad3d8 # v1.0.3
112+
113+
- name: Commit pre-commit changes
114+
if: steps.command.outputs.command-name == 'bump'
115+
uses: stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5
116+
env:
117+
NEW_VERSION: ${{ steps.semver.outputs.new_version }}
118+
with:
119+
commit_message: Bump version to $NEW_VERSION
120+
commit_options: '-s'
121+
commit_user_name: BUMPER bot (llm-d)
122+
commit_user_email: 1229152+bumper-bot-llm-d@users.noreply.github.com
123+
commit_author: BUMPER bot (llm-d) <1229152+bumper-bot-llm-d@users.noreply.github.com>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Decorate Github release
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
decorate-release:
13+
name: Decorate Github release
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Add workflow status badge to a release
17+
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
18+
with:
19+
script: |
20+
const tag = context.ref.split("/")[2]
21+
const owner = context.repo.owner
22+
const repo = context.repo.repo
23+
const release = await github.rest.repos.getReleaseByTag({ owner, repo, tag });
24+
25+
const WORKFLOW_URL = `https://github.com/${owner}/${repo}/actions/workflows/test.yaml`
26+
const BADGE_URL = `https://img.shields.io/github/check-runs/${owner}/${repo}/${tag}?nameFilter=test&label=Test`
27+
const BADGE = `[![Released chart test status](${BADGE_URL})](${WORKFLOW_URL})`
28+
29+
await github.rest.repos.updateRelease({ owner, repo, release_id: release.data.id, body: BADGE + "\n\n" + release.data.body });

0 commit comments

Comments
 (0)