[bitnami/*] test: Skip Early Feedback test in bitnami/common (#9240)

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
This commit is contained in:
Javier J. Salmerón-García
2022-03-01 12:27:11 +01:00
committed by GitHub
parent c663316c03
commit 5293056fdc

View File

@@ -43,7 +43,13 @@ jobs:
elif [[ "$num_charts_changed" -eq "1" ]]; then
# Changes done in only one chart -> OK
echo "::set-output name=chart::${charts_dirs_changed}"
echo "::set-output name=result::ok"
if [[ "$charts_dirs_changed" =~ "common" ]]; then
# Changes done in bitnami/common -> SKIP
echo "::set-output name=result::skip"
else
# Changes done in a chart different from common -> OK
echo "::set-output name=result::ok"
fi
elif [[ "$num_charts_changed" -le "0" ]]; then
# Changes done in the bitnami/ folder but not inside a chart subfolder -> SKIP
echo "::set-output name=error::No changes detected in charts. The rest of the tests will be skipped."