Commit 5215c90d authored by Harrison Saturley-Hall's avatar Harrison Saturley-Hall Committed by GitHub
Browse files

Merge pull request #3 from dynemo-ai/harrison/ci-test

Fixing GitHub CI for dynemo
parents 63a54ee9 79a3cbe6
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}}"
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
\ No newline at end of file
......@@ -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
......@@ -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 }}
......@@ -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
......
......@@ -26,7 +26,7 @@ on:
branches:
- main
paths:
- pre-merge-rust.yml
- .github/workflows/pre-merge-rust.yml
- 'lib/runtime/**'
- 'lib/llm/**'
- 'lib/bindings/**'
......@@ -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
......@@ -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
......
# 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
......@@ -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
......
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