refactor(contrib): similar namespace [clojure-ui build] (#251)

This commit is contained in:
Aaron Pham
2023-08-23 00:21:59 -04:00
committed by GitHub
parent 79231e652a
commit bbd9aa7646
74 changed files with 42 additions and 40 deletions

View File

@@ -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}

View File

@@ -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'

View File

@@ -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: |

View File

@@ -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

View File

@@ -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'

View File

@@ -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