Skip to content

Commit efd552f

Browse files
authored
fix(api)!: Stop model prior to deletion (#8422)
* Unload model prior to deletion Signed-off-by: Andres Smith <andressmithdev@pm.me> * Fix LFM model in gallery Signed-off-by: Andres Smith <andressmithdev@pm.me> * Remove mistakenly added files Signed-off-by: Andres Smith <andressmithdev@pm.me> --------- Signed-off-by: Andres Smith <andressmithdev@pm.me>
1 parent bcd927d commit efd552f

19 files changed

+32
-11
lines changed

.github/workflows/backend.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ concurrency:
1414

1515
jobs:
1616
backend-jobs:
17+
if: github.repository == 'mudler/LocalAI'
1718
uses: ./.github/workflows/backend_build.yml
1819
with:
1920
tag-latest: ${{ matrix.tag-latest }}

.github/workflows/bump_deps.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
workflow_dispatch:
66
jobs:
77
bump-backends:
8+
if: github.repository == 'mudler/LocalAI'
89
strategy:
910
fail-fast: false
1011
matrix:

.github/workflows/bump_docs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
workflow_dispatch:
66
jobs:
77
bump-docs:
8+
if: github.repository == 'mudler/LocalAI'
89
strategy:
910
fail-fast: false
1011
matrix:

.github/workflows/checksum_checker.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
workflow_dispatch:
66
jobs:
77
checksum_check:
8+
if: github.repository == 'mudler/LocalAI'
89
runs-on: ubuntu-latest
910
steps:
1011
- name: Force Install GIT latest

.github/workflows/dependabot_auto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ permissions:
99

1010
jobs:
1111
dependabot:
12+
if: github.repository == 'mudler/LocalAI' && github.actor == 'dependabot[bot]'
1213
runs-on: ubuntu-latest
13-
if: ${{ github.actor == 'dependabot[bot]' }}
1414
steps:
1515
- name: Dependabot metadata
1616
id: metadata

.github/workflows/deploy-explorer.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ concurrency:
1212

1313
jobs:
1414
build-linux:
15+
if: github.repository == 'mudler/LocalAI'
1516
runs-on: ubuntu-latest
1617
steps:
1718
- name: Clone

.github/workflows/gallery-agent.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ on:
2727
type: string
2828
jobs:
2929
gallery-agent:
30+
if: github.repository == 'mudler/LocalAI'
3031
runs-on: ubuntu-latest
3132
steps:
3233
- name: Checkout repository

.github/workflows/generate_grpc_cache.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ concurrency:
1313

1414
jobs:
1515
generate_caches:
16+
if: github.repository == 'mudler/LocalAI'
1617
strategy:
1718
matrix:
1819
include:

.github/workflows/generate_intel_image.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ concurrency:
1212

1313
jobs:
1414
generate_caches:
15+
if: github.repository == 'mudler/LocalAI'
1516
strategy:
1617
matrix:
1718
include:

.github/workflows/image.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
jobs:
1616
hipblas-jobs:
17+
if: github.repository == 'mudler/LocalAI'
1718
uses: ./.github/workflows/image_build.yml
1819
with:
1920
tag-latest: ${{ matrix.tag-latest }}
@@ -50,6 +51,7 @@
5051
ubuntu-codename: 'noble'
5152

5253
core-image-build:
54+
if: github.repository == 'mudler/LocalAI'
5355
uses: ./.github/workflows/image_build.yml
5456
with:
5557
tag-latest: ${{ matrix.tag-latest }}
@@ -136,6 +138,7 @@
136138
ubuntu-codename: 'noble'
137139

138140
gh-runner:
141+
if: github.repository == 'mudler/LocalAI'
139142
uses: ./.github/workflows/image_build.yml
140143
with:
141144
tag-latest: ${{ matrix.tag-latest }}

0 commit comments

Comments
 (0)