diff options
author | John McCrae <john.mccrae@progress.com> | 2022-06-13 14:33:44 -0700 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2022-06-13 14:33:44 -0700 |
commit | 10bc628529c316bc0ab1b213373b538764259f20 (patch) | |
tree | ffaa60712937885a16738bf6b1a2f2c16edf03fa | |
parent | 41c5a08e06374018d647d9f5c4070170b66d11cd (diff) | |
download | chef-jfm/inspec_version_update.tar.gz |
Backing out a couple of changesjfm/inspec_version_update
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r-- | .expeditor/scripts/bk_win_unit.ps1 | 2 | ||||
-rw-r--r-- | habitat/plan.ps1 | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.expeditor/scripts/bk_win_unit.ps1 b/.expeditor/scripts/bk_win_unit.ps1 index 65c8b292e6..f1f28ade05 100644 --- a/.expeditor/scripts/bk_win_unit.ps1 +++ b/.expeditor/scripts/bk_win_unit.ps1 @@ -3,7 +3,7 @@ $PrepScript = Join-Path $CurrentDirectory "bk_win_prep.ps1" Invoke-Expression $PrepScript echo "+++ bundle exec rake" -bundle exec rake spec:unit --verbose +bundle exec rake spec:unit if (-not $?) { throw "Chef unit tests failing." } bundle exec rake component_specs if (-not $?) { throw "Chef component specs failing." } diff --git a/habitat/plan.ps1 b/habitat/plan.ps1 index c1b1d5f305..0354e23b97 100644 --- a/habitat/plan.ps1 +++ b/habitat/plan.ps1 @@ -97,10 +97,10 @@ function Invoke-Build { } } Write-BuildLine " ** Running the chef project's 'rake install' to install the path-based gems so they look like any other installed gem." - bundle exec rake install:local # this needs to be 'bundle exec'd because a Rakefile makes reference to Bundler + bundle exec rake install:local --verbose # this needs to be 'bundle exec'd because a Rakefile makes reference to Bundler if (-not $?) { Write-Warning " -- That didn't work. Let's try again." - bundle exec rake install:local # this needs to be 'bundle exec'd because a Rakefile makes reference to Bundler + bundle exec rake install:local --verbose# this needs to be 'bundle exec'd because a Rakefile makes reference to Bundler if (-not $?) { throw "unable to install the gems that live in directories within this repo" } } } finally { |