mirror of
https://github.com/bitnami/containers.git
synced 2026-04-02 23:38:16 +08:00
[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:
3
.github/workflows/cd-prepare.yml
vendored
3
.github/workflows/cd-prepare.yml
vendored
@@ -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' )"
|
||||
|
||||
Reference in New Issue
Block a user