Commit 61abae51 authored by Harrison Saturley-Hall's avatar Harrison Saturley-Hall Committed by GitHub
Browse files

ci: rename project to dynamo (#60)

parent b4d56a57
...@@ -7,7 +7,7 @@ jobs: ...@@ -7,7 +7,7 @@ jobs:
copyright-checks: copyright-checks:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
container: container:
image: ghcr.io/dynemo-ai/dynemo/helm-tester:0.1.1 image: ghcr.io/${{ github.repository }}/helm-tester:0.1.1
options: --tty options: --tty
volumes: volumes:
- ${{ github.workspace }}:/workspace - ${{ github.workspace }}:/workspace
...@@ -17,7 +17,7 @@ jobs: ...@@ -17,7 +17,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
# Allowlist both variants of the mounted source directory. # Allowlist both variants of the mounted source directory.
- run: git config --global --add safe.directory /__w/dynemo/dynemo - run: git config --global --add safe.directory /__w/dynamo/dynamo
- run: git config --global --add safe.directory /workspace - run: git config --global --add safe.directory /workspace
- run: pwsh /workspace/.github/workflows/copyright-check.ps1 - run: pwsh /workspace/.github/workflows/copyright-check.ps1
env: env:
......
...@@ -35,7 +35,7 @@ jobs: ...@@ -35,7 +35,7 @@ jobs:
name: Build and Test - ${{ matrix.framework }} name: Build and Test - ${{ matrix.framework }}
env: env:
CONTAINER_ID: test_${{ github.run_id }}_${{ github.run_attempt }}_${{ github.job }}_${{ matrix.framework }} CONTAINER_ID: test_${{ github.run_id }}_${{ github.run_attempt }}_${{ github.job }}_${{ matrix.framework }}
IMAGE_TAG: ghcr.io/dynemo-ai/dynemo:latest-${{ matrix.framework }} IMAGE_TAG: ghcr.io/${{ github.repository }}:latest-${{ matrix.framework }}
PYTEST_XML_FILE: pytest_test_report.xml PYTEST_XML_FILE: pytest_test_report.xml
steps: steps:
- name: Checkout repository - name: Checkout repository
...@@ -52,12 +52,12 @@ jobs: ...@@ -52,12 +52,12 @@ jobs:
id: set_image_tag id: set_image_tag
run: | run: |
if [ "${{ github.event_name }}" == "pull_request" ]; then if [ "${{ github.event_name }}" == "pull_request" ]; then
echo "IMAGE_TAG=ghcr.io/dynemo-ai/dynemo:pr_${{ github.event.pull_request.number }}_${{ matrix.framework }}" >> $GITHUB_ENV echo "IMAGE_TAG=ghcr.io/${{ github.repository }}:pr_${{ github.event.pull_request.number }}_${{ matrix.framework }}" >> $GITHUB_ENV
fi fi
- name: Decide on cache - name: Decide on cache
id: which_cache id: which_cache
env: env:
CACHE_LOCATION: ghcr.io/dynemo-ai/dynemo:latest-${{ matrix.framework }} CACHE_LOCATION: ghcr.io/${{ github.repository }}:latest-${{ matrix.framework }}
run: | run: |
set +e set +e
if [ "${{ github.event_name }}" == "pull_request" ]; then if [ "${{ github.event_name }}" == "pull_request" ]; then
......
...@@ -51,7 +51,7 @@ jobs: ...@@ -51,7 +51,7 @@ jobs:
- 'container/deps/requirements.vllm.txt' - 'container/deps/requirements.vllm.txt'
- 'container/deps/vllm/**' - 'container/deps/vllm/**'
sdk: sdk:
- 'deploy/compoundai/**' - 'deploy/dynamo/**'
- name: Check if Validation Workflow has run - name: Check if Validation Workflow has run
id: check_workflow id: check_workflow
uses: actions/github-script@v6 uses: actions/github-script@v6
......
...@@ -26,17 +26,17 @@ golang-base: ...@@ -26,17 +26,17 @@ golang-base:
############### ALL TARGETS ############################## ############### ALL TARGETS ##############################
all-test: all-test:
BUILD ./deploy/dynemo/operator+test BUILD ./deploy/dynamo/operator+test
# BUILD ./deploy/dynemo/api-server+test #TODO: mkhadkevich earthly tests fail https://gitlab-master.nvidia.com/aire/microservices/compoundai/-/jobs/144475821 # BUILD ./deploy/dynamo/api-server+test #TODO: mkhadkevich earthly tests fail https://gitlab-master.nvidia.com/aire/microservices/compoundai/-/jobs/144475821
all-docker: all-docker:
ARG CI_REGISTRY_IMAGE=my-registry ARG CI_REGISTRY_IMAGE=my-registry
ARG CI_COMMIT_SHA=latest ARG CI_COMMIT_SHA=latest
BUILD ./deploy/dynemo/operator+docker --CI_REGISTRY_IMAGE=$CI_REGISTRY_IMAGE --CI_COMMIT_SHA=$CI_COMMIT_SHA BUILD ./deploy/dynamo/operator+docker --CI_REGISTRY_IMAGE=$CI_REGISTRY_IMAGE --CI_COMMIT_SHA=$CI_COMMIT_SHA
BUILD ./deploy/dynemo/api-server+docker --CI_REGISTRY_IMAGE=$CI_REGISTRY_IMAGE --CI_COMMIT_SHA=$CI_COMMIT_SHA BUILD ./deploy/dynamo/api-server+docker --CI_REGISTRY_IMAGE=$CI_REGISTRY_IMAGE --CI_COMMIT_SHA=$CI_COMMIT_SHA
all-lint: all-lint:
BUILD ./deploy/dynemo/operator+lint BUILD ./deploy/dynamo/operator+lint
all: all:
BUILD +all-test BUILD +all-test
......
...@@ -13,9 +13,8 @@ ...@@ -13,9 +13,8 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
from sdk_kv_router.processor import Processor
from dynemo.sdk import DYNEMO_IMAGE, api, depends, service from dynemo.sdk import DYNEMO_IMAGE, api, depends, service
from sdk_kv_router.processor import Processor
@service(traffic={"timeout": 10000}, image=DYNEMO_IMAGE) @service(traffic={"timeout": 10000}, image=DYNEMO_IMAGE)
......
...@@ -17,7 +17,6 @@ from enum import Enum ...@@ -17,7 +17,6 @@ from enum import Enum
import bentoml import bentoml
from common.protocol import Tokens from common.protocol import Tokens
from dynemo.sdk import async_onstart, dynemo_context, dynemo_endpoint, service from dynemo.sdk import async_onstart, dynemo_context, dynemo_endpoint, service
with bentoml.importing(): with bentoml.importing():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment