kitchen-azurerm 0.12.0 → 0.12.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2bdc1fdf5f92aa6e66d2e70dea9b8ec191f82f33
4
- data.tar.gz: 8459a815ab0a4bf77e806841c09821ac35e52eaa
3
+ metadata.gz: de41101d08201bdad929f1db251b5f48806411b3
4
+ data.tar.gz: 62a1a223c0cfce0d8f5c705405c07eedac695061
5
5
  SHA512:
6
- metadata.gz: 0fce37482ad1c3a879257c58b0e1f14501f4365913d793cddc01c74a1858d0c259d302caa4c5a41b641573124c8ea0a2b9b350bc8820f992e6cc5f38a33a95b1
7
- data.tar.gz: 0a0617b0908c820a7d961788a87df5b1f5bf96fdd6d9c49b0b62bc0edb97fc5b18e4ac4612fbe4916181dc1fac09fe74e67d56b8eecd7aa64336edb54d9a98b2
6
+ metadata.gz: 91e1d3985fa7380222cc5c0382fb1e9dacb5a24b5d28b0cd800f94cdee932be5318df80fb4e5b775451a84ff0d5684e0643cbb9507587c7587127d12466075cd
7
+ data.tar.gz: d0eb71789cc65842fdb0d1babd01c22c3e1a01c27a3930b50693ed5da598d899eaace79ff7a2a27639fb7685ae891452e85a514d0558731c7aaed3e032334cf4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # kitchen-azurerm Changelog
2
2
 
3
+ ## [0.12.1] - 2017-09-10
4
+ - Fix for undefined local variable when using pre_deployment_template [#65](https://github.com/test-kitchen/kitchen-azurerm/issue/65)
5
+
3
6
  ## [0.12.0] - 2017-09-01
4
7
  - Additional managed disks can be specified in configuration and left unformatted or formatted on Windows(@stuartpreston)
5
8
  - Added `azure_resource_group_prefix` and `azure_resource_group_suffix` parameter (@stuartpreston)
@@ -208,12 +208,6 @@ module Kitchen
208
208
  info "Creating deployment: #{deployment_name}"
209
209
  resource_management_client.deployments.begin_create_or_update_async(state[:azure_resource_group_name], deployment_name, deployment(deployment_parameters)).value!
210
210
  follow_deployment_until_end_state(state[:azure_resource_group_name], deployment_name)
211
- if File.file?(config[:pre_deployment_template])
212
- pre_deployment_name = "pre-deploy-#{state[:uuid]}"
213
- info "Creating deployment: #{pre_deployment_name}"
214
- resource_management_client.deployments.begin_create_or_update_async(state[:azure_resource_group_name], pre_deployment_name, pre_deployment(config[:pre_deployment_template], config[:pre_deployment_parameters])).value!
215
- follow_deployment_until_end_state(state[:azure_resource_group_name], post_deployment_name)
216
- end
217
211
  rescue ::MsRestAzure::AzureOperationError => operation_error
218
212
  rest_error = operation_error.body['error']
219
213
  deployment_active = rest_error['code'] == 'DeploymentActive'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-azurerm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stuart Preston
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-01 00:00:00.000000000 Z
11
+ date: 2017-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inifile
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
180
  version: '0'
181
181
  requirements: []
182
182
  rubyforge_project:
183
- rubygems_version: 2.6.11
183
+ rubygems_version: 2.6.13
184
184
  signing_key:
185
185
  specification_version: 4
186
186
  summary: Test Kitchen driver for Azure Resource Manager.