[CI][Misc] Some improvement for github action (#6587)
### What this PR does / why we need it?
- This PR removes several self-hosted runner labels from the
`actionlint.yaml` configuration file. These runners are likely no longer
in use, so this change cleans up the configuration and ensures
`actionlint` has an accurate list of available runners.
- Move all Action dockerfiles to one folder
- remove useless `runner` input for e2e test.
- update workflow option version
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
This is a configuration change for the CI linter. The correctness will
be verified by `actionlint` running in CI on subsequent pull requests.
- vLLM version: v0.15.0
- vLLM main:
d7e17aaacd
Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com>
This commit is contained in:
9
.github/actionlint.yaml
vendored
9
.github/actionlint.yaml
vendored
@@ -1,23 +1,14 @@
|
|||||||
self-hosted-runner:
|
self-hosted-runner:
|
||||||
# Labels of self-hosted runner in array of strings.
|
# Labels of self-hosted runner in array of strings.
|
||||||
labels:
|
labels:
|
||||||
- linux-aarch64-a2-0
|
|
||||||
- linux-aarch64-a2-1
|
|
||||||
- linux-aarch64-a2-2
|
|
||||||
- linux-aarch64-a2-4
|
|
||||||
- linux-aarch64-a2-8
|
|
||||||
- linux-arm64-npu-static-8
|
- linux-arm64-npu-static-8
|
||||||
- linux-aarch64-310p-1
|
- linux-aarch64-310p-1
|
||||||
- linux-aarch64-310p-2
|
- linux-aarch64-310p-2
|
||||||
- linux-aarch64-310p-4
|
- linux-aarch64-310p-4
|
||||||
- ubuntu-24.04-arm
|
|
||||||
- linux-aarch64-a3-1
|
- linux-aarch64-a3-1
|
||||||
- linux-aarch64-a3-2
|
- linux-aarch64-a3-2
|
||||||
- linux-aarch64-a3-4
|
- linux-aarch64-a3-4
|
||||||
- linux-aarch64-a3-8
|
- linux-aarch64-a3-8
|
||||||
- linux-amd64-cpu-0
|
|
||||||
- linux-amd64-cpu-8
|
|
||||||
- linux-amd64-cpu-16
|
|
||||||
- linux-aarch64-a3-0
|
- linux-aarch64-a3-0
|
||||||
- linux-amd64-cpu-8-hk
|
- linux-amd64-cpu-8-hk
|
||||||
- linux-amd64-cpu-16-hk
|
- linux-amd64-cpu-16-hk
|
||||||
|
|||||||
3
.github/workflows/_e2e_test.yaml
vendored
3
.github/workflows/_e2e_test.yaml
vendored
@@ -6,9 +6,6 @@ on:
|
|||||||
vllm:
|
vllm:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
runner:
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
image:
|
image:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
|||||||
1
.github/workflows/pr_test_full.yaml
vendored
1
.github/workflows/pr_test_full.yaml
vendored
@@ -81,7 +81,6 @@ jobs:
|
|||||||
uses: ./.github/workflows/_e2e_test.yaml
|
uses: ./.github/workflows/_e2e_test.yaml
|
||||||
with:
|
with:
|
||||||
vllm: ${{ matrix.vllm_version }}
|
vllm: ${{ matrix.vllm_version }}
|
||||||
runner: linux-aarch64-a2b3
|
|
||||||
image: swr.cn-southwest-2.myhuaweicloud.com/base_image/ascend-ci/cann:8.5.0-910b-ubuntu22.04-py3.11
|
image: swr.cn-southwest-2.myhuaweicloud.com/base_image/ascend-ci/cann:8.5.0-910b-ubuntu22.04-py3.11
|
||||||
contains_310: false
|
contains_310: false
|
||||||
type: full
|
type: full
|
||||||
|
|||||||
1
.github/workflows/pr_test_light.yaml
vendored
1
.github/workflows/pr_test_light.yaml
vendored
@@ -107,7 +107,6 @@ jobs:
|
|||||||
uses: ./.github/workflows/_e2e_test.yaml
|
uses: ./.github/workflows/_e2e_test.yaml
|
||||||
with:
|
with:
|
||||||
vllm: ${{ matrix.vllm_version }}
|
vllm: ${{ matrix.vllm_version }}
|
||||||
runner: linux-aarch64-a2b3
|
|
||||||
image: swr.cn-southwest-2.myhuaweicloud.com/base_image/ascend-ci/cann:8.5.0-910b-ubuntu22.04-py3.11
|
image: swr.cn-southwest-2.myhuaweicloud.com/base_image/ascend-ci/cann:8.5.0-910b-ubuntu22.04-py3.11
|
||||||
contains_310: ${{ needs.changes.outputs._310_tracker == 'true' }}
|
contains_310: ${{ needs.changes.outputs._310_tracker == 'true' }}
|
||||||
type: light
|
type: light
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ on:
|
|||||||
- main
|
- main
|
||||||
- v0.15.0rc1
|
- v0.15.0rc1
|
||||||
- v0.14.0rc1
|
- v0.14.0rc1
|
||||||
- v0.13.0rc2
|
- v0.13.0rc3
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
image_build:
|
image_build:
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ jobs:
|
|||||||
docker build \
|
docker build \
|
||||||
--network host \
|
--network host \
|
||||||
--platform linux/arm64 \
|
--platform linux/arm64 \
|
||||||
-f .github/Dockerfile.nightly.${TARGET} \
|
-f .github/workflows/dockerfiles/Dockerfile.nightly.${TARGET} \
|
||||||
--build-arg CANN_VERSION="8.5.0" \
|
--build-arg CANN_VERSION="8.5.0" \
|
||||||
--build-arg UBUNTU_VERSION="22.04" \
|
--build-arg UBUNTU_VERSION="22.04" \
|
||||||
--build-arg PYTHON_VERSION="3.11" \
|
--build-arg PYTHON_VERSION="3.11" \
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ on:
|
|||||||
- main
|
- main
|
||||||
- v0.15.0rc1
|
- v0.15.0rc1
|
||||||
- v0.14.0rc1
|
- v0.14.0rc1
|
||||||
- v0.13.0rc2
|
- v0.13.0rc3
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_and_release_code:
|
build_and_release_code:
|
||||||
@@ -114,7 +114,7 @@ jobs:
|
|||||||
- name: Build wheel
|
- name: Build wheel
|
||||||
run: |
|
run: |
|
||||||
ls
|
ls
|
||||||
docker build -f ./.github/Dockerfile.buildwheel \
|
docker build -f ./.github/workflows/dockerfiles/Dockerfile.buildwheel \
|
||||||
--build-arg PY_VERSION=${{ matrix.python-version }} \
|
--build-arg PY_VERSION=${{ matrix.python-version }} \
|
||||||
-t wheel:v1 .
|
-t wheel:v1 .
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
|
|||||||
@@ -34,7 +34,6 @@ jobs:
|
|||||||
uses: ./.github/workflows/_e2e_test.yaml
|
uses: ./.github/workflows/_e2e_test.yaml
|
||||||
with:
|
with:
|
||||||
vllm: main
|
vllm: main
|
||||||
runner: linux-aarch64-a2b3
|
|
||||||
image: swr.cn-southwest-2.myhuaweicloud.com/base_image/ascend-ci/cann:8.5.0-910b-ubuntu22.04-py3.11
|
image: swr.cn-southwest-2.myhuaweicloud.com/base_image/ascend-ci/cann:8.5.0-910b-ubuntu22.04-py3.11
|
||||||
contains_310: false
|
contains_310: false
|
||||||
type: full
|
type: full
|
||||||
|
|||||||
Reference in New Issue
Block a user