From 6a6b4c17e692e8ccc736e044df511ab53f3a1f3e Mon Sep 17 00:00:00 2001 From: Ashique Saidalavi Date: Tue, 26 Nov 2024 15:41:02 +0530 Subject: [PATCH] Added logs for testing Signed-off-by: Ashique Saidalavi --- .expeditor/buildkite/artifact.habitat.test.ps1 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.expeditor/buildkite/artifact.habitat.test.ps1 b/.expeditor/buildkite/artifact.habitat.test.ps1 index 811764eb5..c4ee1869a 100755 --- a/.expeditor/buildkite/artifact.habitat.test.ps1 +++ b/.expeditor/buildkite/artifact.habitat.test.ps1 @@ -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' @@ -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 @@ -90,4 +92,4 @@ try { finally { # Ensure we always return to the original directory Pop-Location -} \ No newline at end of file +}