Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-do the build infrastructure #445

Merged
merged 36 commits into from
Mar 25, 2022
Merged
Show file tree
Hide file tree
Changes from 35 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
9cf11f4
Set up CI with Azure Pipelines
Tratcher Feb 24, 2022
e84f0d1
Update azure-pipelines.yml for Azure Pipelines
Tratcher Feb 24, 2022
2cb146f
Add arcade
Tratcher Feb 24, 2022
d0dff76
Update azure-pipelines.yml for Azure Pipelines
Tratcher Feb 24, 2022
f9c3c4e
Disable myget
Tratcher Feb 25, 2022
dd57146
Alternate nuget.config for arcade
Tratcher Feb 25, 2022
6ec6371
Move nuget.config to root
Tratcher Feb 25, 2022
8b5d49d
Fixup nuget.config
Tratcher Feb 25, 2022
9134964
Add build scripts
Tratcher Feb 25, 2022
d96dbff
Remove unused perf app
Tratcher Feb 25, 2022
456e2be
Exclude sandbox projects from build
Tratcher Feb 25, 2022
62caec6
Remove stale CodeAnalysisRuleSet
Tratcher Feb 25, 2022
03249d7
Remove CommonAssemblyInfo.cs
Tratcher Feb 25, 2022
e00bfa0
Add PublicKey to InternalsVisibleTo
Tratcher Feb 25, 2022
00b1c89
Convert to SDK projects
Tratcher Feb 25, 2022
bc3fceb
License check mismatch ???
Tratcher Feb 25, 2022
b15381e
Convery more projects
Tratcher Feb 28, 2022
1ef8dd5
Convert test projects
Tratcher Mar 2, 2022
4cd2192
Skip https tests on the CI
Tratcher Mar 3, 2022
0a58ad6
Remove nuspec's
Tratcher Mar 15, 2022
e3e15e3
Enable CI variable group
Tratcher Mar 16, 2022
a1e98d2
Cleanup
Tratcher Mar 16, 2022
e5c67b6
Cleanup
Tratcher Mar 17, 2022
f77604c
Create Microsoft.Owin.SelfHost metapackage
Tratcher Mar 18, 2022
ec04c7f
Remove DotSettings
Tratcher Mar 18, 2022
513c849
Include API docs
Tratcher Mar 18, 2022
ced9308
Work on OwinHost package
Tratcher Mar 18, 2022
072e68c
Remove old build scripts
Tratcher Mar 18, 2022
3e4c570
Build the OwinHost package
Tratcher Mar 23, 2022
ae30274
Fix owin.dll signing
Tratcher Mar 23, 2022
d98acf4
Clean up SLN
Tratcher Mar 23, 2022
653954c
Clean up dependency references
Tratcher Mar 23, 2022
b0a3e59
Consolidate up TFMs
Tratcher Mar 23, 2022
c946ed6
Update eng/Versions.props
Tratcher Mar 24, 2022
31a0a5d
Remove extra stuff, review feedback
Tratcher Mar 24, 2022
de90ab7
Formatting, cleanup
Tratcher Mar 25, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ node_modules
.nuget/NuGet.exe
docs/build
.vs
.dotnet
.packages
15 changes: 0 additions & 15 deletions .nuget/NuGet.Config

This file was deleted.

5 changes: 0 additions & 5 deletions BuildServer.targets

This file was deleted.

12 changes: 12 additions & 0 deletions CredScanSuppressions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"tool": "Credential Scanner",
"suppressions": [
{
"_justification": "Legitimate key/cert used for testing",
"file": [
"tests/Microsoft.Owin.Host.HttpListener.Tests/HttpsServerTestCertificate.pfx",
"tests/Microsoft.Owin.Host.IntegrationTests/SelfSignedClientCert.pfx"
]
}
]
}
25 changes: 25 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<Project>
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />

<PropertyGroup>
<Copyright>$(CopyrightMicrosoft)</Copyright>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<DebugType>embedded</DebugType>
<DebugSymbols>true</DebugSymbols>
<LangVersion>Latest</LangVersion>
<IsShipping>true</IsShipping>
<PackageTags>Microsoft OWIN Katana</PackageTags>
<DefaultNetFxTargetFramework>net4.5</DefaultNetFxTargetFramework>
<DefaultNetFxTestTargetFramework>net4.5.2</DefaultNetFxTestTargetFramework>
</PropertyGroup>

<PropertyGroup Condition="'$(DotNetBuildOffline)' == 'true'">
<!--
Arcade has a special version prop for CodeAnalysis.CSharp in GenFacades
to try to match the version loaded by msbuild. In the offline build, this
is simply the source-built version.
-->
<MsbuildTaskMicrosoftCodeAnalysisCSharpVersion>$(MicrosoftCodeAnalysisCSharpVersion)</MsbuildTaskMicrosoftCodeAnalysisCSharpVersion>
</PropertyGroup>
</Project>
3 changes: 3 additions & 0 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<Project>
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" />
</Project>
193 changes: 80 additions & 113 deletions Katana.sln

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
Expand Down Expand Up @@ -186,7 +187,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright (c) .NET Foundation and Contributors
Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -198,4 +199,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
14 changes: 14 additions & 0 deletions NuGet.Config
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<!-- Feed to use to restore the Arcade SDK from -->
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
<!-- Feeds to use to restore dependent packages from -->
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
<add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
</packageSources>
<disabledPackageSources>
<clear />
</disabledPackageSources>
</configuration>
Loading