From 7b0704a99df3305692ff1ad5056dfec2606acc3c Mon Sep 17 00:00:00 2001 From: Marko Kosmerl Date: Thu, 13 Jun 2024 17:58:18 +0000 Subject: [PATCH] fix --- releaseVersion | 2 +- src/Runner.Worker/ContainerOperationProvider.cs | 7 ++++--- src/runnerversion | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/releaseVersion b/releaseVersion index 6f508d398dc..fb802e1c65c 100644 --- a/releaseVersion +++ b/releaseVersion @@ -1 +1 @@ -2.317.0-dfinity +2.317.0-dfinity1 diff --git a/src/Runner.Worker/ContainerOperationProvider.cs b/src/Runner.Worker/ContainerOperationProvider.cs index 63c19c0199a..37bff377a3c 100644 --- a/src/Runner.Worker/ContainerOperationProvider.cs +++ b/src/Runner.Worker/ContainerOperationProvider.cs @@ -108,8 +108,8 @@ public async Task StartContainersAsync(IExecutionContext executionContext, objec container.ContainerNetwork = containerNetwork; await StartContainerAsync(executionContext, container); } - // TODO: conditional logic - //await RunContainersHealthcheck(executionContext, containers); + + await RunContainersHealthcheck(executionContext, containers); } public async Task RunContainersHealthcheck(IExecutionContext executionContext, List containers) @@ -164,8 +164,9 @@ public async Task StopContainersAsync(IExecutionContext executionContext, object { await StopContainerAsync(executionContext, container); } + // TODO: conditional // Remove the container network - await RemoveContainerNetworkAsync(executionContext, containers.First().ContainerNetwork); + //await RemoveContainerNetworkAsync(executionContext, containers.First().ContainerNetwork); } private async Task StartContainerAsync(IExecutionContext executionContext, ContainerInfo container) diff --git a/src/runnerversion b/src/runnerversion index 6f508d398dc..fb802e1c65c 100644 --- a/src/runnerversion +++ b/src/runnerversion @@ -1 +1 @@ -2.317.0-dfinity +2.317.0-dfinity1