kitchen-vra 3.1.0 → 3.2.0

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
  SHA256:
3
- metadata.gz: 42841b378dc1efcd266d40f01990f7dedc82e8e3d49e742d3268e0cca5c21049
4
- data.tar.gz: fdd7dfe3c395a460cb92414617a990006508007230aa25c4995af63edadc6a0e
3
+ metadata.gz: 888a24fa5679bdd596e4b2840a2b0cad9882b19a6cb3947ec7bb823cb2fabcc0
4
+ data.tar.gz: 19313b7b098cb46e8e02e9bfd2c7d2774e6f0cb26f34f8d0545017f9db74a7b2
5
5
  SHA512:
6
- metadata.gz: c8742b99fef04d72bd9cd87357ff1d6e30971e5afa70ed3ecadec371a705e7505aafbb38cc655a75e6fab47b2089c61a2323fa1bf084e468913aa852d23c4601
7
- data.tar.gz: 76d046c6da25ef7c78379bf0c64bb49c3c438cf7f62a05b3a5da49a1c2057b7a5a4d7fbae6b00aac1db2adaa6bf8cd2d1ac84d28f67bc27ab04dea1b139ec6b7
6
+ metadata.gz: 3e68a0df7a0c076bb70bf1ae8819c8bb5f4abde1288e3ca65adc6afad64f81382c9d7b3ee26d9d3c55fa91bb2762ca45d8e7bc704a644cf1c72ff1bcc47a872d
7
+ data.tar.gz: 30dea25ff5f894d569dee750a91d97f0efdad05bc08aa5d5b7823f70d2c1ae8f0b40bff95b48b18d2b131eaa046203ee37aac9f4e4aae345795d80b93b9e0aa3
@@ -0,0 +1 @@
1
+ @test-kitchen/maintainers
@@ -1,7 +1,8 @@
1
+ ---
1
2
  version: 2
2
3
  updates:
3
- - package-ecosystem: bundler
4
- directory: "/"
5
- schedule:
6
- interval: daily
7
- open-pull-requests-limit: 10
4
+ - package-ecosystem: bundler
5
+ directory: "/"
6
+ schedule:
7
+ interval: daily
8
+ open-pull-requests-limit: 10
@@ -0,0 +1,9 @@
1
+ ---
2
+ name: 'Test'
3
+
4
+ 'on':
5
+ pull_request:
6
+
7
+ jobs:
8
+ lint-unit:
9
+ uses: test-kitchen/.github/.github/workflows/lint-unit.yml@main
@@ -0,0 +1,16 @@
1
+ ---
2
+ 'on':
3
+ push:
4
+ branches:
5
+ - main
6
+
7
+ name: release-please
8
+ jobs:
9
+ release-please:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: google-github-actions/release-please-action@v3
13
+ with:
14
+ release-type: ruby
15
+ package-name: kitchen-vra
16
+ version-file: lib/kitchen/driver/vra_version.rb
@@ -0,0 +1,17 @@
1
+ ---
2
+ name: Publish
3
+
4
+ 'on':
5
+ release:
6
+ types: [published]
7
+
8
+ jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - name: Build and publish gem
14
+ uses: jstastny/publish-gem-to-github@master
15
+ with:
16
+ token: ${{ secrets.GITHUB_TOKEN }}
17
+ owner: ${{ secrets.OWNER }}
@@ -0,0 +1,5 @@
1
+ ---
2
+ MD012: false
3
+ MD013: false
4
+ MD024: false
5
+ MD036: false
data/.mdlrc ADDED
@@ -0,0 +1 @@
1
+ rules "~MD036", "~MD013", "~MD024", "~MD029"
data/.rubocop.yml CHANGED
@@ -1,2 +1,3 @@
1
+ ---
1
2
  AllCops:
2
- TargetRubyVersion: 2.7
3
+ TargetRubyVersion: 2.7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Change Log
2
2
 
3
+ ## [v3.2.0](https://github.com/chef-partners/kitchen-vra/tree/v3.2.0)
4
+
5
+ [Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v3.1.0...v3.2.0)
6
+
7
+ - Support for Ruby 3.1
8
+ - Github workflow improvements
9
+
3
10
  ## [v3.1.0](https://github.com/chef-partners/kitchen-vra/tree/v3.1.0)
4
11
 
5
12
  [Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v3.0.1...v3.1.0)
@@ -31,7 +38,7 @@
31
38
 
32
39
  [Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.6.0...v2.7.0)
33
40
 
34
- - Accept shirt size option available in blueprint as input in kitchen.yml
41
+ - Accept shirt size option available in blueprint as input in kitchen.yml
35
42
 
36
43
  ## [v2.5.0](https://github.com/chef-partners/kitchen-vra/tree/v2.5.0)
37
44
 
@@ -46,6 +53,7 @@
46
53
  - Accept subtenant name as input in kitchen.yml [\#28](https://github.com/chef-partners/kitchen-vra/pull/28) ([vinuphilip](https://github.com/vinuphilip))
47
54
 
48
55
  ## [v2.4.0](https://github.com/chef-partners/kitchen-vra/tree/v2.4.0) (2018-01-22)
56
+
49
57
  [Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.3.0...v2.4.0)
50
58
 
51
59
  **Merged pull requests:**
@@ -53,6 +61,7 @@
53
61
  - Kitchen vRA enahancements [\#26](https://github.com/chef-partners/kitchen-vra/pull/26) ([rupeshpatel88](https://github.com/rupeshpatel88))
54
62
 
55
63
  ## [v2.3.0](https://github.com/chef-partners/kitchen-vra/tree/v2.3.0) (2017-07-14)
64
+
56
65
  [Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.2.0...v2.3.0)
57
66
 
58
67
  **Merged pull requests:**
@@ -61,6 +70,7 @@
61
70
  - Updates for travis and rubocop [\#23](https://github.com/chef-partners/kitchen-vra/pull/23) ([jjasghar](https://github.com/jjasghar))
62
71
 
63
72
  ## [v2.2.0](https://github.com/chef-partners/kitchen-vra/tree/v2.2.0) (2017-02-15)
73
+
64
74
  [Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.1.0...v2.2.0)
65
75
 
66
76
  **Merged pull requests:**
@@ -68,6 +78,7 @@
68
78
  - Vra cache creds [\#16](https://github.com/chef-partners/kitchen-vra/pull/16) ([michaelschlies](https://github.com/michaelschlies))
69
79
 
70
80
  ## [v2.1.0](https://github.com/chef-partners/kitchen-vra/tree/v2.1.0) (2017-02-13)
81
+
71
82
  [Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.0.0...v2.1.0)
72
83
 
73
84
  **Closed issues:**
@@ -81,6 +92,7 @@
81
92
  - Add support for a DNS suffix appended to server.name [\#19](https://github.com/chef-partners/kitchen-vra/pull/19) ([jeremymv2](https://github.com/jeremymv2))
82
93
 
83
94
  ## [v2.0.0](https://github.com/chef-partners/kitchen-vra/tree/v2.0.0) (2016-12-15)
95
+
84
96
  [Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v1.3.0...v2.0.0)
85
97
 
86
98
  **Closed issues:**
@@ -93,6 +105,7 @@
93
105
  - fix travis notifications [\#11](https://github.com/chef-partners/kitchen-vra/pull/11) ([adamleff](https://github.com/adamleff))
94
106
 
95
107
  ## [v1.3.0](https://github.com/chef-partners/kitchen-vra/tree/v1.3.0) (2016-01-25)
108
+
96
109
  [Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v1.2.0...v1.3.0)
97
110
 
98
111
  **Closed issues:**
@@ -105,6 +118,7 @@
105
118
  - Capping the retry delay when waiting for a server to 30 seconds [\#10](https://github.com/chef-partners/kitchen-vra/pull/10) ([adamleff](https://github.com/adamleff))
106
119
 
107
120
  ## [v1.2.0](https://github.com/chef-partners/kitchen-vra/tree/v1.2.0) (2015-11-26)
121
+
108
122
  [Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v1.1.0...v1.2.0)
109
123
 
110
124
  **Closed issues:**
@@ -117,6 +131,7 @@
117
131
  - Update README.md [\#4](https://github.com/chef-partners/kitchen-vra/pull/4) ([trisharia](https://github.com/trisharia))
118
132
 
119
133
  ## [v1.1.0](https://github.com/chef-partners/kitchen-vra/tree/v1.1.0) (2015-10-13)
134
+
120
135
  [Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v1.0.0...v1.1.0)
121
136
 
122
137
  **Closed issues:**
@@ -128,6 +143,7 @@
128
143
  - optional use\_dns [\#3](https://github.com/chef-partners/kitchen-vra/pull/3) ([stevehedrick](https://github.com/stevehedrick))
129
144
 
130
145
  ## [v1.0.0](https://github.com/chef-partners/kitchen-vra/tree/v1.0.0) (2015-08-12)
146
+
131
147
  **Merged pull requests:**
132
148
 
133
149
  - Initial release, working in VMware HOL lab, tests passing [\#1](https://github.com/chef-partners/kitchen-vra/pull/1) ([adamleff](https://github.com/adamleff))
data/README.md CHANGED
@@ -12,15 +12,21 @@ gem 'kitchen-vra'
12
12
 
13
13
  And then execute:
14
14
 
15
- $ bundle
15
+ ```shell
16
+ bundle
17
+ ```
16
18
 
17
19
  Or install it yourself as:
18
20
 
19
- $ gem install kitchen-vra
21
+ ```shell
22
+ gem install kitchen-vra
23
+ ```
20
24
 
21
25
  Or even better, install it via ChefDK:
22
26
 
23
- $ chef gem install kitchen-vra
27
+ ```shell
28
+ chef gem install kitchen-vra
29
+ ```
24
30
 
25
31
  ## Configuration
26
32
 
@@ -37,7 +43,7 @@ License:: Apache License, Version 2.0
37
43
  Licensed under the Apache License, Version 2.0 (the "License"); you may not use
38
44
  this file except in compliance with the License. You may obtain a copy of the License at
39
45
 
40
- ```
46
+ ```text
41
47
  http://www.apache.org/licenses/LICENSE-2.0
42
48
  ```
43
49
 
@@ -50,7 +56,7 @@ and limitations under the License.
50
56
 
51
57
  We'd love to hear from you if this doesn't work in your vRA environment. Please log a GitHub issue, or even better, submit a Pull Request with a fix!
52
58
 
53
- 1. Fork it ( https://github.com/chef-partners/kitchen-vra/fork )
59
+ 1. Fork it ( <https://github.com/chef-partners/kitchen-vra/fork> )
54
60
  2. Create your feature branch (`git checkout -b my-new-feature`)
55
61
  3. Commit your changes (`git commit -am 'Add some feature'`)
56
62
  4. Push to the branch (`git push origin my-new-feature`)
data/Rakefile CHANGED
@@ -1,11 +1,15 @@
1
- # frozen_string_literal: true
2
-
3
1
  require "bundler/gem_tasks"
4
2
  require "rspec/core/rake_task"
5
- require "chefstyle"
6
- require "rubocop/rake_task"
3
+ RSpec::Core::RakeTask.new(:test)
7
4
 
8
- RSpec::Core::RakeTask.new(:spec)
9
- RuboCop::RakeTask.new(:style)
5
+ begin
6
+ require "chefstyle"
7
+ require "rubocop/rake_task"
8
+ RuboCop::RakeTask.new(:style) do |task|
9
+ task.options += ["--display-cop-names", "--no-color"]
10
+ end
11
+ rescue LoadError
12
+ puts "chefstyle is not available. (sudo) gem install chefstyle to do style checking."
13
+ end
10
14
 
11
- task default: %i{spec style}
15
+ task default: %i{test style}
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Kitchen
22
22
  module Driver
23
- VRA_VERSION = "3.1.0"
23
+ VRA_VERSION = "3.2.0"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-vra
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chef Commmunity Tools Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-04 00:00:00.000000000 Z
11
+ date: 2022-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen
@@ -169,11 +169,14 @@ executables: []
169
169
  extensions: []
170
170
  extra_rdoc_files: []
171
171
  files:
172
- - ".github/ISSUE_TEMPLATE.md"
173
- - ".github/PULL_REQUEST_TEMPLATE.md"
172
+ - ".github/CODEOWNERS"
174
173
  - ".github/dependabot.yml"
175
- - ".github/workflows/ci.yml"
174
+ - ".github/workflows/linters.yml"
175
+ - ".github/workflows/please-release.yml"
176
+ - ".github/workflows/publish.yml"
176
177
  - ".gitignore"
178
+ - ".markdownlint.yaml"
179
+ - ".mdlrc"
177
180
  - ".rubocop.yml"
178
181
  - CHANGELOG.md
179
182
  - Gemfile
@@ -204,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
204
207
  - !ruby/object:Gem::Version
205
208
  version: '0'
206
209
  requirements: []
207
- rubygems_version: 3.2.32
210
+ rubygems_version: 3.2.3
208
211
  signing_key:
209
212
  specification_version: 4
210
213
  summary: A Test Kitchen driver for VMware vRealize Automation (vRA)
@@ -1,23 +0,0 @@
1
- ### Versions:
2
- <!--- Version of the software where you are encountering the issue --->
3
- <!-- You should probably update in this is not newest release.--->
4
- * Version of kitchen-vra:
5
- * Version of test-kitchen:
6
- * Version of chef:
7
-
8
- ### Platform Details
9
- <!--- What version of vRA are you running? What version of ESXi are you using too?--->
10
- * Version of vRA:
11
- * Version of ESXi:
12
-
13
- ### Scenario:
14
- <!--- What you are trying to achieve and you can't?--->
15
-
16
- ### Steps to Reproduce:
17
- <!--- If you are filing an issue what are the things we need to do in order to repro your problem? How are you using this gem or any resources it includes?--->
18
-
19
- ### Expected Result:
20
- <!--- What are you expecting to happen as the consequence of above reproduction steps?--->
21
-
22
- ### Actual Result:
23
- <!--- What actually happens after the reproduction steps? Include the error output or a link to a gist if possible.--->
@@ -1,14 +0,0 @@
1
- ### Description
2
-
3
- <!--- Describe what this change achieves--->
4
-
5
- ### Issues Resolved
6
-
7
- <!--- List any existing issues this PR resolves--->
8
-
9
- ### Check List
10
-
11
- - [ ] All tests pass.
12
- - [ ] All style checks pass.
13
- - [ ] Functionality includes testing.
14
- - [ ] Functionality has been documented in the README if applicable
@@ -1,22 +0,0 @@
1
- name: CI
2
-
3
- on:
4
- pull_request:
5
- push:
6
- branches:
7
- - master
8
-
9
- jobs:
10
- test:
11
- runs-on: ubuntu-latest
12
- strategy:
13
- matrix:
14
- ruby: [ '2.7', '3.0']
15
- name: Lint & Test with Ruby ${{ matrix.ruby }}
16
- steps:
17
- - uses: actions/checkout@v2
18
- - uses: ruby/setup-ruby@v1
19
- with:
20
- ruby-version: ${{ matrix.ruby }}
21
- bundler-cache: true
22
- - run: bundle exec rake