diff --git a/lib/util/exec/docker/index.ts b/lib/util/exec/docker/index.ts index b2b6b0957040da549e489bc1ed948f870d6f7d13..840e931096d6a0ba61995379801bf8572c242622 100644 --- a/lib/util/exec/docker/index.ts +++ b/lib/util/exec/docker/index.ts @@ -17,6 +17,7 @@ async function prefetchDockerImage(taggedImage: string): Promise<void> { logger.debug(`Fetching Docker image: ${taggedImage}`); prefetchedImages.add(taggedImage); await rawExec(`docker pull ${taggedImage}`, { encoding: 'utf-8' }); + logger.debug(`Finished fetching Docker image`); } } diff --git a/lib/util/exec/index.ts b/lib/util/exec/index.ts index 50eca3df82cad36d4647627d39d48cfb3031eb3c..66dcdbb00d746fe9df8993cf7c91038e9817900a 100644 --- a/lib/util/exec/index.ts +++ b/lib/util/exec/index.ts @@ -120,6 +120,8 @@ export async function exec( let res: ExecResult | null = null; for (const rawExecCommand of commands) { + logger.debug({ command: rawExecCommand }, 'Executing command'); + logger.trace({ commandOptions: rawExecOptions }, 'Command options'); const startTime = hrtime(); res = await rawExec(rawExecCommand, rawExecOptions); const duration = hrtime(startTime);