summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan McLellan <btm@loftninjas.org>2020-05-15 10:22:03 -0400
committerBryan McLellan <btm@loftninjas.org>2020-05-15 19:42:09 -0400
commit7a4c8043ad56f37b5cf3655de0652c2db7a78154 (patch)
tree97436634563eafd24e53603651898f7725d3d908
parent7203845ab034771a16532094e3965ab01f9fe817 (diff)
downloadchef-7a4c8043ad56f37b5cf3655de0652c2db7a78154.tar.gz
WIP: appbundle-updaterbtm/win-e2e-update
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
-rw-r--r--kitchen-tests/kitchen.azure.yml22
1 files changed, 20 insertions, 2 deletions
diff --git a/kitchen-tests/kitchen.azure.yml b/kitchen-tests/kitchen.azure.yml
index c44c76579b..74b0b0962a 100644
--- a/kitchen-tests/kitchen.azure.yml
+++ b/kitchen-tests/kitchen.azure.yml
@@ -9,13 +9,31 @@ driver_config:
provisioner:
name: chef_zero
+ produce_name: chef
+ install_strategy: skip
deprecations_as_errors: true
chef_license: accept-no-persist
- product_name: chef
client_rb:
diff_disabled: true
always_dump_stacktrace: true
+lifecycle:
+ pre_converge:
+ - remote: echo "Downloading Git"
+ - remote: Invoke-WebRequest -UseBasicParsing -uri https://github.com/git-for-windows/git/releases/download/v2.26.2.windows.1/PortableGit-2.26.2-64-bit.7z.exe -OutFile \opscode\chef\bin\git.exe
+ - remote: git.exe --version
+ - remote: echo "Chef container's Chef / Ohai release:"
+ - remote: \opscode\chef\bin\chef-client.bat -v
+ - remote: \opscode\chef\bin\ohai.bat -v
+ - remote: \opscode\chef\embedded\bin\rake.bat --version
+ - remote: \opscode\chef\embedded\bin\bundle.bat -v
+ - remote: \opscode\chef\embedded\bin\gem.bat install appbundler appbundle-updater --no-doc
+ - remote: \opscode\chef\embedded\bin\appbundle-updater.bat chef ohai <%= File.readlines('../Gemfile.lock', File.expand_path(File.dirname(__FILE__))).find { |l| l =~ /^\s+ohai \((\d+\.\d+\.\d+)\)/ }; 'v' + $1 %> --tarball --github chef/ohai
+ - remote: \opscode\chef\embedded\bin\appbundle-updater.bat chef chef <%= ENV['BUILDKITE_COMMIT'] || %x(git rev-parse HEAD).chomp %> --tarball --github chef/chef
+ - remote: echo "Installed Chef \ Ohai release:"
+ - remote: \opscode\chef\bin\chef-client.bat -v
+ - remote: \opscode\chef\bin\ohai.bat -v
+
transport:
name: winrm
@@ -26,7 +44,7 @@ verifier:
platforms:
- name: windows-10
driver:
- image_id: /subscriptions/80b824de-ec53-4116-9868-3deeab10b0cd/resourceGroups/EDM_Master_Storage_Resource_Group/providers/Microsoft.Compute/images/testkitchen-win-10
+ image_id: /subscriptions/80b824de-ec53-4116-9868-3deeab10b0cd/resourceGroups/EDM_Master_Storage_Resource_Group/providers/Microsoft.Compute/images/chef16-win-10
use_managed_disk: true
winrm_powershell_script: |-
Set-WSManQuickConfig -Force -SkipNetworkProfileCheck