mirror of
https://github.com/actions/runner.git
synced 2025-12-10 12:36:23 +00:00
Added back section group.
This commit is contained in:
@@ -99,7 +99,7 @@ namespace GitHub.Runner.Worker
|
||||
await StartContainerAsync(executionContext, container);
|
||||
}
|
||||
|
||||
executionContext.Output("Waiting for all services to be ready");
|
||||
executionContext.Output("##[group]Waiting for all services to be ready");
|
||||
|
||||
bool IsAnyUnhealthy = false;
|
||||
foreach (var container in containers.Where(c => !c.IsJobContainer))
|
||||
@@ -113,6 +113,7 @@ namespace GitHub.Runner.Worker
|
||||
await ContainerHealthcheckLogs(executionContext, container, healthcheck);
|
||||
}
|
||||
if (IsAnyUnhealthy) throw new InvalidOperationException("One or more containers failed to start.");
|
||||
executionContext.Output("##[endgroup]");
|
||||
}
|
||||
|
||||
public void printHello()
|
||||
@@ -447,7 +448,6 @@ namespace GitHub.Runner.Worker
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
executionContext.Output($"Container {container.ContainerImage} failed healthchecks, printing logs:");
|
||||
await _dockerManager.DockerLogs(context: executionContext, containerId: container.ContainerId);
|
||||
executionContext.Error($"Failed to initialize container {container.ContainerImage}");
|
||||
|
||||
Reference in New Issue
Block a user