From 973c4c282800ed4af9ae137fd80c8b854a5c248d Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Tue, 29 Sep 2020 15:18:22 -0700 Subject: [PATCH] Generate plugin snapcraft.yaml in build_remote.py --- tools/snap/build_remote.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/snap/build_remote.py b/tools/snap/build_remote.py index 642b444b9..c54dcce59 100755 --- a/tools/snap/build_remote.py +++ b/tools/snap/build_remote.py @@ -165,6 +165,11 @@ def main(): targets.remove('DNS_PLUGINS') targets.update(PLUGINS) + if targets != set(('certbot',)): + # If we're building any of the DNS plugins, generate their + # snapcraft.yaml files. + subprocess.run('tools/snap/generate_dnsplugins_snapcraft.sh', check=True) + print('Start remote snap builds...') print(f' - archs: {", ".join(archs)}') print(f' - projects: {", ".join(sorted(targets))}')