From 9b38302a8c45c6820bc36ac201115096db4b91a9 Mon Sep 17 00:00:00 2001 From: Ying Chun Guo Date: Mon, 9 Sep 2024 16:26:19 +0800 Subject: [PATCH] disable hpa-values test in chart e2e in CI (#413) Signed-off-by: Yingchun Guo --- .github/workflows/manual-helm-cd-workflow.yaml | 6 +++--- .github/workflows/pr-chart-e2e.yaml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/manual-helm-cd-workflow.yaml b/.github/workflows/manual-helm-cd-workflow.yaml index 772993058..a940cde8e 100644 --- a/.github/workflows/manual-helm-cd-workflow.yaml +++ b/.github/workflows/manual-helm-cd-workflow.yaml @@ -45,7 +45,7 @@ jobs: find "$CHARTS_DIR" -mindepth 1 -maxdepth 1 -type d ! -name "common" -exec basename {} \; | while read -r subfolder; do for file in "$CHARTS_DIR/$subfolder"/*values.yaml; do if [ -f "$file" ]; then - if [[ "$file" == *"nv-values.yaml" ]]; then + if [ "$file" == *"nv-values.yaml" ] || [ "$file" == *"hpa-values.yaml" ]; then continue fi filename=$(basename "$file" .yaml) @@ -60,7 +60,7 @@ jobs: find "$CHARTS_DIR/common" -mindepth 1 -maxdepth 1 -type d -exec basename {} \; | while read -r subfolder; do for file in "$CHARTS_DIR/common/$subfolder"/*values.yaml; do if [ -f "$file" ]; then - if [[ "$file" == *"nv-values.yaml" ]]; then + if [ "$file" == *"nv-values.yaml" ] || [ "$file" == *"hpa-values.yaml" ]; then continue fi filename=$(basename "$file" .yaml) @@ -77,7 +77,7 @@ jobs: for service in $service_list; do for file in "$CHARTS_DIR/$service"/*values.yaml; do if [ -f "$file" ]; then - if [[ "$file" == *"nv-values.yaml" ]]; then + if [ "$file" == *"nv-values.yaml" ] || [ "$file" == *"hpa-values.yaml" ]; then continue fi filename=$(basename "$file" .yaml) diff --git a/.github/workflows/pr-chart-e2e.yaml b/.github/workflows/pr-chart-e2e.yaml index 691f7f93f..84decf147 100644 --- a/.github/workflows/pr-chart-e2e.yaml +++ b/.github/workflows/pr-chart-e2e.yaml @@ -49,7 +49,7 @@ jobs: for chart in ${e2e_charts}; do for file in "$CHARTS_DIR/$chart"/*values.yaml; do if [ -f "$file" ]; then - if [[ "$file" == *"nv-values.yaml" ]]; then + if [ "$file" == *"nv-values.yaml" ] || [ "$file" == *"hpa-values.yaml" ]; then continue fi filename=$(basename "$file" .yaml) @@ -64,7 +64,7 @@ jobs: for chart in ${common_charts}; do for file in "$CHARTS_DIR/common/$chart"/*values.yaml; do if [ -f "$file" ]; then - if [[ "$file" == *"nv-values.yaml" ]]; then + if [ "$file" == *"nv-values.yaml" ] || [ "$file" == *"hpa-values.yaml" ]; then continue fi filename=$(basename "$file" .yaml)