From 16f6199534d64e4e4cb09d86fdf58adc94081c3b Mon Sep 17 00:00:00 2001 From: "Billy D." Date: Mon, 2 Feb 2026 11:02:12 -0500 Subject: [PATCH] ci: add [skip images] support and trigger ray-serve publish [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 --- .gitea/workflows/build-push.yaml | 21 +++++++++++++++++---- ray-serve/ray_serve/__init__.py | 1 + 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build-push.yaml b/.gitea/workflows/build-push.yaml index 062ae3e..bd801e3 100644 --- a/.gitea/workflows/build-push.yaml +++ b/.gitea/workflows/build-push.yaml @@ -28,7 +28,11 @@ env: jobs: 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 steps: - name: Checkout @@ -78,7 +82,10 @@ jobs: cache-to: type=gha,mode=max 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 steps: - name: Checkout @@ -126,7 +133,10 @@ jobs: cache-to: type=gha,mode=max 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 steps: - name: Checkout @@ -174,7 +184,10 @@ jobs: cache-to: type=gha,mode=max 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 steps: - name: Checkout diff --git a/ray-serve/ray_serve/__init__.py b/ray-serve/ray_serve/__init__.py index 4fea1be..2bf591d 100644 --- a/ray-serve/ray_serve/__init__.py +++ b/ray-serve/ray_serve/__init__.py @@ -1,4 +1,5 @@ # 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_llm import app as llm_app from ray_serve.serve_reranker import app as reranker_app