Update all the things

This commit is contained in:
Robert Marshall 2023-02-18 13:47:09 +00:00
parent 09cdc84367
commit 09e545ec3e
18 changed files with 379 additions and 87 deletions

1
.nuke
View file

@ -1 +0,0 @@
src/Robware.Api.Auth.sln

114
.nuke/build.schema.json Normal file
View file

@ -0,0 +1,114 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Build Schema",
"$ref": "#/definitions/build",
"definitions": {
"build": {
"type": "object",
"properties": {
"Configuration": {
"type": "string",
"description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)",
"enum": [
"Debug",
"Release"
]
},
"Continue": {
"type": "boolean",
"description": "Indicates to continue a previously failed build attempt"
},
"Help": {
"type": "boolean",
"description": "Shows the help text for this build assembly"
},
"Host": {
"type": "string",
"description": "Host for execution. Default is 'automatic'",
"enum": [
"AppVeyor",
"AzurePipelines",
"Bamboo",
"Bitbucket",
"Bitrise",
"GitHubActions",
"GitLab",
"Jenkins",
"Rider",
"SpaceAutomation",
"TeamCity",
"Terminal",
"TravisCI",
"VisualStudio",
"VSCode"
]
},
"NoLogo": {
"type": "boolean",
"description": "Disables displaying the NUKE logo"
},
"Partition": {
"type": "string",
"description": "Partition to use on CI"
},
"Plan": {
"type": "boolean",
"description": "Shows the execution plan (HTML)"
},
"Profile": {
"type": "array",
"description": "Defines the profiles to load",
"items": {
"type": "string"
}
},
"Root": {
"type": "string",
"description": "Root directory during build execution"
},
"Skip": {
"type": "array",
"description": "List of targets to be skipped. Empty list skips all dependencies",
"items": {
"type": "string",
"enum": [
"Clean",
"Compile",
"Publish",
"Restore",
"Test"
]
}
},
"Solution": {
"type": "string",
"description": "Path to a solution file that is automatically loaded"
},
"Target": {
"type": "array",
"description": "List of targets to be invoked. Default is '{default_target}'",
"items": {
"type": "string",
"enum": [
"Clean",
"Compile",
"Publish",
"Restore",
"Test"
]
}
},
"Verbosity": {
"type": "string",
"description": "Logging verbosity during build execution. Default is 'Normal'",
"enum": [
"Minimal",
"Normal",
"Quiet",
"Verbose"
]
}
}
}
}
}

4
.nuke/parameters.json Normal file
View file

@ -0,0 +1,4 @@
{
"$schema": "./build.schema.json",
"Solution": "src/Robware.Api.Auth.sln"
}

View file

@ -0,0 +1,5 @@
5955c86dedd1297c5beb35cdbb991e55
Restore
Compile
Test
Publish

View file

@ -0,0 +1,79 @@
V | | ArgumentsFromParametersFile.OnBuildCreated (150)
V | | Passing value for Build.Solution (src/Robware.Api.Auth.sln)
V | | InjectParameterValues.OnBuildCreated (100)
V | | HandleShellCompletion.OnBuildCreated (75)
V | | GenerateBuildServerConfigurations.OnBuildCreated (50)
V | | InvokeBuildServerConfigurationGeneration.OnBuildCreated (45)
V | | UpdateNotification.OnBuildCreated (10)
V | | UnsetVisualStudioEnvironmentVariables.OnBuildCreated (0)
V | | HandleVisualStudioDebugging.OnBuildCreated (0)
V | | HandleSingleFileExecution.OnBuildCreated (-50)
V | | EventInvoker.OnBuildCreated (-3.4028235E+38)
V | | HandleHelpRequests.OnBuildInitialized (5)
V | | CheckBuildProjectConfigurations.OnBuildInitialized (0)
V | | Telemetry.OnBuildInitialized (0)
V | | InjectNonParameterValues.OnBuildInitialized (-100)
V | | EventInvoker.OnBuildInitialized (-3.4028235E+38)
V | Restore | EventInvoker.OnTargetRunning (-3.4028235E+38)
I | Restore | > /usr/bin/dotnet restore /home/rob/Code/Api.Auth/src/Robware.Api.Auth.sln
D | Restore | Determining projects to restore...
D | Restore | All projects are up-to-date for restore.
V | Restore | Telemetry.OnTargetSucceeded (0)
V | Restore | EventInvoker.OnTargetSucceeded (-3.4028235E+38)
V | Compile | EventInvoker.OnTargetRunning (-3.4028235E+38)
I | Compile | > /usr/bin/dotnet build /home/rob/Code/Api.Auth/src/Robware.Api.Auth.sln --configuration Debug --no-restore
D | Compile | MSBuild version 17.5.0-preview-23061-01+040e2a90e for .NET
D | Compile | Robware.Auth -> /home/rob/Code/Api.Auth/src/Robware.Auth/bin/Debug/net7.0/Robware.Auth.dll
D | Compile | Robware.Data -> /home/rob/Code/Api.Auth/src/Robware.Data/bin/Debug/net7.0/Robware.Data.dll
D | Compile | Robware.Auth.Tests -> /home/rob/Code/Api.Auth/src/Robware.Auth.Tests/bin/Debug/net7.0/Robware.Auth.Tests.dll
W | Compile | /home/rob/Code/Api.Auth/src/Robware.Api.Auth/Authentication/ApiKeyAuthenticationHandler.cs(56,33): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/rob/Code/Api.Auth/src/Robware.Api.Auth/Robware.Api.Auth.csproj]
W | Compile | /home/rob/Code/Api.Auth/src/Robware.Api.Auth/Authentication/ApiKeyAuthenticationHandler.cs(60,33): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/rob/Code/Api.Auth/src/Robware.Api.Auth/Robware.Api.Auth.csproj]
D | Compile | Robware.Api.Auth -> /home/rob/Code/Api.Auth/src/Robware.Api.Auth/bin/Debug/net7.0/Robware.Api.Auth.dll
D | Compile | Robware.Api.Auth.Tests -> /home/rob/Code/Api.Auth/src/Robware.Api.Auth.Tests/bin/Debug/net7.0/Robware.Api.Auth.Tests.dll
D | Compile |
D | Compile | Build succeeded.
D | Compile |
W | Compile | /home/rob/Code/Api.Auth/src/Robware.Api.Auth/Authentication/ApiKeyAuthenticationHandler.cs(56,33): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/rob/Code/Api.Auth/src/Robware.Api.Auth/Robware.Api.Auth.csproj]
W | Compile | /home/rob/Code/Api.Auth/src/Robware.Api.Auth/Authentication/ApiKeyAuthenticationHandler.cs(60,33): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/rob/Code/Api.Auth/src/Robware.Api.Auth/Robware.Api.Auth.csproj]
D | Compile | 2 Warning(s)
D | Compile | 0 Error(s)
D | Compile |
D | Compile | Time Elapsed 00:00:03.90
V | Compile | Telemetry.OnTargetSucceeded (0)
V | Compile | EventInvoker.OnTargetSucceeded (-3.4028235E+38)
V | Test | EventInvoker.OnTargetRunning (-3.4028235E+38)
I | Test | > /usr/bin/dotnet test /home/rob/Code/Api.Auth/src/Robware.Api.Auth.sln --no-restore
D | Test | Robware.Auth -> /home/rob/Code/Api.Auth/src/Robware.Auth/bin/Debug/net7.0/Robware.Auth.dll
D | Test | Robware.Data -> /home/rob/Code/Api.Auth/src/Robware.Data/bin/Debug/net7.0/Robware.Data.dll
D | Test | Robware.Auth.Tests -> /home/rob/Code/Api.Auth/src/Robware.Auth.Tests/bin/Debug/net7.0/Robware.Auth.Tests.dll
D | Test | Test run for /home/rob/Code/Api.Auth/src/Robware.Auth.Tests/bin/Debug/net7.0/Robware.Auth.Tests.dll (.NETCoreApp,Version=v7.0)
D | Test | Microsoft (R) Test Execution Command Line Tool Version 17.5.0 (x64)
D | Test | Copyright (c) Microsoft Corporation. All rights reserved.
D | Test |
D | Test | Starting test execution, please wait...
D | Test | Robware.Api.Auth -> /home/rob/Code/Api.Auth/src/Robware.Api.Auth/bin/Debug/net7.0/Robware.Api.Auth.dll
D | Test | A total of 1 test files matched the specified pattern.
D | Test | Robware.Api.Auth.Tests -> /home/rob/Code/Api.Auth/src/Robware.Api.Auth.Tests/bin/Debug/net7.0/Robware.Api.Auth.Tests.dll
D | Test | Test run for /home/rob/Code/Api.Auth/src/Robware.Api.Auth.Tests/bin/Debug/net7.0/Robware.Api.Auth.Tests.dll (.NETCoreApp,Version=v7.0)
D | Test | Microsoft (R) Test Execution Command Line Tool Version 17.5.0 (x64)
D | Test | Copyright (c) Microsoft Corporation. All rights reserved.
D | Test |
D | Test | Starting test execution, please wait...
D | Test | A total of 1 test files matched the specified pattern.
D | Test |
D | Test | Passed! - Failed: 0, Passed: 10, Skipped: 0, Total: 10, Duration: 207 ms - Robware.Auth.Tests.dll (net7.0)
D | Test |
D | Test | Passed! - Failed: 0, Passed: 16, Skipped: 0, Total: 16, Duration: 52 ms - Robware.Api.Auth.Tests.dll (net7.0)
V | Test | Telemetry.OnTargetSucceeded (0)
V | Test | EventInvoker.OnTargetSucceeded (-3.4028235E+38)
V | Publish | EventInvoker.OnTargetRunning (-3.4028235E+38)
I | Publish | > /usr/bin/dotnet publish /home/rob/Code/Api.Auth/src/Robware.Api.Auth/Robware.Api.Auth.csproj --configuration Debug --output /home/rob/Code/Api.Auth/output
D | Publish | MSBuild version 17.5.0-preview-23061-01+040e2a90e for .NET
D | Publish | Determining projects to restore...
D | Publish | All projects are up-to-date for restore.
D | Publish | Robware.Auth -> /home/rob/Code/Api.Auth/src/Robware.Auth/bin/Debug/net7.0/Robware.Auth.dll
D | Publish | Robware.Data -> /home/rob/Code/Api.Auth/src/Robware.Data/bin/Debug/net7.0/Robware.Data.dll
D | Publish | Robware.Api.Auth -> /home/rob/Code/Api.Auth/src/Robware.Api.Auth/bin/Debug/net7.0/Robware.Api.Auth.dll
D | Publish | Robware.Api.Auth -> /home/rob/Code/Api.Auth/output/
V | Publish | Telemetry.OnTargetSucceeded (0)
V | Publish | EventInvoker.OnTargetSucceeded (-3.4028235E+38)

79
.nuke/temp/build.log Normal file
View file

@ -0,0 +1,79 @@
13:31:58.453 | V | | ArgumentsFromParametersFile.OnBuildCreated (150)
13:31:58.496 | V | | Passing value for Build.Solution (src/Robware.Api.Auth.sln)
13:31:58.506 | V | | InjectParameterValues.OnBuildCreated (100)
13:31:58.550 | V | | HandleShellCompletion.OnBuildCreated (75)
13:31:58.655 | V | | GenerateBuildServerConfigurations.OnBuildCreated (50)
13:31:58.655 | V | | InvokeBuildServerConfigurationGeneration.OnBuildCreated (45)
13:31:58.667 | V | | UpdateNotification.OnBuildCreated (10)
13:31:58.667 | V | | UnsetVisualStudioEnvironmentVariables.OnBuildCreated (0)
13:31:58.667 | V | | HandleVisualStudioDebugging.OnBuildCreated (0)
13:31:58.668 | V | | HandleSingleFileExecution.OnBuildCreated (-50)
13:31:58.668 | V | | EventInvoker.OnBuildCreated (-3.4028235E+38)
13:31:58.685 | V | | HandleHelpRequests.OnBuildInitialized (5)
13:31:58.685 | V | | CheckBuildProjectConfigurations.OnBuildInitialized (0)
13:31:58.895 | V | | Telemetry.OnBuildInitialized (0)
13:32:25.683 | V | | InjectNonParameterValues.OnBuildInitialized (-100)
13:32:25.684 | V | | EventInvoker.OnBuildInitialized (-3.4028235E+38)
13:32:25.696 | V | Restore | EventInvoker.OnTargetRunning (-3.4028235E+38)
13:32:25.716 | I | Restore | > /usr/bin/dotnet restore /home/rob/Code/Api.Auth/src/Robware.Api.Auth.sln
13:32:26.594 | D | Restore | Determining projects to restore...
13:32:26.964 | D | Restore | All projects are up-to-date for restore.
13:32:27.006 | V | Restore | Telemetry.OnTargetSucceeded (0)
13:32:27.007 | V | Restore | EventInvoker.OnTargetSucceeded (-3.4028235E+38)
13:32:27.008 | V | Compile | EventInvoker.OnTargetRunning (-3.4028235E+38)
13:32:27.016 | I | Compile | > /usr/bin/dotnet build /home/rob/Code/Api.Auth/src/Robware.Api.Auth.sln --configuration Debug --no-restore
13:32:27.180 | D | Compile | MSBuild version 17.5.0-preview-23061-01+040e2a90e for .NET
13:32:29.220 | D | Compile | Robware.Auth -> /home/rob/Code/Api.Auth/src/Robware.Auth/bin/Debug/net7.0/Robware.Auth.dll
13:32:29.869 | D | Compile | Robware.Data -> /home/rob/Code/Api.Auth/src/Robware.Data/bin/Debug/net7.0/Robware.Data.dll
13:32:29.945 | D | Compile | Robware.Auth.Tests -> /home/rob/Code/Api.Auth/src/Robware.Auth.Tests/bin/Debug/net7.0/Robware.Auth.Tests.dll
13:32:30.421 | W | Compile | /home/rob/Code/Api.Auth/src/Robware.Api.Auth/Authentication/ApiKeyAuthenticationHandler.cs(56,33): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/rob/Code/Api.Auth/src/Robware.Api.Auth/Robware.Api.Auth.csproj]
13:32:30.422 | W | Compile | /home/rob/Code/Api.Auth/src/Robware.Api.Auth/Authentication/ApiKeyAuthenticationHandler.cs(60,33): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/rob/Code/Api.Auth/src/Robware.Api.Auth/Robware.Api.Auth.csproj]
13:32:30.655 | D | Compile | Robware.Api.Auth -> /home/rob/Code/Api.Auth/src/Robware.Api.Auth/bin/Debug/net7.0/Robware.Api.Auth.dll
13:32:31.102 | D | Compile | Robware.Api.Auth.Tests -> /home/rob/Code/Api.Auth/src/Robware.Api.Auth.Tests/bin/Debug/net7.0/Robware.Api.Auth.Tests.dll
13:32:31.132 | D | Compile |
13:32:31.132 | D | Compile | Build succeeded.
13:32:31.132 | D | Compile |
13:32:31.132 | W | Compile | /home/rob/Code/Api.Auth/src/Robware.Api.Auth/Authentication/ApiKeyAuthenticationHandler.cs(56,33): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/rob/Code/Api.Auth/src/Robware.Api.Auth/Robware.Api.Auth.csproj]
13:32:31.132 | W | Compile | /home/rob/Code/Api.Auth/src/Robware.Api.Auth/Authentication/ApiKeyAuthenticationHandler.cs(60,33): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/rob/Code/Api.Auth/src/Robware.Api.Auth/Robware.Api.Auth.csproj]
13:32:31.132 | D | Compile | 2 Warning(s)
13:32:31.132 | D | Compile | 0 Error(s)
13:32:31.132 | D | Compile |
13:32:31.133 | D | Compile | Time Elapsed 00:00:03.90
13:32:31.156 | V | Compile | Telemetry.OnTargetSucceeded (0)
13:32:31.156 | V | Compile | EventInvoker.OnTargetSucceeded (-3.4028235E+38)
13:32:31.157 | V | Test | EventInvoker.OnTargetRunning (-3.4028235E+38)
13:32:31.162 | I | Test | > /usr/bin/dotnet test /home/rob/Code/Api.Auth/src/Robware.Api.Auth.sln --no-restore
13:32:32.638 | D | Test | Robware.Auth -> /home/rob/Code/Api.Auth/src/Robware.Auth/bin/Debug/net7.0/Robware.Auth.dll
13:32:32.790 | D | Test | Robware.Data -> /home/rob/Code/Api.Auth/src/Robware.Data/bin/Debug/net7.0/Robware.Data.dll
13:32:32.831 | D | Test | Robware.Auth.Tests -> /home/rob/Code/Api.Auth/src/Robware.Auth.Tests/bin/Debug/net7.0/Robware.Auth.Tests.dll
13:32:32.853 | D | Test | Test run for /home/rob/Code/Api.Auth/src/Robware.Auth.Tests/bin/Debug/net7.0/Robware.Auth.Tests.dll (.NETCoreApp,Version=v7.0)
13:32:32.955 | D | Test | Microsoft (R) Test Execution Command Line Tool Version 17.5.0 (x64)
13:32:32.955 | D | Test | Copyright (c) Microsoft Corporation. All rights reserved.
13:32:32.961 | D | Test |
13:32:33.059 | D | Test | Starting test execution, please wait...
13:32:33.089 | D | Test | Robware.Api.Auth -> /home/rob/Code/Api.Auth/src/Robware.Api.Auth/bin/Debug/net7.0/Robware.Api.Auth.dll
13:32:33.099 | D | Test | A total of 1 test files matched the specified pattern.
13:32:33.405 | D | Test | Robware.Api.Auth.Tests -> /home/rob/Code/Api.Auth/src/Robware.Api.Auth.Tests/bin/Debug/net7.0/Robware.Api.Auth.Tests.dll
13:32:33.440 | D | Test | Test run for /home/rob/Code/Api.Auth/src/Robware.Api.Auth.Tests/bin/Debug/net7.0/Robware.Api.Auth.Tests.dll (.NETCoreApp,Version=v7.0)
13:32:33.547 | D | Test | Microsoft (R) Test Execution Command Line Tool Version 17.5.0 (x64)
13:32:33.547 | D | Test | Copyright (c) Microsoft Corporation. All rights reserved.
13:32:33.557 | D | Test |
13:32:33.707 | D | Test | Starting test execution, please wait...
13:32:33.775 | D | Test | A total of 1 test files matched the specified pattern.
13:32:34.800 | D | Test |
13:32:34.806 | D | Test | Passed! - Failed: 0, Passed: 10, Skipped: 0, Total: 10, Duration: 207 ms - Robware.Auth.Tests.dll (net7.0)
13:32:35.522 | D | Test |
13:32:35.529 | D | Test | Passed! - Failed: 0, Passed: 16, Skipped: 0, Total: 16, Duration: 52 ms - Robware.Api.Auth.Tests.dll (net7.0)
13:32:35.636 | V | Test | Telemetry.OnTargetSucceeded (0)
13:32:35.636 | V | Test | EventInvoker.OnTargetSucceeded (-3.4028235E+38)
13:32:35.637 | V | Publish | EventInvoker.OnTargetRunning (-3.4028235E+38)
13:32:35.640 | I | Publish | > /usr/bin/dotnet publish /home/rob/Code/Api.Auth/src/Robware.Api.Auth/Robware.Api.Auth.csproj --configuration Debug --output /home/rob/Code/Api.Auth/output
13:32:35.784 | D | Publish | MSBuild version 17.5.0-preview-23061-01+040e2a90e for .NET
13:32:36.162 | D | Publish | Determining projects to restore...
13:32:36.495 | D | Publish | All projects are up-to-date for restore.
13:32:36.679 | D | Publish | Robware.Auth -> /home/rob/Code/Api.Auth/src/Robware.Auth/bin/Debug/net7.0/Robware.Auth.dll
13:32:36.807 | D | Publish | Robware.Data -> /home/rob/Code/Api.Auth/src/Robware.Data/bin/Debug/net7.0/Robware.Data.dll
13:32:36.931 | D | Publish | Robware.Api.Auth -> /home/rob/Code/Api.Auth/src/Robware.Api.Auth/bin/Debug/net7.0/Robware.Api.Auth.dll
13:32:36.975 | D | Publish | Robware.Api.Auth -> /home/rob/Code/Api.Auth/output/
13:32:36.996 | V | Publish | Telemetry.OnTargetSucceeded (0)
13:32:36.996 | V | Publish | EventInvoker.OnTargetSucceeded (-3.4028235E+38)