diff --git a/tools/snap/build_dns_remote.sh b/tools/snap/build_dns_remote.sh index a3cf8c8ac..32a09d62f 100755 --- a/tools/snap/build_dns_remote.sh +++ b/tools/snap/build_dns_remote.sh @@ -23,10 +23,17 @@ fi trap popd EXIT -IFS="," -for DNS_PLUGIN in ${DNS_PLUGINS}; do +function run() { + local DNS_PLUGIN=$1 pushd "${CERTBOT_DIR}/${DNS_PLUGIN}" python3 ../tools/strip_hashes.py ../letsencrypt-auto-source/pieces/dependency-requirements.txt | grep -v python-augeas > snap-constraints.txt snapcraft remote-build --launchpad-accept-public-upload --build-on="${SNAP_ARCHS}" popd +} + +IFS="," +for DNS_PLUGIN in ${DNS_PLUGINS}; do + run "${DNS_PLUGIN}" & done + +wait