Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CodeQL

on:
pull_request:

jobs:
codeql:
name: Analyze Codebase
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'python' ]

steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{matrix.language}}
queries: +security-and-quality

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"

26 changes: 26 additions & 0 deletions .github/workflows/copyright-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Copyright Checks

on:
pull_request

jobs:
copyright-checks:
runs-on: ubuntu-24.04
container:
image: ghcr.io/dynemo-ai/dynemo/helm-tester:0.1.1
options: --tty
volumes:
- ${{ github.workspace }}:/workspace
permissions:
contents: read
packages: read
steps:
- uses: actions/checkout@v4
# 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 /workspace
- run: pwsh /workspace/.github/workflows/copyright-check.ps1
env:
NVBUILD_VERBOSITY: DETAILED
timeout-minutes: 2
working-directory: /workspace
5 changes: 2 additions & 3 deletions .github/workflows/pr_github_validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
name: Build and Test - ${{ matrix.framework }}
env:
CONTAINER_ID: test_${{ github.run_id }}_${{ github.run_attempt }}_${{ github.job }}_${{ matrix.framework }}
IMAGE_TAG: ghcr.io/triton-inference-server/triton_distributed:pr_${{ github.event.pull_request.number}}_${{ matrix.framework }}
IMAGE_TAG: ghcr.io/dynemo-ai/dynemo:pr_${{ github.event.pull_request.number}}_${{ matrix.framework }}
PYTEST_XML_FILE: pytest_test_report.xml
steps:
- name: Checkout repository
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Decide on cache
id: which_cache
env:
DEFAULT_CACHE_LOCATION: ghcr.io/triton-inference-server/triton_distributed:buildcache_${{ matrix.framework }}
DEFAULT_CACHE_LOCATION: ghcr.io/dynemo-ai/dynemo:latest-${{ matrix.framework }}
run: |
set +e
docker manifest inspect ${{ env.IMAGE_TAG }}
Expand All @@ -64,7 +64,6 @@ jobs:
env:
CACHE_FROM: "type=registry,ref=${{ steps.which_cache.outputs.cache_from_location }}"
CACHE_TO: "type=registry,ref=${{ steps.which_cache.outputs.cache_to_location }},image-manifest=true,mode=max"

run: |
./container/build.sh --tag $IMAGE_TAG --framework ${{ matrix.framework }} --cache-from "${{ env.CACHE_FROM }}" --cache-to "${{ env.CACHE_TO }}"
- name: Run pytest
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/pre-merge-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
branches:
- main
paths:
- pre-merge-rust.yml
- .github/workflows/pre-merge-rust.yml
- 'lib/runtime/**'
- 'lib/llm/**'
- 'lib/bindings/**'
Expand Down Expand Up @@ -85,7 +85,6 @@ jobs:
run: |
cargo-deny --version || cargo install cargo-deny@0.16.4
cargo-deny check --hide-inclusion-graph licenses --config ${{ github.workspace }}/deny.toml
timeout-minutes: 5
- name: Run Unit Tests
working-directory: ${{ matrix.dir }}
run: cargo test --locked --all-targets
47 changes: 0 additions & 47 deletions .github/workflows/pre-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,54 +51,7 @@ jobs:
- uses: pre-commit/action@v3.0.0
timeout-minutes: 3

copyright-checks:
runs-on: ubuntu-24.04
container:
image: ghcr.io/triton-inference-server/triton_distributed/helm-tester:0.1.1
options: --tty
volumes:
- ${{ github.workspace }}:/workspace
permissions:
contents: read
packages: read
steps:
- uses: actions/checkout@v4
# Allowlist both variants of the mounted source directory.
- run: git config --global --add safe.directory /__w/triton_distributed/triton_distributed
- run: git config --global --add safe.directory /workspace
- run: pwsh /workspace/.github/workflows/copyright-check.ps1
env:
NVBUILD_VERBOSITY: DETAILED
timeout-minutes: 2
working-directory: /workspace

codeql:
name: Analyze Codebase
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'python' ]

steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{matrix.language}}
queries: +security-and-quality

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"

# providers_validation:
# runs-on: ubuntu-latest
Expand Down
6 changes: 3 additions & 3 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CODEOWNERS file for Triton Distributed
# CODEOWNERS file for Dynemo
#
# For more information about CODEOWNERS files, see:
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
Expand All @@ -17,8 +17,8 @@ Cargo.toml @ryanolson @grahamking @paulhendricks @biswapanda @tmonty12 @guanluo
/deploy/Kubernetes/ @whoisj @hutm @biswapanda

# CI/CD
/.github/ @triton-inference-server/devops @nnshah1
CODEOWNERS @triton-inference-server/devops @nnshah1
/.github/ @dynemo-ai/Devops @nnshah1
CODEOWNERS @dynemo-ai/Devops @nnshah1

# Legal
/LICENSE @nv-anants @nvda-mesharma @glos-nv @dmitry-tokarev-nv
Expand Down