Skip to content

Commit 4eaa6a5

Browse files
committed
Modify e2e checks to match changed Released cond
Signed-off-by: Hidde Beydals <[email protected]>
1 parent dbd4d77 commit 4eaa6a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/e2e.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jobs:
134134
kubectl -n helm-system apply -f config/testdata/$test_name
135135
echo -n ">>> Waiting for expected conditions"
136136
count=0
137-
until [ 'true' == "$( kubectl -n helm-system get helmrelease/$test_name -o json | jq '.status.conditions | map( { (.type): .status } ) | add | .Released=="False" and .TestSuccess=="False" and .Ready=="False"' )" ]; do
137+
until [ 'true' == "$( kubectl -n helm-system get helmrelease/$test_name -o json | jq '.status.conditions | map( { (.type): .status } ) | add | .Released=="True" and .TestSuccess=="False" and .Ready=="False"' )" ]; do
138138
echo -n '.'
139139
sleep 5
140140
count=$((count + 1))
@@ -301,7 +301,7 @@ jobs:
301301
kubectl -n helm-system apply -f config/testdata/$test_name/upgrade.yaml
302302
echo -n ">>> Waiting for expected conditions"
303303
count=0
304-
until [ 'true' == "$( kubectl -n helm-system get helmrelease/$test_name -o json | jq '.status.conditions | map( { (.type): .status } ) | add | .Released=="False" and .TestSuccess=="False" and .Ready=="False"' )" ]; do
304+
until [ 'true' == "$( kubectl -n helm-system get helmrelease/$test_name -o json | jq '.status.conditions | map( { (.type): .status } ) | add | .Released=="True" and .TestSuccess=="False" and .Ready=="False"' )" ]; do
305305
echo -n '.'
306306
sleep 5
307307
count=$((count + 1))

0 commit comments

Comments
 (0)