[bitnami/containers] Revisit the script to retrieve additional packages

Remove debug info

Follow up #32704

Signed-off-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
Fran Mulero
2023-05-09 09:41:50 +02:00
committed by GitHub
parent f9f5767a49
commit 4f9e85a8fa

View File

@@ -121,9 +121,7 @@ jobs:
# Iterating over the external components to get the involved elements
while read -r component_id; do
if [[ -n "$component_id" ]]; then
echo "Component ${component_id}"
component_version_full=$(jq -cr '."'${component_id}'".version' "$components_json_file")
echo "Component version: ${component_version_full}"
if [[ "$component_version_full" =~ $COMPONENT_VERSION_REGEX ]] && [[ "${#BASH_REMATCH[@]}" -ge 3 ]]; then
component_version=${BASH_REMATCH[1]}
component_distro=$(jq -cr '."'${component_id}'".distro' "$components_json_file")
@@ -132,7 +130,6 @@ jobs:
component_arch=$arch
# Added "true" to avoid errors if compilation_recipe doesn't exists
compilation_recipe=$(s3cmd get "s3://${AWS_S3_BUCKET}/${component_id}/${component_version}/${component_distro}/${component_arch}/compilation-recipe.json" - 2>/dev/null || true)
echo "Compilation recipe: ${compilation_recipe}"
# now getting each component to be reported
while read -r json_package; do
package_id="$(echo "$json_package" | jq -r '.id' )"