Skip to content

Commit

Permalink
Merge pull request #34 from bentoml/nightly
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
bojiang authored Oct 31, 2024
2 parents d1cbaf3 + 27de444 commit 02b43b3
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 104 deletions.
47 changes: 0 additions & 47 deletions .github/workflows/gen_readme.yml

This file was deleted.

11 changes: 10 additions & 1 deletion .github/workflows/make_bentos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:
contents: write

jobs:
generate-readme:
make-bentos:
runs-on: ubuntu-latest

steps:
Expand All @@ -29,6 +29,14 @@ jobs:
make
cd ..
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install jinja2 openllm
- name: Run gen_readme.py
run: python gen_readme.py

- name: Configure git
run: |
git config --global user.name 'github-actions[bot]'
Expand All @@ -38,6 +46,7 @@ jobs:
run: |
if [[ -n $(git status -s) ]]; then
git add bentoml/bentos/*
git add README.md
git commit -m "chore: make bentos"
git push origin nightly
else
Expand Down
109 changes: 55 additions & 54 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions gen_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import sys


subprocess.check_call([sys.executable, "-m", "openllm", "repo", "remove", "default"])
subprocess.check_call([sys.executable, "-m", "openllm", "repo", "update"])
model_list = subprocess.check_output(
[sys.executable, "-m", "openllm", "model", "list"],
env={"OPENLLM_TEST_REPO": "."},
Expand Down

0 comments on commit 02b43b3

Please sign in to comment.