Generate plugin snapcraft.yaml in build_remote.py

This commit is contained in:
Brad Warren 2020-09-29 15:18:22 -07:00
parent f95088e8c3
commit 973c4c2828

View file

@ -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))}')