You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bigbluebutton-v2.5.11/build/get_external_dependencies.sh

23 lines
661 B

#!/bin/bash -xe
cd "$(dirname "$0")/.."
# get the list of stuff that needs to be downloaded from
# .gitlab-ci.yml, so we don't need to maintain it in two places.
DEPENDENCIES=$(python3 -c 'import yaml; print(" ".join(yaml.load(open(".gitlab-ci.yml"), Loader=yaml.SafeLoader)["get_external_dependencies"]["artifacts"]["paths"]))')
for DEPENDENCY in $DEPENDENCIES; do
DOWNLOAD_COMMAND_FILE="${DEPENDENCY}.placeholder.sh"
echo "getting component ${DOWNLOAD_COMMAND_FILE}..."
bash -xe "$DOWNLOAD_COMMAND_FILE" &
done
wait
set +x
echo "downloaded external dependencies:"
for DEPENDENCY in $DEPENDENCIES; do
du --summarize -h "$DEPENDENCY"
done