diff options
author | Tim Smith <tsmith84@gmail.com> | 2021-01-11 16:45:43 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2021-01-12 13:06:58 -0800 |
commit | 8816c94dfdf79b87579ee5571fe10aa6a555aaf3 (patch) | |
tree | 6837e1fd22a9c91a9fb346086a560f8757ac70c2 | |
parent | 6dde0d5c6147e4d982b746cd9d4c6d2886bdc8de (diff) | |
download | chef-simplify_kitchen.tar.gz |
Cleanup Azure pipelines configurationsimplify_kitchen
We don't use the kitchen-azurerm driver
We don't need to exclude chef groups from installation
Berks is already in the kitchen gemfile
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | azure-pipelines.yml | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c87781b1e1..bdd01b1682 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -6,8 +6,7 @@ variables: trigger: - master -# TODO: 20190528 - should we be testing end_to_end on chef-15? -#- chef-15 +- chef-16 pool: vmImage: $(imageName) @@ -40,10 +39,8 @@ jobs: - script: | cd kitchen-tests - sudo /opt/chef/embedded/bin/bundle config set without 'omnibus_package ruby_prof' sudo /opt/chef/embedded/bin/bundle install --jobs=3 --retry=3 --path=vendor/bundle - sudo /opt/chef/embedded/bin/gem install berkshelf --no-doc - sudo /opt/chef/embedded/bin/berks vendor cookbooks + sudo /opt/chef/embedded/bin/bundle bundle berks vendor cookbooks sudo /opt/chef/bin/chef-client -z -o end_to_end --chef-license accept-no-persist displayName: 'Run end_to_end::default recipe' @@ -77,14 +74,12 @@ jobs: - powershell: | cd kitchen-tests $env:PATH = "C:\opscode\chef\bin;C:\opscode\chef\embedded\bin;" + $env:PATH - bundle config set without 'omnibus_package ruby_prof' bundle install --jobs=3 --retry=3 --path=vendor/bundle - gem install berkshelf --no-doc # berks emits a ruby warning when it loads net/http due to a previously # defined constant. Even though it is just a warning, powershell immediately # exits 1. I'm not sure why but this just suppresses the warnings. $env:RUBYOPT="-W0" - berks vendor cookbooks + bundle exec berks vendor cookbooks # restore the default warning level $env:RUBYOPT="-W1" chef-client -z -o end_to_end --chef-license accept-no-persist |