mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-07-11 17:50:10 +00:00
The openapi.yaml driving NSwag client generation is no longer committed. A build-time target in LogosStorageClient.csproj extracts it byte-for-byte from the Logos Storage image (STORAGEDOCKERIMAGE, default latest-dist-tests) via 'docker cp' whenever a Docker daemon is reachable, always overwriting so the generated client matches the container under test. Where no daemon is reachable (the CI runner pod) the spec must be pre-placed on disk by the job's initContainer, else the build fails loudly. Because StoragePlugin's PreBuildEvent runs before project references are built, the old hash-injection prebuild read the spec before it could be materialized and baked a stale hash. Materialization and the ApiChecker hash check are therefore mutually exclusive, so ApiChecker and the LogosStoragePluginPrebuild project are removed here. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> # Conflicts: # ProjectPlugins/LogosStorageClient/openapi.yaml # ProjectPlugins/StoragePlugin/ApiChecker.cs # Conflicts: # ProjectPlugins/LogosStorageClient/openapi.yaml # ProjectPlugins/StoragePlugin/ApiChecker.cs
30 lines
1.2 KiB
XML
30 lines
1.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Extensions.ApiDescription.Client" Version="7.0.2">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
|
<PackageReference Include="NSwag.ApiDescription.Client" Version="13.18.2">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\Framework\Core\Core.csproj" />
|
|
<ProjectReference Include="..\..\Framework\KubernetesWorkflow\KubernetesWorkflow.csproj" />
|
|
<ProjectReference Include="..\..\Framework\OverwatchTranscript\OverwatchTranscript.csproj" />
|
|
<ProjectReference Include="..\LogosStorageClient\LogosStorageClient.csproj" />
|
|
<ProjectReference Include="..\MetricsPlugin\MetricsPlugin.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|