[bitnami/common] Add publishing using VIB (#16063)

* [bitnami/common] Add publishing using VIB

Signed-off-by: David Gomez <dgomezleon@vmware.com>

* [CONTENT-4384] Apply feedback

Signed-off-by: David Gomez <dgomezleon@vmware.com>

---------

Signed-off-by: David Gomez <dgomezleon@vmware.com>
This commit is contained in:
David Gomez
2023-04-20 15:32:59 +02:00
committed by GitHub
parent 09cbc7348c
commit 95704e9e68
4 changed files with 59 additions and 7 deletions

View File

@@ -13,6 +13,7 @@ on: # rebuild any PRs and main branch changes
- 'bitnami/cassandra/**'
- 'bitnami/cert-manager/**'
- 'bitnami/clickhouse/**'
- 'bitnami/common/**'
- 'bitnami/concourse/**'
- 'bitnami/consul/**'
- 'bitnami/contour-operator/**'

View File

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