Skip to content

Commit

Permalink
chore: update ArmoniK.Api version from 3.11.0 to 3.14.0 (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
ngruelaneo authored Nov 14, 2023
2 parents 80b07db + c0edd62 commit ee4a497
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ jobs:
tls: ${{ matrix.tls }}
mtls: ${{ matrix.mtls }}
ext-csharp-version: ${{ needs.versionning.outputs.version }}
core-version: 0.14.3
core-version: 0.19.2

- name: Setup hosts file
run : echo -e "$(kubectl get svc ingress -n armonik -o jsonpath={.status.loadBalancer.ingress[0].ip})\tarmonik.local" | sudo tee -a /etc/hosts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ArmoniK.Api.Client" Version="3.11.0" />
<PackageReference Include="ArmoniK.Api.Client" Version="3.14.0" />
<PackageReference Include="Grpc.Core" Version="2.46.6" />
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="7.0.0" />
<PackageReference Include="System.Net.Http" Version="4.3.4" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ArmoniK.Api.Common" Version="3.11.0" />
<PackageReference Include="ArmoniK.Api.Common" Version="3.14.0" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="7.0.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ArmoniK.Api.Worker" Version="3.11.0" />
<PackageReference Include="ArmoniK.Api.Worker" Version="3.14.0" />
<PackageReference Include="AWSSDK.S3" Version="3.7.106.1" />
<PackageReference Include="AWSSDK.SecurityToken" Version="3.7.103.16" />
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="All" />
Expand Down
9 changes: 7 additions & 2 deletions Worker/src/DLLWorker/Services/ComputerService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,18 @@ await taskHandler.SendResult(taskHandler.ExpectedResults.Single(),
},
};
}

catch (RpcException ex)
{
Logger.LogWarning(ex,
"Worker sent an error");
throw;
}
catch (Exception ex)
{
Logger.LogError(ex,
"Unmanaged exception while executing task");

throw new RpcException(new Status(StatusCode.Aborted,
throw new RpcException(new Status(StatusCode.Internal,
ex.Message + Environment.NewLine + ex.StackTrace));
}

Expand Down

0 comments on commit ee4a497

Please sign in to comment.