Skip to content

Commit 72d6888

Browse files
committed
Merge branch 'main' into guide-convert-poc
2 parents 2b9d5fc + 812fcf0 commit 72d6888

18 files changed

+3636
-26
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.github/workflows/*.lock.yml linguist-generated=true merge=ours
2+
.github/workflows/*.campaign.g.md linguist-generated=true merge=ours

.github/actions/docker-build-and-push/action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ inputs:
1313
registry:
1414
required: true
1515
description: Container registry (e.g., ghcr.io/llm-d)
16+
platform:
17+
required: false
18+
description: Target platform(s) for buildx (e.g., linux/amd64,linux/arm64)
19+
default: 'linux/amd64,linux/arm64'
1620
runs:
1721
using: "composite"
1822
steps:
@@ -33,7 +37,7 @@ runs:
3337
- name: Build image
3438
run: |
3539
docker buildx build \
36-
--platform linux/amd64,linux/arm64 \
40+
--platform ${{ inputs.platform }} \
3741
-t ${{ inputs.registry }}/${{ inputs.image-name }}:${{ inputs.tag }} \
3842
-f build/Dockerfile \
3943
--push .

.github/workflows/check-typos.yaml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.github/workflows/ci-nighly-benchmark-gke.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,26 @@ on:
2020
- cron: '0 0 * * *'
2121

2222
jobs:
23+
build-image:
24+
name: Build Nightly Image
25+
runs-on: ubuntu-latest
26+
timeout-minutes: 30
27+
steps:
28+
- name: Checkout code
29+
uses: actions/checkout@v4
30+
31+
- name: Build and push nightly image
32+
uses: ./.github/actions/docker-build-and-push
33+
with:
34+
tag: nightly
35+
image-name: llm-d-benchmark
36+
registry: ghcr.io/llm-d
37+
github-token: ${{ secrets.GHCR_TOKEN }}
38+
platform: linux/amd64
39+
2340
run-benchmark-gke:
2441
name: CI - Nightly Benchmark on GKE
42+
needs: build-image
2543
runs-on: [k8s-util]
2644
timeout-minutes: 240
2745

@@ -31,6 +49,7 @@ jobs:
3149
GKE_CLUSTER_ZONE: us-east5
3250
GATEWAY: gke-l7-regional-external-managed
3351
GATEWAY_TYPE: gke
52+
LLMDBENCH_IMAGE_TAG: nightly
3453

3554
steps:
3655
- name: Checkout code

.github/workflows/ci-nighly-benchmark-ocp.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,36 @@ on:
2020
- cron: '0 0 * * *' # Daily at midnight UTC
2121

2222
jobs:
23+
build-image:
24+
name: Build Nightly Image
25+
runs-on: ubuntu-latest
26+
timeout-minutes: 30
27+
steps:
28+
- name: Checkout code
29+
uses: actions/checkout@v4
30+
31+
- name: Build and push nightly image
32+
uses: ./.github/actions/docker-build-and-push
33+
with:
34+
tag: nightly
35+
image-name: llm-d-benchmark
36+
registry: ghcr.io/llm-d
37+
github-token: ${{ secrets.GHCR_TOKEN }}
38+
platform: linux/amd64
39+
2340
run-benchmark:
2441
name: Benchmark Test
42+
needs: build-image
2543
runs-on: [k8s-util]
2644
timeout-minutes: 240
2745

46+
env:
47+
LLMDBENCH_IMAGE_TAG: nightly
48+
2849
steps:
2950
- name: Checkout code
3051
uses: actions/checkout@v4
52+
3153
- uses: actions/setup-python@v6
3254
with:
3355
python-version: '3.11'
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "Copilot Setup Steps"
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
paths:
7+
- .github/workflows/copilot-setup-steps.yml
8+
9+
jobs:
10+
copilot-setup-steps:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
14+
steps:
15+
- name: Install gh-aw extension
16+
run: |
17+
curl -fsSL https://raw.githubusercontent.com/githubnext/gh-aw/refs/heads/main/install-gh-aw.sh | bash
18+
19+
- name: Verify gh-aw installation
20+
run: gh aw version

0 commit comments

Comments
 (0)