From 15d76c0889febc467223d6aabcbc281795a982c4 Mon Sep 17 00:00:00 2001 From: "chen, suyue" Date: Sun, 13 Apr 2025 22:36:16 +0800 Subject: [PATCH] support rocm helm charts test (#1787) 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 e6cc94e2a..99387d976 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 ebd52f8e2..52d7a6354 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