ci: add [skip images] support and trigger ray-serve publish
Some checks failed
Build and Push Images / build-nvidia (push) Has been skipped
Build and Push Images / build-intel (push) Has been skipped
Build and Push Images / build-rdna2 (push) Has been skipped
Build and Push Images / build-strixhalo (push) Has been skipped
Build and Push Images / Release (push) Has been skipped
Build and Push Images / Notify (push) Successful in 1s
Build and Publish ray-serve-apps / lint (push) Failing after 3m38s
Build and Publish ray-serve-apps / publish (push) Has been skipped
Some checks failed
Build and Push Images / build-nvidia (push) Has been skipped
Build and Push Images / build-intel (push) Has been skipped
Build and Push Images / build-rdna2 (push) Has been skipped
Build and Push Images / build-strixhalo (push) Has been skipped
Build and Push Images / Release (push) Has been skipped
Build and Push Images / Notify (push) Successful in 1s
Build and Publish ray-serve-apps / lint (push) Failing after 3m38s
Build and Publish ray-serve-apps / publish (push) Has been skipped
[ray-serve only] - Add skip conditions to all image build jobs - Commit message [skip images] or [ray-serve only] skips image builds - Touch ray_serve/__init__.py to trigger publish workflow
This commit is contained in:
@@ -28,7 +28,11 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-nvidia:
|
build-nvidia:
|
||||||
if: github.event.inputs.image == 'all' || github.event.inputs.image == 'nvidia' || github.event.inputs.image == ''
|
# Skip if commit message contains [skip images] or [ray-serve only]
|
||||||
|
if: |
|
||||||
|
!contains(github.event.head_commit.message, '[skip images]') &&
|
||||||
|
!contains(github.event.head_commit.message, '[ray-serve only]') &&
|
||||||
|
(github.event.inputs.image == 'all' || github.event.inputs.image == 'nvidia' || github.event.inputs.image == '')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@@ -78,7 +82,10 @@ jobs:
|
|||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
|
||||||
build-rdna2:
|
build-rdna2:
|
||||||
if: github.event.inputs.image == 'all' || github.event.inputs.image == 'rdna2' || github.event.inputs.image == ''
|
if: |
|
||||||
|
!contains(github.event.head_commit.message, '[skip images]') &&
|
||||||
|
!contains(github.event.head_commit.message, '[ray-serve only]') &&
|
||||||
|
(github.event.inputs.image == 'all' || github.event.inputs.image == 'rdna2' || github.event.inputs.image == '')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@@ -126,7 +133,10 @@ jobs:
|
|||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
|
||||||
build-strixhalo:
|
build-strixhalo:
|
||||||
if: github.event.inputs.image == 'all' || github.event.inputs.image == 'strixhalo' || github.event.inputs.image == ''
|
if: |
|
||||||
|
!contains(github.event.head_commit.message, '[skip images]') &&
|
||||||
|
!contains(github.event.head_commit.message, '[ray-serve only]') &&
|
||||||
|
(github.event.inputs.image == 'all' || github.event.inputs.image == 'strixhalo' || github.event.inputs.image == '')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@@ -174,7 +184,10 @@ jobs:
|
|||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
|
||||||
build-intel:
|
build-intel:
|
||||||
if: github.event.inputs.image == 'all' || github.event.inputs.image == 'intel' || github.event.inputs.image == ''
|
if: |
|
||||||
|
!contains(github.event.head_commit.message, '[skip images]') &&
|
||||||
|
!contains(github.event.head_commit.message, '[ray-serve only]') &&
|
||||||
|
(github.event.inputs.image == 'all' || github.event.inputs.image == 'intel' || github.event.inputs.image == '')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
# Ray Serve deployments for GPU-shared AI inference
|
# Ray Serve deployments for GPU-shared AI inference
|
||||||
|
# Published to Gitea PyPI as ray-serve-apps
|
||||||
from ray_serve.serve_embeddings import app as embeddings_app
|
from ray_serve.serve_embeddings import app as embeddings_app
|
||||||
from ray_serve.serve_llm import app as llm_app
|
from ray_serve.serve_llm import app as llm_app
|
||||||
from ray_serve.serve_reranker import app as reranker_app
|
from ray_serve.serve_reranker import app as reranker_app
|
||||||
|
|||||||
Reference in New Issue
Block a user