Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
380 changes: 380 additions & 0 deletions Microsoft.Crank.sln

Large diffs are not rendered by default.

14 changes: 5 additions & 9 deletions src/Microsoft.Crank.Agent/Microsoft.Crank.Agent.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<Description>The benchmarking agent</Description>
<TargetFrameworks>net8.0</TargetFrameworks>
Expand All @@ -12,11 +11,9 @@
<PackageId>Microsoft.Crank.Agent</PackageId>
<LangVersion>latest</LangVersion>
</PropertyGroup>

<ItemGroup>
<EmbeddedResource Include="applicationHost.config" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Azure.Identity" />
<PackageReference Include="McMaster.Extensions.CommandLineUtils" />
Expand All @@ -36,18 +33,17 @@
<PackageReference Include="Serilog.AspNetCore" />
<PackageReference Include="System.Diagnostics.PerformanceCounter" />
<PackageReference Include="System.IO.Hashing" />

<!-- Forced versions for Component Governance compliance -->
<PackageReference Include="System.Text.Encodings.Web" />
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" />

</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Microsoft.Crank.EventSources\Microsoft.Crank.EventSources.csproj" />
<ProjectReference Include="..\Microsoft.Crank.JobOjectWrapper\Microsoft.Crank.JobObjectWrapper.csproj" />
<ProjectReference Include="..\Microsoft.Crank.Models\Microsoft.Crank.Models.csproj" />
</ItemGroup>

</Project>
<ItemGroup>
<InternalsVisibleTo Include="Microsoft.Crank.Agent.UnitTests" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0</TargetFrameworks>
<Description>Execute crank jobs added to an Azure Service Bus queue by Azure DevOps.</Description>
Expand All @@ -11,24 +10,20 @@
<Authors>Microsoft</Authors>
<PackageId>Microsoft.Crank.AzureDevOpsWorker</PackageId>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Azure.Identity" />
<PackageReference Include="Azure.Messaging.ServiceBus" />
<PackageReference Include="Jint" />
<PackageReference Include="McMaster.Extensions.CommandLineUtils" />
<PackageReference Include="Microsoft.Extensions.Caching.Memory" />

<!-- Force version for Component Governance compliance -->
<PackageReference Include="System.Text.Encodings.Web">
<AllowExplicitReference>true</AllowExplicitReference>
</PackageReference>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Microsoft.Crank.Models\Microsoft.Crank.Models.csproj" />
</ItemGroup>

<ItemGroup>
<None Update="jobs.example.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand All @@ -37,4 +32,7 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
<ItemGroup>
<InternalsVisibleTo Include="Microsoft.Crank.AzureDevOpsWorker.UnitTests" />
</ItemGroup>
</Project>
12 changes: 5 additions & 7 deletions src/Microsoft.Crank.Controller/Microsoft.Crank.Controller.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0</TargetFrameworks>
<Description>Schedules jobs on the benchmarks agent.</Description>
Expand All @@ -12,7 +11,6 @@
<PackageId>Microsoft.Crank.Controller</PackageId>
<LangVersion>12.0</LangVersion>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Azure.Identity" />
<PackageReference Include="Fluid.Core" />
Expand All @@ -26,16 +24,16 @@
<PackageReference Include="System.IO.Hashing" />
<PackageReference Include="YamlDotNet" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Microsoft.Crank.Models\Microsoft.Crank.Models.csproj" />
</ItemGroup>

<ItemGroup>
<Content Include="benchmarks.schema.json" CopyToOutputDirectory="PreserveNewest" />
<Compile Remove="benchmarks.schema.json" />
<Content Include="default.config.yml" CopyToOutputDirectory="PreserveNewest" />
<Compile Remove="default.config.yml" />
</ItemGroup>

</Project>
<ItemGroup>
<InternalsVisibleTo Include="Microsoft.Crank.Controller.UnitTests" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<IsPackable>true</IsPackable>
<Description>Helper classes to register metrics with the Microsoft.Crank tools.</Description>
<IsPackable>true</IsPackable>
<Authors>Microsoft</Authors>
<PackageId>Microsoft.Crank.EventSources</PackageId>
<PackageId>Microsoft.Crank.EventSources</PackageId>
</PropertyGroup>

</Project>
<ItemGroup>
<InternalsVisibleTo Include="Microsoft.Crank.EventSources.UnitTests" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net8.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>
<ItemGroup>
<InternalsVisibleTo Include="Microsoft.Crank.JobObjectWrapper.UnitTests" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Microsoft.Crank.EventSources\Microsoft.Crank.EventSources.csproj" />
</ItemGroup>

</Project>
<ItemGroup>
<InternalsVisibleTo Include="Microsoft.Crank.Jobs.Bombardier.UnitTests" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="McMaster.Extensions.CommandLineUtils" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Microsoft.Crank.EventSources\Microsoft.Crank.EventSources.csproj" />
</ItemGroup>

</Project>
<ItemGroup>
<InternalsVisibleTo Include="Microsoft.Crank.Jobs.H2Load.UnitTests" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>Latest</LangVersion>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Microsoft.Crank.EventSources\Microsoft.Crank.EventSources.csproj" />
</ItemGroup>

<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="McMaster.Extensions.CommandLineUtils" />
<PackageReference Include="Jint"/>
<PackageReference Include="Jint" />
</ItemGroup>
</Project>
<ItemGroup>
<InternalsVisibleTo Include="Microsoft.Crank.Jobs.HttpClient.UnitTests" />
</ItemGroup>
</Project>
9 changes: 4 additions & 5 deletions src/Microsoft.Crank.Jobs.K6/Microsoft.Crank.Jobs.K6.csproj
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Microsoft.Crank.EventSources\Microsoft.Crank.EventSources.csproj" />
</ItemGroup>

<ItemGroup>
<None Update="scripts\default.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>

</Project>
<ItemGroup>
<InternalsVisibleTo Include="Microsoft.Crank.Jobs.K6.UnitTests" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Microsoft.Crank.EventSources\Microsoft.Crank.EventSources.csproj" />
</ItemGroup>

<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="System.IO.Pipelines" />
<PackageReference Include="McMaster.Extensions.CommandLineUtils" />
</ItemGroup>
</Project>
<ItemGroup>
<InternalsVisibleTo Include="Microsoft.Crank.Jobs.PipeliningClient.UnitTests" />
</ItemGroup>
</Project>
11 changes: 5 additions & 6 deletions src/Microsoft.Crank.Jobs.Wrk/Microsoft.Crank.Jobs.Wrk.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Microsoft.Crank.EventSources\Microsoft.Crank.EventSources.csproj" />
</ItemGroup>

<ItemGroup>
<None Update="scripts\pipeline.lua">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand All @@ -17,5 +14,7 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>

</Project>
<ItemGroup>
<InternalsVisibleTo Include="Microsoft.Crank.Jobs.Wrk.UnitTests" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Microsoft.Crank.EventSources\Microsoft.Crank.EventSources.csproj" />
</ItemGroup>

<ItemGroup>
<None Update="wrk2">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>

</Project>
<ItemGroup>
<InternalsVisibleTo Include="Microsoft.Crank.Jobs.Wrk2.UnitTests" />
</ItemGroup>
</Project>
10 changes: 5 additions & 5 deletions src/Microsoft.Crank.Models/Microsoft.Crank.Models.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>Class to transfer data to/from the benchmark server.</Description>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Newtonsoft.Json" />
<PackageReference Include="Azure.Identity" />
</ItemGroup>

</Project>
<ItemGroup>
<InternalsVisibleTo Include="Microsoft.Crank.Models.UnitTests" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0</TargetFrameworks>
<Description>Runs benchmarks out of GitHub pull-requests.</Description>
Expand All @@ -12,27 +11,29 @@
<PackageId>Microsoft.Crank.PullRequestBot</PackageId>
<LangVersion>9.0</LangVersion>
</PropertyGroup>

<ItemGroup>
<None Remove="pullrequestbot.schema.json" />
</ItemGroup>

<ItemGroup>
<Content Include="pullrequestbot.schema.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>

<ItemGroup>
<PackageReference Include="System.CommandLine" />
<PackageReference Include="Octokit" />
<PackageReference Include="YamlDotNet" />
<PackageReference Include="Fluid.Core" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Microsoft.Crank.Controller\Microsoft.Crank.Controller.csproj" />
</ItemGroup>

<ProjectExtensions><VisualStudio><UserProperties sample_1config_1json__JsonSchema="pullrequestbot.schema.json" /></VisualStudio></ProjectExtensions>
</Project>
<ProjectExtensions>
<VisualStudio>
<UserProperties sample_1config_1json__JsonSchema="pullrequestbot.schema.json" />
</VisualStudio>
</ProjectExtensions>
<ItemGroup>
<InternalsVisibleTo Include="Microsoft.Crank.PullRequestBot.UnitTests" />
</ItemGroup>
</Project>
Loading
Loading