mirror of
https://github.com/bitnami/charts.git
synced 2026-03-11 15:37:20 +08:00
[bitnami/*] test: ✅ Skip Early Feedback test in bitnami/common (#9240)
Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
This commit is contained in:
committed by
GitHub
parent
c663316c03
commit
5293056fdc
8
.github/workflows/vib-early-feedback.yaml
vendored
8
.github/workflows/vib-early-feedback.yaml
vendored
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user