kitchen-vra 3.1.0 → 3.2.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
  SHA256:
3
- metadata.gz: 42841b378dc1efcd266d40f01990f7dedc82e8e3d49e742d3268e0cca5c21049
4
- data.tar.gz: fdd7dfe3c395a460cb92414617a990006508007230aa25c4995af63edadc6a0e
3
+ metadata.gz: 763ef43f1f069167f4745436838b49e370deecc12055da82519b7d5249b08317
4
+ data.tar.gz: 594985e266bd2389c42efeedb09868f37499e8ee5933980e92989ab7c1e3e845
5
5
  SHA512:
6
- metadata.gz: c8742b99fef04d72bd9cd87357ff1d6e30971e5afa70ed3ecadec371a705e7505aafbb38cc655a75e6fab47b2089c61a2323fa1bf084e468913aa852d23c4601
7
- data.tar.gz: 76d046c6da25ef7c78379bf0c64bb49c3c438cf7f62a05b3a5da49a1c2057b7a5a4d7fbae6b00aac1db2adaa6bf8cd2d1ac84d28f67bc27ab04dea1b139ec6b7
6
+ metadata.gz: 0da0c199033bb8a8e17cca31ae04a6e11a05a49afd9737bb6b70255ed30a4ad1496ef9142cc6ebe447dfed39e8d2c2b7908269aec96e61a19f956ff7d027688f
7
+ data.tar.gz: 8c9afb831b2e0e97594a69154f325feea7b968dfd9cafcdd619482015db2bcd2179bbba7e9060873fe7a35723878da3ca810bff4402e2c65df94b8eb34dc3dfd
@@ -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,18 @@
1
1
  # Change Log
2
2
 
3
+ ## [v3.2.1](https://github.com/chef-partners/kitchen-vra/tree/v3.2.1)
4
+
5
+ [Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v3.2.0...v3.2.1)
6
+
7
+ - Updated username example when prompt ask for username [\#57](https://github.com/chef-partners/kitchen-vra/pull/57) ([sanjain-progress](https://github.com/sanjain-progress))
8
+
9
+ ## [v3.2.0](https://github.com/chef-partners/kitchen-vra/tree/v3.2.0)
10
+
11
+ [Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v3.1.0...v3.2.0)
12
+
13
+ - Support for Ruby 3.1
14
+ - Github workflow improvements
15
+
3
16
  ## [v3.1.0](https://github.com/chef-partners/kitchen-vra/tree/v3.1.0)
4
17
 
5
18
  [Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v3.0.1...v3.1.0)
@@ -31,7 +44,7 @@
31
44
 
32
45
  [Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.6.0...v2.7.0)
33
46
 
34
- - Accept shirt size option available in blueprint as input in kitchen.yml
47
+ - Accept shirt size option available in blueprint as input in kitchen.yml
35
48
 
36
49
  ## [v2.5.0](https://github.com/chef-partners/kitchen-vra/tree/v2.5.0)
37
50
 
@@ -46,6 +59,7 @@
46
59
  - Accept subtenant name as input in kitchen.yml [\#28](https://github.com/chef-partners/kitchen-vra/pull/28) ([vinuphilip](https://github.com/vinuphilip))
47
60
 
48
61
  ## [v2.4.0](https://github.com/chef-partners/kitchen-vra/tree/v2.4.0) (2018-01-22)
62
+
49
63
  [Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.3.0...v2.4.0)
50
64
 
51
65
  **Merged pull requests:**
@@ -53,6 +67,7 @@
53
67
  - Kitchen vRA enahancements [\#26](https://github.com/chef-partners/kitchen-vra/pull/26) ([rupeshpatel88](https://github.com/rupeshpatel88))
54
68
 
55
69
  ## [v2.3.0](https://github.com/chef-partners/kitchen-vra/tree/v2.3.0) (2017-07-14)
70
+
56
71
  [Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.2.0...v2.3.0)
57
72
 
58
73
  **Merged pull requests:**
@@ -61,6 +76,7 @@
61
76
  - Updates for travis and rubocop [\#23](https://github.com/chef-partners/kitchen-vra/pull/23) ([jjasghar](https://github.com/jjasghar))
62
77
 
63
78
  ## [v2.2.0](https://github.com/chef-partners/kitchen-vra/tree/v2.2.0) (2017-02-15)
79
+
64
80
  [Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.1.0...v2.2.0)
65
81
 
66
82
  **Merged pull requests:**
@@ -68,6 +84,7 @@
68
84
  - Vra cache creds [\#16](https://github.com/chef-partners/kitchen-vra/pull/16) ([michaelschlies](https://github.com/michaelschlies))
69
85
 
70
86
  ## [v2.1.0](https://github.com/chef-partners/kitchen-vra/tree/v2.1.0) (2017-02-13)
87
+
71
88
  [Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.0.0...v2.1.0)
72
89
 
73
90
  **Closed issues:**
@@ -81,6 +98,7 @@
81
98
  - 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
99
 
83
100
  ## [v2.0.0](https://github.com/chef-partners/kitchen-vra/tree/v2.0.0) (2016-12-15)
101
+
84
102
  [Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v1.3.0...v2.0.0)
85
103
 
86
104
  **Closed issues:**
@@ -93,6 +111,7 @@
93
111
  - fix travis notifications [\#11](https://github.com/chef-partners/kitchen-vra/pull/11) ([adamleff](https://github.com/adamleff))
94
112
 
95
113
  ## [v1.3.0](https://github.com/chef-partners/kitchen-vra/tree/v1.3.0) (2016-01-25)
114
+
96
115
  [Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v1.2.0...v1.3.0)
97
116
 
98
117
  **Closed issues:**
@@ -105,6 +124,7 @@
105
124
  - 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
125
 
107
126
  ## [v1.2.0](https://github.com/chef-partners/kitchen-vra/tree/v1.2.0) (2015-11-26)
127
+
108
128
  [Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v1.1.0...v1.2.0)
109
129
 
110
130
  **Closed issues:**
@@ -117,6 +137,7 @@
117
137
  - Update README.md [\#4](https://github.com/chef-partners/kitchen-vra/pull/4) ([trisharia](https://github.com/trisharia))
118
138
 
119
139
  ## [v1.1.0](https://github.com/chef-partners/kitchen-vra/tree/v1.1.0) (2015-10-13)
140
+
120
141
  [Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v1.0.0...v1.1.0)
121
142
 
122
143
  **Closed issues:**
@@ -128,6 +149,7 @@
128
149
  - optional use\_dns [\#3](https://github.com/chef-partners/kitchen-vra/pull/3) ([stevehedrick](https://github.com/stevehedrick))
129
150
 
130
151
  ## [v1.0.0](https://github.com/chef-partners/kitchen-vra/tree/v1.0.0) (2015-08-12)
152
+
131
153
  **Merged pull requests:**
132
154
 
133
155
  - 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}
@@ -73,7 +73,7 @@ module Kitchen
73
73
  config[:password] = config[:password] || ENV["VRA_USER_PASSWORD"]
74
74
  c_load if config[:username].nil? && config[:password].nil?
75
75
 
76
- config[:username] = ask("Enter Username: e.g. username@domain") if config[:username].nil? || force_change
76
+ config[:username] = ask("Enter Username: e.g. johnsmith") if config[:username].nil? || force_change
77
77
  config[:password] = ask("Enter password: ") { |q| q.echo = "*" } if config[:password].nil? || force_change
78
78
  c_save if config[:cache_credentials]
79
79
  end
@@ -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.1"
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.1
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-11-02 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.3.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