Skip to content

Commit 56d7d5d

Browse files
authored
Fix CI bug #417 (#418)
Skip nv-values.yaml and hpa-values.yaml since our current CI infra doesn't support testing them. Signed-off-by: Lianhao Lu <[email protected]>
1 parent 02412e7 commit 56d7d5d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/manual-helm-cd-workflow.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
find "$CHARTS_DIR" -mindepth 1 -maxdepth 1 -type d ! -name "common" -exec basename {} \; | while read -r subfolder; do
4646
for file in "$CHARTS_DIR/$subfolder"/*values.yaml; do
4747
if [ -f "$file" ]; then
48-
if [ "$file" == *"nv-values.yaml" ] || [ "$file" == *"hpa-values.yaml" ]; then
48+
if [[ "$file" == *"nv-values.yaml" ]] || [[ "$file" == *"hpa-values.yaml" ]]; then
4949
continue
5050
fi
5151
filename=$(basename "$file" .yaml)
@@ -60,7 +60,7 @@ jobs:
6060
find "$CHARTS_DIR/common" -mindepth 1 -maxdepth 1 -type d -exec basename {} \; | while read -r subfolder; do
6161
for file in "$CHARTS_DIR/common/$subfolder"/*values.yaml; do
6262
if [ -f "$file" ]; then
63-
if [ "$file" == *"nv-values.yaml" ] || [ "$file" == *"hpa-values.yaml" ]; then
63+
if [[ "$file" == *"nv-values.yaml" ]] || [[ "$file" == *"hpa-values.yaml" ]]; then
6464
continue
6565
fi
6666
filename=$(basename "$file" .yaml)

.github/workflows/pr-chart-e2e.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
for chart in ${e2e_charts}; do
5050
for file in "$CHARTS_DIR/$chart"/*values.yaml; do
5151
if [ -f "$file" ]; then
52-
if [ "$file" == *"nv-values.yaml" ] || [ "$file" == *"hpa-values.yaml" ]; then
52+
if [[ "$file" == *"nv-values.yaml" ]] || [[ "$file" == *"hpa-values.yaml" ]]; then
5353
continue
5454
fi
5555
filename=$(basename "$file" .yaml)
@@ -64,7 +64,7 @@ jobs:
6464
for chart in ${common_charts}; do
6565
for file in "$CHARTS_DIR/common/$chart"/*values.yaml; do
6666
if [ -f "$file" ]; then
67-
if [ "$file" == *"nv-values.yaml" ] || [ "$file" == *"hpa-values.yaml" ]; then
67+
if [[ "$file" == *"nv-values.yaml" ]] || [[ "$file" == *"hpa-values.yaml" ]]; then
6868
continue
6969
fi
7070
filename=$(basename "$file" .yaml)

0 commit comments

Comments
 (0)