Skip to content

Commit

Permalink
Added logs for testing
Browse files Browse the repository at this point in the history
Signed-off-by: Ashique Saidalavi <[email protected]>
  • Loading branch information
ashiqueps committed Nov 26, 2024
1 parent 58c211c commit 6a6b4c1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .expeditor/buildkite/artifact.habitat.test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ $env:HAB_BLDR_CHANNEL = "LTS-2024"
$env:HAB_ORIGIN = 'ci'
$env:CHEF_LICENSE = 'accept-no-persist'
$env:HAB_LICENSE = 'accept-no-persist'
$Plan = 'test-kitchen'
$Plan = 'chef-test-kitchen-enterprise'

Write-Host "--- system details"
$Properties = 'Caption', 'CSName', 'Version', 'BuildType', 'OSArchitecture'
Expand All @@ -32,9 +32,11 @@ function Install-Habitat {
}

try {
hab --version
$v = hab --version
Write-Host "Habitat version:$v is already installed."
}
catch {
Write-Host "Habitat is not installed, installing..."
Set-ExecutionPolicy Bypass -Scope Process -Force

Stop-HabProcess
Expand Down Expand Up @@ -90,4 +92,4 @@ try {
finally {
# Ensure we always return to the original directory
Pop-Location
}
}

0 comments on commit 6a6b4c1

Please sign in to comment.