From 2b8117e97159027f0276b7516bb0d5f975255fe8 Mon Sep 17 00:00:00 2001 From: Paolo Di Tommaso Date: Sat, 27 Jul 2024 11:57:42 +0200 Subject: [PATCH] Await build completion for all Wave containers Signed-off-by: Paolo Di Tommaso --- .../src/main/io/seqera/wave/plugin/WaveClient.groovy | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/plugins/nf-wave/src/main/io/seqera/wave/plugin/WaveClient.groovy b/plugins/nf-wave/src/main/io/seqera/wave/plugin/WaveClient.groovy index aa4df3c88b..4b64f509ca 100644 --- a/plugins/nf-wave/src/main/io/seqera/wave/plugin/WaveClient.groovy +++ b/plugins/nf-wave/src/main/io/seqera/wave/plugin/WaveClient.groovy @@ -563,11 +563,9 @@ class WaveClient { log.trace "Wave fingerprint: $key; assets: $assets" // get from cache or submit a new request final response = cache.get(key, { sendRequest(assets) } as Callable ) - if( config.freezeMode() ) { - if( response.buildId && !response.cached && !ContainerInspectMode.active() ) { - // await the image to be available when a new image is being built - awaitCompletion(response.buildId) - } + if( response.buildId && !response.cached && !ContainerInspectMode.active() ) { + // await the image to be available when a new image is being built + awaitCompletion(response.buildId) } // assemble the container info response return new ContainerInfo(assets.containerImage, response.targetImage, key)