[bitnami/*] Add ARM arch verification to CI (#42269)

* [bitnami/*] Add ARM arch verification to CI

Signed-off-by: Fran de Paz <fdepaz@vmware.com>

* Remove CD changes from branch

Signed-off-by: Fran de Paz <fdepaz@vmware.com>

* Fix typo

Signed-off-by: Fran de Paz <fdepaz@vmware.com>

---------

Signed-off-by: Fran de Paz <fdepaz@vmware.com>
This commit is contained in:
Fran de Paz Galán
2023-07-26 14:24:40 +02:00
committed by GitHub
parent 5f9b6b467e
commit 7b6110f0a2
236 changed files with 1257 additions and 370 deletions
+8 -2
View File
@@ -80,6 +80,7 @@ jobs:
run: |
if [[ -d "${{ matrix.container }}" ]]; then
name="$(echo "${{ matrix.container }}" | awk -F '/' '{print $2}')"
branch="$(echo "${{ matrix.container }}" | awk -F '/' '{print $3}')"
tag=""
if [[ "${{ github.event.pull_request.user.login }}" == "bitnami-bot" ]]; then
tag="$(grep -oE "org.opencontainers.image.ref.name=\".+\"" ${{ matrix.container }}/Dockerfile | sed -nr "s|org.opencontainers.image.ref.name=\"(.+)\"|\1|p")"
@@ -91,8 +92,13 @@ jobs:
echo "No tag found for: ${{ matrix.container }}"
exit 1
else
dsl_path="${name}"
if [[ -d ".vib/${dsl_path}/${branch}" ]]; then
dsl_path="${dsl_path}/${branch}"
fi
echo "tag=${tag}" >> $GITHUB_OUTPUT
echo "name=${name}" >> $GITHUB_OUTPUT
echo "dsl_path=${dsl_path}" >> $GITHUB_OUTPUT
echo "result=ok" >> $GITHUB_OUTPUT
fi
else
@@ -103,12 +109,12 @@ jobs:
name: Verify
if: ${{ steps.get-container-metadata.outputs.result == 'ok' }}
with:
pipeline: ${{ steps.get-container-metadata.outputs.name }}/vib-verify.json
pipeline: ${{ steps.get-container-metadata.outputs.dsl_path }}/vib-verify.json
env:
# Path with docker resources
VIB_ENV_PATH: ${{ matrix.container }}
# Container name
VIB_ENV_CONTAINER: ${{ steps.get-container-metadata.outputs.name }}
VIB_ENV_CONTAINER: ${{ steps.get-container-metadata.outputs.name }}
VIB_ENV_TAG: ${{ steps.get-container-metadata.outputs.tag }}
verification-summary:
# Ensure all containers passed the verification