From e636b4cffe251221ed52290a33ebd42ae7682cd7 Mon Sep 17 00:00:00 2001 From: chensuyue Date: Thu, 10 Apr 2025 15:38:33 +0800 Subject: [PATCH] support rocm helm charts test Signed-off-by: chensuyue --- .github/workflows/_helm-e2e.yml | 4 ++++ .github/workflows/pr-chart-e2e.yml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/_helm-e2e.yml b/.github/workflows/_helm-e2e.yml index e6cc94e2af..99387d9769 100644 --- a/.github/workflows/_helm-e2e.yml +++ b/.github/workflows/_helm-e2e.yml @@ -81,6 +81,10 @@ jobs: if [[ "${{ inputs.hardware }}" == "gaudi" ]]; then value_files="${value_files}\"${filename}\"," fi + elif [[ "$filename" == *"rocm"* ]]; then + if [[ "${{ inputs.hardware }}" == "rocm" ]]; then + value_files="${value_files}\"${filename}\"," + fi elif [[ "$filename" == *"nv"* ]]; then continue else diff --git a/.github/workflows/pr-chart-e2e.yml b/.github/workflows/pr-chart-e2e.yml index ebd52f8e2e..52d7a6354f 100644 --- a/.github/workflows/pr-chart-e2e.yml +++ b/.github/workflows/pr-chart-e2e.yml @@ -46,6 +46,8 @@ jobs: example=$(echo "$values_file" | cut -d'/' -f1) # CodeGen if [[ "$valuefile" == *"gaudi"* ]]; then hardware="gaudi" + elif [[ "$valuefile" == *"rocm"* ]]; then + hardware="rocm" elif [[ "$valuefile" == *"nv"* ]]; then continue else