kitchen-vra 3.3.3 → 3.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/publish.yml +2 -2
- data/.gitignore +3 -1
- data/.release-please-manifest.json +1 -1
- data/.rubocop.yml +7 -1
- data/.yamllint +6 -0
- data/.yardopts +11 -0
- data/CHANGELOG.md +92 -49
- data/CONTRIBUTING.md +84 -0
- data/Gemfile +7 -4
- data/README.md +260 -31
- data/Rakefile +20 -2
- data/kitchen-vra.gemspec +1 -2
- data/lib/kitchen/driver/vra.rb +183 -32
- data/lib/kitchen/driver/vra_version.rb +4 -1
- data/renovate.json +3 -1
- data/spec/vra_spec.rb +98 -1
- metadata +8 -8
- data/.github/dependabot.yml +0 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fafa7c0d38316e0caed88baf634bd75e30f096bfe9798edcd1a9e3d7a5c994ff
|
|
4
|
+
data.tar.gz: 7a50b7b1e4189297c2b739f4ea5eac816550b0097129709e2e99d4f53c1d870e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ad976260af42bb96af58b18b9cd3837f5eda92c0b98b8e86d29676e76862cb1d9c3d4c3dbd604fb09018415622a53f4796d1f79673b357215023dff53854076b
|
|
7
|
+
data.tar.gz: 0b9fb222821945220304a7d04bffea5b80f98adbf156d43aef3b09aa2d5f75e43619eae90793146984a11e99e07d1f9b9425752aa783f647351d6dca6f0426b1
|
|
@@ -9,13 +9,13 @@ jobs:
|
|
|
9
9
|
release-please:
|
|
10
10
|
runs-on: ubuntu-latest
|
|
11
11
|
steps:
|
|
12
|
-
- uses: googleapis/release-please-action@
|
|
12
|
+
- uses: googleapis/release-please-action@v5
|
|
13
13
|
id: release
|
|
14
14
|
with:
|
|
15
15
|
token: ${{ secrets.PORTER_GITHUB_TOKEN }}
|
|
16
16
|
|
|
17
17
|
- name: Checkout
|
|
18
|
-
uses: actions/checkout@
|
|
18
|
+
uses: actions/checkout@v7
|
|
19
19
|
if: ${{ steps.release.outputs.release_created }}
|
|
20
20
|
|
|
21
21
|
- name: Build and publish to GitHub Package
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
data/.yamllint
ADDED
data/.yardopts
ADDED
data/CHANGELOG.md
CHANGED
|
@@ -1,44 +1,73 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
* chore(deps): update actions/checkout action to v5 ([#74](https://github.com/test-kitchen/kitchen-vra/pull/74)) ([bc06b8c](https://github.com/test-kitchen/kitchen-vra/commit/bc06b8c))
|
|
6
|
+
* Fix typos ([#78](https://github.com/test-kitchen/kitchen-vra/pull/78)) ([298e742](https://github.com/test-kitchen/kitchen-vra/commit/298e742))
|
|
7
|
+
* Require Ruby 3.1+ and modernize CI ([#79](https://github.com/test-kitchen/kitchen-vra/pull/79)) ([d2df4d4](https://github.com/test-kitchen/kitchen-vra/commit/d2df4d4))
|
|
8
|
+
* Update actions/checkout action to v7 - autoclosed ([#77](https://github.com/test-kitchen/kitchen-vra/pull/77)) ([fae5260](https://github.com/test-kitchen/kitchen-vra/commit/fae5260))
|
|
9
|
+
* Update googleapis/release-please-action action to v5 - autoclosed ([#76](https://github.com/test-kitchen/kitchen-vra/pull/76)) ([fab5e69](https://github.com/test-kitchen/kitchen-vra/commit/fab5e69))
|
|
10
|
+
* Docs: rewrite README for new users and split contributor docs ([#80](https://github.com/test-kitchen/kitchen-vra/pull/80)) ([d9ebc45](https://github.com/test-kitchen/kitchen-vra/commit/d9ebc45))
|
|
11
|
+
* Standardize renovate config and remove dependabot ([#81](https://github.com/test-kitchen/kitchen-vra/pull/81)) ([be552bd](https://github.com/test-kitchen/kitchen-vra/commit/be552bd))
|
|
12
|
+
|
|
13
|
+
## [3.3.4](https://github.com/test-kitchen/kitchen-vra/compare/v3.3.3...v3.3.4) (2026-08-23)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
4
17
|
|
|
18
|
+
* make cache_credentials actually cache credentials ([#84](https://github.com/test-kitchen/kitchen-vra/issues/84)) ([8ef64d8](https://github.com/test-kitchen/kitchen-vra/commit/8ef64d8c41a0fe2d510f5bfa107f1a029b079c61))
|
|
19
|
+
|
|
20
|
+
## [3.3.3](https://github.com/test-kitchen/kitchen-vra/compare/v3.3.2...v3.3.3) (2024-06-27)
|
|
5
21
|
|
|
6
22
|
### Bug Fixes
|
|
7
23
|
|
|
8
24
|
* release please configs ([#69](https://github.com/test-kitchen/kitchen-vra/issues/69)) ([fa27fb1](https://github.com/test-kitchen/kitchen-vra/commit/fa27fb16997917b6e04e2f63de1c3ac5bcc920a2))
|
|
9
25
|
|
|
10
|
-
|
|
26
|
+
### Other Changes
|
|
27
|
+
|
|
28
|
+
* Update ffi-yajl requirement from >= 2.2.3, < 2.5.0 to >= 2.2.3, < 3.1.0 ([#64](https://github.com/test-kitchen/kitchen-vra/pull/64)) ([1afb763](https://github.com/test-kitchen/kitchen-vra/commit/1afb763))
|
|
29
|
+
* Configure Renovate ([#67](https://github.com/test-kitchen/kitchen-vra/pull/67)) ([995a9eb](https://github.com/test-kitchen/kitchen-vra/commit/995a9eb))
|
|
30
|
+
* Updated the ruby version ([#68](https://github.com/test-kitchen/kitchen-vra/pull/68)) ([7ceca30](https://github.com/test-kitchen/kitchen-vra/commit/7ceca30))
|
|
31
|
+
|
|
32
|
+
## [3.3.2](https://github.com/chef-partners/kitchen-vra/tree/v3.3.2)
|
|
11
33
|
|
|
12
34
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v3.3.1...v3.3.2)
|
|
13
35
|
|
|
14
|
-
- This change helps in getting unique name of a deployment. The new
|
|
36
|
+
- This change helps in getting unique name of a deployment. The new deployment name will be deployment_deploymentId. We need to pass **unique_name** as true(unique_name: true) in the driver configuration.
|
|
37
|
+
|
|
38
|
+
* Update rack requirement from >= 1.6, < 3.0 to >= 1.6, < 4.0 ([#56](https://github.com/test-kitchen/kitchen-vra/pull/56)) ([2913dcb](https://github.com/test-kitchen/kitchen-vra/commit/2913dcb))
|
|
39
|
+
* Unique name for the newly provisioned VMs. ([#66](https://github.com/test-kitchen/kitchen-vra/pull/66)) ([6ca4d6d](https://github.com/test-kitchen/kitchen-vra/commit/6ca4d6d))
|
|
15
40
|
|
|
16
|
-
## [
|
|
41
|
+
## [3.3.1](https://github.com/chef-partners/kitchen-vra/tree/v3.3.1)
|
|
17
42
|
|
|
18
43
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v3.3.0...v3.3.1)
|
|
19
44
|
|
|
20
45
|
- Fixed the issue with catalog lookup using catalog_name config [\#61](https://github.com/chef-partners/kitchen-vra/pull/61) ([ashiqueps](https://github.com/ashiqueps))
|
|
21
46
|
|
|
22
|
-
## [
|
|
47
|
+
## [3.3.0](https://github.com/chef-partners/kitchen-vra/tree/v3.3.0)
|
|
23
48
|
|
|
24
49
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v3.2.1...v3.3.0)
|
|
25
50
|
|
|
26
51
|
- Replaced the tenant attribute with the domain attribute [\#59](https://github.com/chef-partners/kitchen-vra/pull/59) ([ashiqueps](https://github.com/ashiqueps))
|
|
27
52
|
|
|
28
|
-
## [
|
|
53
|
+
## [3.2.1](https://github.com/chef-partners/kitchen-vra/tree/v3.2.1)
|
|
29
54
|
|
|
30
55
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v3.2.0...v3.2.1)
|
|
31
56
|
|
|
32
57
|
- 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))
|
|
33
58
|
|
|
34
|
-
## [
|
|
59
|
+
## [3.2.0](https://github.com/chef-partners/kitchen-vra/tree/v3.2.0)
|
|
35
60
|
|
|
36
61
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v3.1.0...v3.2.0)
|
|
37
62
|
|
|
38
63
|
- Support for Ruby 3.1
|
|
39
64
|
- Github workflow improvements
|
|
40
65
|
|
|
41
|
-
|
|
66
|
+
* include ruby 3.1 in ci ([#52](https://github.com/test-kitchen/kitchen-vra/pull/52)) ([0d863e2](https://github.com/test-kitchen/kitchen-vra/commit/0d863e2))
|
|
67
|
+
* add linters and publish action ([#53](https://github.com/test-kitchen/kitchen-vra/pull/53)) ([8cfed3b](https://github.com/test-kitchen/kitchen-vra/commit/8cfed3b))
|
|
68
|
+
* reuse existing workflow ([#54](https://github.com/test-kitchen/kitchen-vra/pull/54)) ([177946a](https://github.com/test-kitchen/kitchen-vra/commit/177946a))
|
|
69
|
+
|
|
70
|
+
## [3.1.0](https://github.com/chef-partners/kitchen-vra/tree/v3.1.0)
|
|
42
71
|
|
|
43
72
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v3.0.1...v3.1.0)
|
|
44
73
|
|
|
@@ -47,43 +76,63 @@
|
|
|
47
76
|
- Remove the bundler dev dep
|
|
48
77
|
- Update the gemspec for the new maintainer of this project
|
|
49
78
|
|
|
50
|
-
|
|
79
|
+
* Target Ruby 2.7 in rubocop ([b25030d](https://github.com/test-kitchen/kitchen-vra/commit/b25030d))
|
|
80
|
+
* Update the owner and the repo in the gemspec ([14beda9](https://github.com/test-kitchen/kitchen-vra/commit/14beda9))
|
|
81
|
+
* make version parameter optional in kitchen yml ([#51](https://github.com/test-kitchen/kitchen-vra/pull/51)) ([72a1110](https://github.com/test-kitchen/kitchen-vra/commit/72a1110))
|
|
82
|
+
|
|
83
|
+
## [3.0.1](https://github.com/chef-partners/kitchen-vra/tree/v3.0.1)
|
|
51
84
|
|
|
52
85
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v3.0.0...v3.0.1)
|
|
53
86
|
|
|
54
87
|
- Updated the rack gem dependency to allow for modern releases of rack.
|
|
55
88
|
|
|
56
|
-
|
|
89
|
+
* Update rack requirement from ~> 1.6 to >= 1.6, < 3.0 ([#47](https://github.com/test-kitchen/kitchen-vra/pull/47)) ([aa357b9](https://github.com/test-kitchen/kitchen-vra/commit/aa357b9))
|
|
90
|
+
|
|
91
|
+
## [3.0.0](https://github.com/chef-partners/kitchen-vra/tree/v3.0.0)
|
|
57
92
|
|
|
58
93
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.7.1...v3.0.0)
|
|
59
94
|
|
|
60
95
|
- kitchen-vra now supports VMware vRealize Automation 8. See the readme of kitchen.ci driver documentation for new configuration options necessary for use with vRA 8. If you need support for vRA 7 make sure to pin to an earlier release.
|
|
61
96
|
|
|
62
|
-
|
|
97
|
+
* Support VRA8 ([#41](https://github.com/test-kitchen/kitchen-vra/pull/41)) ([9c10283](https://github.com/test-kitchen/kitchen-vra/commit/9c10283))
|
|
98
|
+
* Require Ruby 2.7 and later ([#44](https://github.com/test-kitchen/kitchen-vra/pull/44)) ([933cae2](https://github.com/test-kitchen/kitchen-vra/commit/933cae2))
|
|
99
|
+
* Wire up dependabot and GitHub Actions ([#43](https://github.com/test-kitchen/kitchen-vra/pull/43)) ([84ad5d4](https://github.com/test-kitchen/kitchen-vra/commit/84ad5d4))
|
|
100
|
+
* Update rake requirement from ~> 10.0 to ~> 13.0 ([#46](https://github.com/test-kitchen/kitchen-vra/pull/46)) ([e1a6599](https://github.com/test-kitchen/kitchen-vra/commit/e1a6599))
|
|
101
|
+
* Update ffi-yajl requirement from ~> 2.2.3 to >= 2.2.3, < 2.5.0 ([#49](https://github.com/test-kitchen/kitchen-vra/pull/49)) ([b39b1d3](https://github.com/test-kitchen/kitchen-vra/commit/b39b1d3))
|
|
102
|
+
* Migrate from RuboCop to Chefstyle ([#50](https://github.com/test-kitchen/kitchen-vra/pull/50)) ([6f517dd](https://github.com/test-kitchen/kitchen-vra/commit/6f517dd))
|
|
103
|
+
* Update webmock requirement from ~> 1.21 to ~> 3.14 ([#45](https://github.com/test-kitchen/kitchen-vra/pull/45)) ([616958a](https://github.com/test-kitchen/kitchen-vra/commit/616958a))
|
|
104
|
+
|
|
105
|
+
## [2.7.1](https://github.com/chef-partners/kitchen-vra/tree/v2.7.1)
|
|
63
106
|
|
|
64
107
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.7.0...v2.7.1)
|
|
65
108
|
|
|
66
109
|
- Pin vmware-vra gem dep to < 3 to prevent pulling in the new release
|
|
67
110
|
|
|
68
|
-
|
|
111
|
+
* Updated the vmware-vra gem dependency ([#42](https://github.com/test-kitchen/kitchen-vra/pull/42)) ([f13906c](https://github.com/test-kitchen/kitchen-vra/commit/f13906c))
|
|
112
|
+
|
|
113
|
+
## [2.7.0](https://github.com/chef-partners/kitchen-vra/tree/v2.7.0)
|
|
69
114
|
|
|
70
115
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.6.0...v2.7.0)
|
|
71
116
|
|
|
72
117
|
- Accept shirt size option available in blueprint as input in kitchen.yml
|
|
73
118
|
|
|
74
|
-
|
|
119
|
+
* Updates to resolve CVE. Fixes #31. ([#32](https://github.com/test-kitchen/kitchen-vra/pull/32)) ([05bda6c](https://github.com/test-kitchen/kitchen-vra/commit/05bda6c))
|
|
120
|
+
* Update README.md ([650df37](https://github.com/test-kitchen/kitchen-vra/commit/650df37))
|
|
121
|
+
* fix travis failures ([#38](https://github.com/test-kitchen/kitchen-vra/pull/38)) ([814e00a](https://github.com/test-kitchen/kitchen-vra/commit/814e00a))
|
|
122
|
+
* Enhanced kitchen driver to accept shirt size option in kitchen.yml. ([#37](https://github.com/test-kitchen/kitchen-vra/pull/37)) ([4da6ef5](https://github.com/test-kitchen/kitchen-vra/commit/4da6ef5))
|
|
75
123
|
|
|
76
|
-
[
|
|
124
|
+
## [2.6.0](https://github.com/test-kitchen/kitchen-vra/compare/v2.4.0...v2.6.0) (2018-03-01)
|
|
77
125
|
|
|
78
|
-
|
|
126
|
+
* Accept subtenant name as input in kitchen.yml ([#28](https://github.com/test-kitchen/kitchen-vra/pull/28)) ([92f7aea](https://github.com/test-kitchen/kitchen-vra/commit/92f7aea))
|
|
127
|
+
* v2.5.0 ([b47dd36](https://github.com/test-kitchen/kitchen-vra/commit/b47dd36))
|
|
79
128
|
|
|
129
|
+
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.4.0...v2.5.0)
|
|
130
|
+
**Closed issues:**
|
|
80
131
|
- Feature Query: Support for Capture Snapshot & Restore Snapshot [\#27](https://github.com/chef-partners/kitchen-vra/issues/27)
|
|
81
|
-
|
|
82
132
|
**Merged pull requests:**
|
|
83
|
-
|
|
84
133
|
- Accept subtenant name as input in kitchen.yml [\#28](https://github.com/chef-partners/kitchen-vra/pull/28) ([vinuphilip](https://github.com/vinuphilip))
|
|
85
134
|
|
|
86
|
-
## [
|
|
135
|
+
## [2.4.0](https://github.com/chef-partners/kitchen-vra/tree/v2.4.0) (2018-01-22)
|
|
87
136
|
|
|
88
137
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.3.0...v2.4.0)
|
|
89
138
|
|
|
@@ -91,7 +140,7 @@
|
|
|
91
140
|
|
|
92
141
|
- Kitchen vRA enahancements [\#26](https://github.com/chef-partners/kitchen-vra/pull/26) ([rupeshpatel88](https://github.com/rupeshpatel88))
|
|
93
142
|
|
|
94
|
-
## [
|
|
143
|
+
## [2.3.0](https://github.com/chef-partners/kitchen-vra/tree/v2.3.0) (2017-07-14)
|
|
95
144
|
|
|
96
145
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.2.0...v2.3.0)
|
|
97
146
|
|
|
@@ -100,7 +149,10 @@
|
|
|
100
149
|
- Switched to using set\_parameters [\#24](https://github.com/chef-partners/kitchen-vra/pull/24) ([lloydsmithjr03](https://github.com/lloydsmithjr03))
|
|
101
150
|
- Updates for travis and rubocop [\#23](https://github.com/chef-partners/kitchen-vra/pull/23) ([jjasghar](https://github.com/jjasghar))
|
|
102
151
|
|
|
103
|
-
|
|
152
|
+
* Added github templates ([bac40d6](https://github.com/test-kitchen/kitchen-vra/commit/bac40d6))
|
|
153
|
+
* 2.3.0 ([6efee6a](https://github.com/test-kitchen/kitchen-vra/commit/6efee6a))
|
|
154
|
+
|
|
155
|
+
## [2.2.0](https://github.com/chef-partners/kitchen-vra/tree/v2.2.0) (2017-02-15)
|
|
104
156
|
|
|
105
157
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.1.0...v2.2.0)
|
|
106
158
|
|
|
@@ -108,77 +160,68 @@
|
|
|
108
160
|
|
|
109
161
|
- Vra cache creds [\#16](https://github.com/chef-partners/kitchen-vra/pull/16) ([michaelschlies](https://github.com/michaelschlies))
|
|
110
162
|
|
|
111
|
-
|
|
163
|
+
* Updated the year in README ([1a0a15c](https://github.com/test-kitchen/kitchen-vra/commit/1a0a15c))
|
|
112
164
|
|
|
113
|
-
[
|
|
114
|
-
|
|
115
|
-
**Closed issues:**
|
|
165
|
+
## [2.1.0](https://github.com/chef-partners/kitchen-vra/tree/v2.1.0) (2017-02-13)
|
|
116
166
|
|
|
117
|
-
|
|
118
|
-
- Failure on notes config setting [\#15](https://github.com/chef-partners/kitchen-vra/issues/15)
|
|
167
|
+
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.0.0...v2.1.0)
|
|
119
168
|
|
|
120
169
|
**Merged pull requests:**
|
|
121
170
|
|
|
122
171
|
- Bump version for release [\#21](https://github.com/chef-partners/kitchen-vra/pull/21) ([jjasghar](https://github.com/jjasghar))
|
|
123
172
|
- 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))
|
|
124
173
|
|
|
125
|
-
|
|
174
|
+
* Added 2.1.0 changelog ([3546421](https://github.com/test-kitchen/kitchen-vra/commit/3546421))
|
|
126
175
|
|
|
127
|
-
[
|
|
176
|
+
## [2.0.0](https://github.com/chef-partners/kitchen-vra/tree/v2.0.0) (2016-12-15)
|
|
128
177
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
- How do I specify windows and linux credentials for host vms? [\#14](https://github.com/chef-partners/kitchen-vra/issues/14)
|
|
178
|
+
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v1.3.0...v2.0.0)
|
|
132
179
|
|
|
133
180
|
**Merged pull requests:**
|
|
134
181
|
|
|
135
182
|
- replace 'servers.size ==0' with 'servers.empty?' [\#13](https://github.com/chef-partners/kitchen-vra/pull/13) ([adamleff](https://github.com/adamleff))
|
|
136
183
|
- fix travis notifications [\#11](https://github.com/chef-partners/kitchen-vra/pull/11) ([adamleff](https://github.com/adamleff))
|
|
137
184
|
|
|
138
|
-
|
|
185
|
+
* v2.0.0 ([75af468](https://github.com/test-kitchen/kitchen-vra/commit/75af468))
|
|
186
|
+
* merge conflict ([5b7b518](https://github.com/test-kitchen/kitchen-vra/commit/5b7b518))
|
|
139
187
|
|
|
140
|
-
[
|
|
141
|
-
|
|
142
|
-
**Closed issues:**
|
|
188
|
+
## [1.3.0](https://github.com/chef-partners/kitchen-vra/tree/v1.3.0) (2016-01-25)
|
|
143
189
|
|
|
144
|
-
|
|
145
|
-
- server\_ready\_retries timeout growth is awkward for our use case [\#8](https://github.com/chef-partners/kitchen-vra/issues/8)
|
|
190
|
+
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v1.2.0...v1.3.0)
|
|
146
191
|
|
|
147
192
|
**Merged pull requests:**
|
|
148
193
|
|
|
149
194
|
- 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))
|
|
150
195
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v1.1.0...v1.2.0)
|
|
196
|
+
* adding to travis ([812c13a](https://github.com/test-kitchen/kitchen-vra/commit/812c13a))
|
|
197
|
+
* adding slack notifications to travis ([a9250ed](https://github.com/test-kitchen/kitchen-vra/commit/a9250ed))
|
|
154
198
|
|
|
155
|
-
|
|
199
|
+
## [1.2.0](https://github.com/chef-partners/kitchen-vra/tree/v1.2.0) (2015-11-26)
|
|
156
200
|
|
|
157
|
-
|
|
201
|
+
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v1.1.0...v1.2.0)
|
|
158
202
|
|
|
159
203
|
**Merged pull requests:**
|
|
160
204
|
|
|
161
205
|
- Adding wait\_for\_server retry logic, and better failback for hostname. [\#7](https://github.com/chef-partners/kitchen-vra/pull/7) ([adamleff](https://github.com/adamleff))
|
|
162
206
|
- Update README.md [\#4](https://github.com/chef-partners/kitchen-vra/pull/4) ([trisharia](https://github.com/trisharia))
|
|
163
207
|
|
|
164
|
-
|
|
208
|
+
* Merge branch 'adamleff/dns-fallback' for PR #7 ([bd72f27](https://github.com/test-kitchen/kitchen-vra/commit/bd72f27))
|
|
165
209
|
|
|
166
|
-
[
|
|
210
|
+
## [1.1.0](https://github.com/chef-partners/kitchen-vra/tree/v1.1.0) (2015-10-13)
|
|
167
211
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
- vRA not managing IP addresses [\#2](https://github.com/chef-partners/kitchen-vra/issues/2)
|
|
212
|
+
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v1.0.0...v1.1.0)
|
|
171
213
|
|
|
172
214
|
**Merged pull requests:**
|
|
173
215
|
|
|
174
216
|
- optional use\_dns [\#3](https://github.com/chef-partners/kitchen-vra/pull/3) ([stevehedrick](https://github.com/stevehedrick))
|
|
175
217
|
|
|
176
|
-
## [
|
|
218
|
+
## [1.0.0](https://github.com/chef-partners/kitchen-vra/tree/v1.0.0) (2015-08-12)
|
|
177
219
|
|
|
178
220
|
**Merged pull requests:**
|
|
179
221
|
|
|
180
222
|
- Initial release, working in VMware HOL lab, tests passing [\#1](https://github.com/chef-partners/kitchen-vra/pull/1) ([adamleff](https://github.com/adamleff))
|
|
181
223
|
|
|
182
224
|
|
|
183
|
-
|
|
184
225
|
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
|
226
|
+
|
|
227
|
+
* empty repo ([cabbb21](https://github.com/test-kitchen/kitchen-vra/commit/cabbb21))
|
data/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# Contributing to kitchen-vra
|
|
2
|
+
|
|
3
|
+
We'd love to hear from you if this driver doesn't work in your vRA environment. Bug reports, feature requests, and pull requests are all welcome.
|
|
4
|
+
|
|
5
|
+
## Reporting issues
|
|
6
|
+
|
|
7
|
+
Report bugs and request features on the [issue tracker](https://github.com/test-kitchen/kitchen-vra/issues). For bugs, please include:
|
|
8
|
+
|
|
9
|
+
- the version of kitchen-vra and Test Kitchen you are using
|
|
10
|
+
- your vRA version
|
|
11
|
+
- your `kitchen.yml` with credentials and internal hostnames removed
|
|
12
|
+
- the output of the failing command, ideally with `-l debug`
|
|
13
|
+
|
|
14
|
+
## Development setup
|
|
15
|
+
|
|
16
|
+
Clone the repository and install the dependencies:
|
|
17
|
+
|
|
18
|
+
```sh
|
|
19
|
+
git clone https://github.com/test-kitchen/kitchen-vra.git
|
|
20
|
+
cd kitchen-vra
|
|
21
|
+
bundle install
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Running the tests
|
|
25
|
+
|
|
26
|
+
Run the unit tests and the style check together:
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
bundle exec rake
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Run them individually:
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
bundle exec rake test # RSpec unit tests
|
|
36
|
+
bundle exec rake style # Cookstyle / RuboCop
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
To run a single spec file:
|
|
40
|
+
|
|
41
|
+
```sh
|
|
42
|
+
bundle exec rspec spec/kitchen/driver/vra_spec.rb
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Many style offenses can be corrected automatically:
|
|
46
|
+
|
|
47
|
+
```sh
|
|
48
|
+
bundle exec cookstyle -a
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
The unit tests stub the vRA client, so they do not contact an appliance and do
|
|
52
|
+
not require credentials.
|
|
53
|
+
|
|
54
|
+
### Manual testing against vRA
|
|
55
|
+
|
|
56
|
+
Changes that touch the catalog request or the deployment lifecycle should also be
|
|
57
|
+
exercised against a real appliance, since the stubbed tests cannot catch
|
|
58
|
+
API-level regressions. You will need a catalog item that provisions exactly one
|
|
59
|
+
VM, and permission to request and delete it.
|
|
60
|
+
|
|
61
|
+
Set `VRA_USER_NAME` and `VRA_USER_PASSWORD` rather than putting credentials in
|
|
62
|
+
`kitchen.yml`, and confirm in the vRA UI that `kitchen destroy` removed the
|
|
63
|
+
deployment — a run that fails partway through can leave one behind.
|
|
64
|
+
|
|
65
|
+
## Submitting changes
|
|
66
|
+
|
|
67
|
+
1. Fork the repository.
|
|
68
|
+
2. Create a feature branch off `main`.
|
|
69
|
+
3. Make your change, adding or updating tests to cover it.
|
|
70
|
+
4. Make sure `bundle exec rake` passes.
|
|
71
|
+
5. Push the branch to your fork and open a pull request.
|
|
72
|
+
|
|
73
|
+
Please keep pull requests focused on a single change — it makes review much
|
|
74
|
+
faster. Update the documentation in `README.md` when you add or change a
|
|
75
|
+
configuration option.
|
|
76
|
+
|
|
77
|
+
## Release process
|
|
78
|
+
|
|
79
|
+
Releases are handled by the maintainers.
|
|
80
|
+
|
|
81
|
+
1. Update `lib/kitchen/driver/vra_version.rb` with the new version.
|
|
82
|
+
2. Update `CHANGELOG.md`.
|
|
83
|
+
3. Merge to `main`; the [publish workflow](.github/workflows/publish.yml) builds
|
|
84
|
+
the gem and pushes it to RubyGems.
|
data/Gemfile
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
source "https://rubygems.org"
|
|
4
4
|
|
|
5
|
-
gemspec
|
|
6
|
-
|
|
5
|
+
gemspec development_group: :test
|
|
7
6
|
group :test do
|
|
8
7
|
gem "rake"
|
|
9
8
|
gem "kitchen-inspec"
|
|
@@ -15,6 +14,10 @@ group :debug do
|
|
|
15
14
|
gem "pry"
|
|
16
15
|
end
|
|
17
16
|
|
|
18
|
-
group :
|
|
19
|
-
gem "
|
|
17
|
+
group :docs do
|
|
18
|
+
gem "yard"
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
group :cookstyle do
|
|
22
|
+
gem "cookstyle"
|
|
20
23
|
end
|