mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-04-21 07:29:41 -04:00
refactor(contrib): similar namespace [clojure-ui build] (#251)
This commit is contained in:
4
.github/workflows/binary-releases.yml
vendored
4
.github/workflows/binary-releases.yml
vendored
@@ -14,7 +14,7 @@ on:
|
||||
- 'assets/**'
|
||||
- 'openllm-node/**'
|
||||
- 'Formula/**'
|
||||
- 'contrib/clojure/**'
|
||||
- 'openllm-contrib/clojure/**'
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths-ignore:
|
||||
@@ -26,7 +26,7 @@ on:
|
||||
- 'assets/**'
|
||||
- 'openllm-node/**'
|
||||
- 'Formula/**'
|
||||
- 'contrib/clojure/**'
|
||||
- 'openllm-contrib/clojure/**'
|
||||
defaults:
|
||||
run:
|
||||
shell: bash --noprofile --norc -exo pipefail {0}
|
||||
|
||||
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -1,5 +1,6 @@
|
||||
name: Continuous Integration
|
||||
on:
|
||||
workflow_call:
|
||||
push:
|
||||
branches: [main]
|
||||
paths-ignore:
|
||||
@@ -9,7 +10,7 @@ on:
|
||||
- '*.md'
|
||||
- 'changelog.d/**'
|
||||
- 'assets/**'
|
||||
- 'contrib/clojure/**'
|
||||
- 'openllm-contrib/clojure/**'
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths-ignore:
|
||||
@@ -19,7 +20,7 @@ on:
|
||||
- '*.md'
|
||||
- 'changelog.d/**'
|
||||
- 'assets/**'
|
||||
- 'contrib/clojure/**'
|
||||
- 'openllm-contrib/clojure/**'
|
||||
env:
|
||||
LINES: 120
|
||||
COLUMNS: 120
|
||||
@@ -46,6 +47,7 @@ jobs:
|
||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # ratchet:actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
- uses: bentoml/setup-bentoml-action@59beefe94e2e8f8ebbedf555fc86bd5d1ae0a708 # ratchet:bentoml/setup-bentoml-action@v1
|
||||
with:
|
||||
bentoml-version: 'main'
|
||||
@@ -63,12 +65,12 @@ jobs:
|
||||
name: report-coverage
|
||||
runs-on: ubuntu-latest
|
||||
if: false
|
||||
needs:
|
||||
- tests
|
||||
needs: tests
|
||||
steps:
|
||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # ratchet:actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
- uses: bentoml/setup-bentoml-action@59beefe94e2e8f8ebbedf555fc86bd5d1ae0a708 # ratchet:bentoml/setup-bentoml-action@v1
|
||||
with:
|
||||
bentoml-version: 'main'
|
||||
|
||||
4
.github/workflows/clojure-frontend.yml
vendored
4
.github/workflows/clojure-frontend.yml
vendored
@@ -102,8 +102,8 @@ jobs:
|
||||
id: build-and-push
|
||||
uses: docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825 # ratchet:docker/build-push-action@v4
|
||||
with:
|
||||
context: contrib/clojure
|
||||
file: contrib/clojure/Dockerfile
|
||||
context: openllm-contrib/clojure
|
||||
file: openllm-contrib/clojure/Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
build-args: |
|
||||
|
||||
4
.github/workflows/compile-pypi.yml
vendored
4
.github/workflows/compile-pypi.yml
vendored
@@ -24,7 +24,7 @@ on:
|
||||
- '*.md'
|
||||
- 'changelog.d/**'
|
||||
- 'assets/**'
|
||||
- 'contrib/clojure/**'
|
||||
- 'openllm-contrib/clojure/**'
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths-ignore:
|
||||
@@ -34,7 +34,7 @@ on:
|
||||
- '*.md'
|
||||
- 'changelog.d/**'
|
||||
- 'assets/**'
|
||||
- 'contrib/clojure/**'
|
||||
- 'openllm-contrib/clojure/**'
|
||||
env:
|
||||
LINES: 120
|
||||
COLUMNS: 120
|
||||
|
||||
4
.github/workflows/create-releases.yml
vendored
4
.github/workflows/create-releases.yml
vendored
@@ -169,10 +169,10 @@ jobs:
|
||||
pushd openllm-node &>/dev/null
|
||||
jq --arg release_version "${DEV_VERSION}" '.version = $release_version' < package.json > package.json.tmp && mv package.json.tmp package.json
|
||||
popd &>/dev/null
|
||||
pushd contrib/clojure &>/dev/null
|
||||
pushd openllm-contrib/clojure &>/dev/null
|
||||
jq --arg release_version "${version}" '.version = $release_version' < package.json > package.json.tmp && mv package.json.tmp package.json
|
||||
popd &>/dev/null
|
||||
git add package.json openllm-node/package.json contrib/clojure/package.json && git commit -S -sm "infra: bump to dev version of ${DEV_VERSION} [generated] [skip ci]"
|
||||
git add package.json openllm-node/package.json openllm-contrib/clojure/package.json && git commit -S -sm "infra: bump to dev version of ${DEV_VERSION} [generated] [skip ci]"
|
||||
git push origin HEAD:main
|
||||
binary-distribution:
|
||||
if: github.repository_owner == 'bentoml'
|
||||
|
||||
3
.github/workflows/cron.yml
vendored
3
.github/workflows/cron.yml
vendored
@@ -17,6 +17,9 @@ concurrency:
|
||||
group: cron-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
scheduled-tests:
|
||||
if: github.repository_owner == 'bentoml'
|
||||
uses: bentoml/OpenLLM/.github/workflows/ci.yml@main # ratchet:exclude
|
||||
update-actions:
|
||||
runs-on: 'ubuntu-latest'
|
||||
name: Ratchet update
|
||||
|
||||
Reference in New Issue
Block a user