Skip to content

Commit

Permalink
(chocolatey#105) Removes Hardened Options from Test
Browse files Browse the repository at this point in the history
It is necessary to update the build in order for the removes-hardening branch to succeed. I suppose this is excellent verification that this is, in fact, a breaking change of sorts!
  • Loading branch information
JPRuskin committed Oct 18, 2024
1 parent 43697d6 commit dc710ef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,9 @@ jobs:
Write-Host "Setting up '${{ matrix.variant }}' Certificate"
$Certificate = switch ('${{ matrix.variant }}') {
'self-signed' {
Write-Host "Creating a Self-Signed Certificate for '$($Vm.Name)'"
Write-Host "Using a Self-Signed Certificate for '$($Vm.Name)'"
$CertDetails = @{FQDN = $Vm.Name}
@{Hostname = $CertDetails.FQDN}
@{}
}
'single' {
$CertDetails = Invoke-Command -Session $Session -ScriptBlock {
Expand All @@ -268,7 +268,7 @@ jobs:
}
}
Write-Host "Using Certificate with Thumbprint '$($Thumbprint)'"
@{Thumbprint = $CertDetails.Thumbprint; Hardened = $true}
@{Thumbprint = $CertDetails.Thumbprint}
}
'wildcard' {
$CertDetails = Invoke-Command -Session $Session -ScriptBlock {
Expand All @@ -290,7 +290,7 @@ jobs:
}
}
Write-Host "Using Wildcard with Thumbprint '$($Thumbprint)'"
@{Thumbprint = $CertDetails.Thumbprint; CertificateDnsName = $CertDetails.FQDN; Hardened = $true}
@{Thumbprint = $CertDetails.Thumbprint; CertificateDnsName = $CertDetails.FQDN}
}
}
Expand Down

0 comments on commit dc710ef

Please sign in to comment.