diff --git a/.buildkite/bootstrap-intel-omni.sh b/.buildkite/bootstrap-intel-omni.sh new file mode 100755 index 00000000000..b99568141b2 --- /dev/null +++ b/.buildkite/bootstrap-intel-omni.sh @@ -0,0 +1,51 @@ +#!/bin/bash +# vllm-omni Intel bootstrap +# Uses static pipeline-intel.yaml for Intel XPU tests +# Based on: bootstrap-amd-omni.sh + +set -euo pipefail + +if [[ -z "${DOCS_ONLY_DISABLE:-}" ]]; then + DOCS_ONLY_DISABLE=0 +fi + +upload_pipeline() { + echo "--- 🛠 Preparing Intel pipeline" + buildkite-agent pipeline upload .buildkite/pipeline-intel.yaml +} + +get_diff() { + $(git add .) + echo $(git diff --name-only --diff-filter=ACMDR $(git merge-base origin/main HEAD)) +} + +get_diff_main() { + $(git add .) + echo $(git diff --name-only --diff-filter=ACMDR HEAD~1) +} + +file_diff=$(get_diff) +if [[ $BUILDKITE_BRANCH == "main" ]]; then + file_diff=$(get_diff_main) +fi + +# ---------------------------------------------------------------------- +# Early exit: skip pipeline if all changed files are under docs/ +# ---------------------------------------------------------------------- +if [[ "${DOCS_ONLY_DISABLE}" != "1" ]] && [[ -n "${file_diff:-}" ]]; then + docs_only=1 + while IFS= read -r f; do + [[ -z "$f" ]] && continue + if [[ "$f" != docs/* ]]; then + docs_only=0 + break + fi + done < <(printf '%s\n' "$file_diff" | tr ' ' '\n' | tr -d '\r') + + if [[ "$docs_only" -eq 1 ]]; then + buildkite-agent annotate ":memo: CI skipped — docs only" --style "info" + exit 0 + fi +fi + +upload_pipeline diff --git a/.buildkite/pipeline-intel.yaml b/.buildkite/pipeline-intel.yaml new file mode 100644 index 00000000000..bd9c9daabec --- /dev/null +++ b/.buildkite/pipeline-intel.yaml @@ -0,0 +1,16 @@ +# .buildkite/pipeline-intel.yaml +steps: + - group: "INTEL Tests" + steps: + - label: "Intel: XPU Test" + command: "bash .buildkite/scripts/hardware_ci/run-xpu-test.sh" + agents: + queue: "intel-gpu-omni" + env: + DOCKER_BUILDKIT: "1" + # Buildkite will automatically replace this with the actual commit hash + VLLM_IMAGE_TAG: "${BUILDKITE_COMMIT}" + VLLM_VERSION: "v0.17.0" + priority: 100 + timeout_in_minutes: 60 + soft_fail: true