Version 1.5.1: Windows-only tests pass in the Linux CI build
Some checks failed
deploy community / deploy (push) Successful in 16s
deploy hub / deploy (push) Successful in 18s
CI / Build og unit tests (push) Successful in 9s
CI / MSI-installer (push) Successful in 15s
CI / Integration (mcr.microsoft.com/mssql/server:2025-latest) (push) Has been cancelled
CI / Integration (mcr.microsoft.com/mssql/server:2017-latest) (push) Has been cancelled
CI / Integration (mcr.microsoft.com/mssql/server:2019-latest) (push) Has been cancelled
CI / Integration (mcr.microsoft.com/mssql/server:2022-latest) (push) Has been cancelled
Some checks failed
deploy community / deploy (push) Successful in 16s
deploy hub / deploy (push) Successful in 18s
CI / Build og unit tests (push) Successful in 9s
CI / MSI-installer (push) Successful in 15s
CI / Integration (mcr.microsoft.com/mssql/server:2025-latest) (push) Has been cancelled
CI / Integration (mcr.microsoft.com/mssql/server:2017-latest) (push) Has been cancelled
CI / Integration (mcr.microsoft.com/mssql/server:2019-latest) (push) Has been cancelled
CI / Integration (mcr.microsoft.com/mssql/server:2022-latest) (push) Has been cancelled
- AxLogonClient.Command always builds a Windows path to powershell.exe - The grant-script test is skipped outside Windows (needs Windows PowerShell) - The DNS test looks up an absolute name, so a search domain can't resolve it v1.5.0 was tagged but never released because these failed in CI. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
a3af1334e7
commit
b878fd3ab6
5 changed files with 15 additions and 8 deletions
|
|
@ -14,7 +14,7 @@
|
|||
<Product>SQLInsight Pro</Product>
|
||||
<Copyright>Copyright (c) SEOSoft</Copyright>
|
||||
<!-- Release version; set with -p:Version=… when publishing. Update checks compare against it. -->
|
||||
<Version>1.5.0</Version>
|
||||
<Version>1.5.1</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="$(MSBuildProjectName.EndsWith('Tests'))">
|
||||
|
|
|
|||
|
|
@ -158,18 +158,18 @@ Kører web i IIS, angives `"AppOffline": true` i stedet for `Service`. Så lægg
|
|||
dotnet run --project tools/SQLInsight.LicenseTool -- rulepack --version 2026.10.14 --out rulepack-2026.10.14.json
|
||||
|
||||
# MSI til installationer lavet med MSI'en (bygges på Linux)
|
||||
installer/build-msi.sh 1.5.0
|
||||
installer/build-msi.sh 1.5.1
|
||||
|
||||
# Programpakker: én zip pr. platform med mapperne Agent/ og Web/
|
||||
# Samme opsætning som MSI'en (indbygget .NET), så en opdatering ikke kræver en runtime på serveren
|
||||
dotnet publish src/SQLInsight.Agent -c Release -r win-x64 --self-contained true -p:Version=1.5.0 -o pkg/win-x64/Agent
|
||||
dotnet publish src/SQLInsight.Web -c Release -r win-x64 --self-contained true -p:Version=1.5.0 -o pkg/win-x64/Web
|
||||
dotnet publish src/SQLInsight.Agent -c Release -r win-x64 --self-contained true -p:Version=1.5.1 -o pkg/win-x64/Agent
|
||||
dotnet publish src/SQLInsight.Web -c Release -r win-x64 --self-contained true -p:Version=1.5.1 -o pkg/win-x64/Web
|
||||
|
||||
# Signér kanalens manifest (det, der ikke angives, overtages fra det eksisterende manifest)
|
||||
dotnet run --project tools/SQLInsight.LicenseTool -- publish --key sqlinsight-k20260929.private.pem --kid k20260929 \
|
||||
--feed feed --channel stable --rulepack rulepack-2026.10.14.json \
|
||||
--release 1.5.0 --asset win-x64=sqlinsight-1.5.0-win-x64.zip --asset win-x64-msi=dist/SQLInsight-Pro-1.5.0-x64.msi \
|
||||
--asset linux-x64=sqlinsight-1.5.0-linux-x64.zip \
|
||||
--release 1.5.1 --asset win-x64=sqlinsight-1.5.1-win-x64.zip --asset win-x64-msi=dist/SQLInsight-Pro-1.5.1-x64.msi \
|
||||
--asset linux-x64=sqlinsight-1.5.1-linux-x64.zip \
|
||||
--notes https://git.seosoft.dk/seo/sqlinsight-pro/releases
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -182,7 +182,8 @@ public static class AxLogonClient
|
|||
{
|
||||
ArgumentNullException.ThrowIfNull(installation);
|
||||
var folder = installation.Is32Bit && System.Environment.Is64BitOperatingSystem ? "SysWOW64" : "System32";
|
||||
var powershell = Path.Combine(windowsDirectory, folder, @"WindowsPowerShell\v1.0\powershell.exe");
|
||||
// Always a Windows path, also when the code (or a test) runs elsewhere.
|
||||
var powershell = $@"{windowsDirectory.TrimEnd('\\', '/')}\{folder}\WindowsPowerShell\v1.0\powershell.exe";
|
||||
var arguments = new List<string>();
|
||||
if (installation.NeedsClr2)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -50,6 +50,12 @@ public sealed class GrantScriptTests
|
|||
[Fact]
|
||||
public async Task Exactly_one_ace_is_added_and_removing_it_restores_the_original()
|
||||
{
|
||||
if (!OperatingSystem.IsWindows())
|
||||
{
|
||||
// The script runs in Windows PowerShell; the CI build runs on Linux.
|
||||
return;
|
||||
}
|
||||
|
||||
var output = await RunAsync();
|
||||
|
||||
Assert.Equal("D:(A;;CC;;;AU)(A;;CCLCRPRC;;;IU)(A;;CCLCRPRC;;;SU)(A;;CCLCRPWPRC;;;SY)(A;;KA;;;BA)(A;;CC;;;AC)(A;;CCLCRPRC;;;NS)S:(AU;FA;KA;;;WD)(AU;OIIOFA;GA;;;WD)", output["scm-new"]);
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ public sealed class SyntheticCheckRunnerTests : IDisposable
|
|||
{
|
||||
var ok = await Runner().RunAsync(Run(SyntheticCheckKind.Dns, new() { Host = "localhost" }), CancellationToken.None);
|
||||
var wrong = await Runner().RunAsync(Run(SyntheticCheckKind.Dns, new() { Host = "localhost", ExpectedAddresses = ["10.1.2.3"] }), CancellationToken.None);
|
||||
var unknown = await Runner().RunAsync(Run(SyntheticCheckKind.Dns, new() { Host = "findes-ikke.invalid" }), CancellationToken.None);
|
||||
var unknown = await Runner().RunAsync(Run(SyntheticCheckKind.Dns, new() { Host = "findes-ikke.invalid." }), CancellationToken.None);
|
||||
|
||||
Assert.True(ok.Success, ok.Message);
|
||||
Assert.False(wrong.Success);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue