We know use alpine linux in containers to bring a few tool dependencies we need including lsblk and others. We know generate ACIs from docker containers instead of creating ACIs with acbuild.
38 lines
708 B
Bash
Executable File
38 lines
708 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
scriptdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
source ${scriptdir}/common.sh
|
|
|
|
run_platforms() {
|
|
local action=${1}
|
|
local flavor=${2}
|
|
|
|
for p in ${RELEASE_CLIENT_SERVER_PLATFORMS}; do
|
|
${scriptdir}/${flavor}.sh ${action} both ${p%_*} ${p#*_}
|
|
done
|
|
for p in ${RELEASE_CLIENT_ONLY_PLATFORMS}; do
|
|
${scriptdir}/${flavor}.sh ${action} client ${p%_*} ${p#*_}
|
|
done
|
|
}
|
|
|
|
action=$1
|
|
shift
|
|
|
|
case ${action} in
|
|
build|publish)
|
|
flavor=$1
|
|
shift
|
|
|
|
run_platforms ${action} ${flavor} "$@"
|
|
;;
|
|
|
|
check)
|
|
github_check_release "$@"
|
|
;;
|
|
|
|
*)
|
|
echo "unknown action ${action}"
|
|
exit 1
|
|
;;
|
|
esac
|