diff options
author | John McCrae <john.mccrae@progress.com> | 2022-06-25 14:47:52 -0700 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2022-06-25 14:47:52 -0700 |
commit | a252cef50a607624049759303b84223f6b8957bd (patch) | |
tree | 551fc92fae46f1c67eff9b2910347248358a3cad | |
parent | 858bf3eb056587c89a9bc0dadfe0625ae5ff305e (diff) | |
download | chef-a252cef50a607624049759303b84223f6b8957bd.tar.gz |
Adding tracing to tease out more details on the failure
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r-- | .expeditor/scripts/verify-plan.ps1 | 4 | ||||
-rw-r--r-- | habitat/plan.ps1 | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/.expeditor/scripts/verify-plan.ps1 b/.expeditor/scripts/verify-plan.ps1 index 143e5cbca5..ded900356c 100644 --- a/.expeditor/scripts/verify-plan.ps1 +++ b/.expeditor/scripts/verify-plan.ps1 @@ -12,9 +12,11 @@ $Plan = 'chef-infra-client' Write-Host "--- :8ball: :windows: Verifying $Plan" -Write-Hist "--- Adding Debugging Support for Hab" +# jfm +Write-Host "--- Adding Debugging Support for Hab" [Environment]::SetEnvironmentVariable("RUST_LOG", "debug") [Environment]::SetEnvironmentVariable("RUST_BACKTRACE", 1) +# end jfm powershell -File "./.expeditor/scripts/ensure-minimum-viable-hab.ps1" if (-not $?) { throw "Could not ensure the minimum hab version required is installed." } diff --git a/habitat/plan.ps1 b/habitat/plan.ps1 index 222869f401..de73da02c5 100644 --- a/habitat/plan.ps1 +++ b/habitat/plan.ps1 @@ -81,6 +81,7 @@ function Invoke-Build { # jfm $gem_array = @() + Write-BuildLine " -- Location: $PWD" # end jfm Write-BuildLine " ** Using bundler to retrieve the Ruby dependencies" @@ -96,7 +97,6 @@ function Invoke-Build { rake install # this needs to NOT be 'bundle exec'd else bundler complains about dev deps not being installed # jfm line below added for debugging - Write-BuildLine " -- Location: $PWD" Write-BuildLine " -- Gems: $gem_array" @@ -136,6 +136,11 @@ function Invoke-Install { foreach($gem in ("chef-bin", "chef", "inspec-core-bin", "ohai")) { Write-BuildLine "** generating binstubs for $gem with precise version pins" + # jfm + Write-Buildline "** But first, where the hell is chef-bin?" + $locations = Get-Childitem -path c:\ -filter { *chef-bin* } -Recurse + Write-Host "Here's my locations : $locations" + #nd jfm appbundler.bat "${HAB_CACHE_SRC_PATH}/${pkg_dirname}" $pkg_prefix/bin $gem if (-not $?) { throw "Failed to create appbundled binstubs for $gem"} } |