MCPcopy Create free account
hub / github.com/Azure/dev-box-images / _process_image_async

Function _process_image_async

builder/build.py:53–63  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

51 names = img.image_names()
52
53 async def _process_image_async(name):
54 image = await img.get_async(name, gallery, common, suffix, ensure_azure=True)
55
56 if image['build']:
57 params_file = az.save_params_file(image, params, BUILDER_PARAMS_FILE)
58
59 if not skip_build:
60 await az.deploy_builder_async(image, params_file)
61
62 if skip_build:
63 log.warning('Skipping build execution because --skip-build was provided')
64
65 await asyncio.gather(*[_process_image_async(n) for n in names])
66

Callers 1

main_asyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected