kitchen-vra 3.3.2 → 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 +23 -8
- data/.gitignore +3 -1
- data/.markdownlint.yaml +2 -1
- data/.release-please-manifest.json +3 -0
- data/.rubocop.yml +7 -1
- data/.yamllint +6 -0
- data/.yardopts +11 -0
- data/CHANGELOG.md +98 -48
- data/CONTRIBUTING.md +84 -0
- data/Gemfile +20 -1
- data/README.md +260 -31
- data/Rakefile +20 -2
- data/kitchen-vra.gemspec +3 -9
- data/lib/kitchen/driver/vra.rb +183 -32
- data/lib/kitchen/driver/vra_version.rb +4 -1
- data/release-please-config.json +12 -0
- data/renovate.json +8 -0
- data/spec/vra_spec.rb +98 -1
- metadata +14 -83
- data/.github/dependabot.yml +0 -8
- data/.github/workflows/please-release.yml +0 -16
- data/.mdlrc +0 -1
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
|
|
@@ -1,17 +1,32 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: release-please
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
"on":
|
|
5
|
+
push:
|
|
6
|
+
branches: [main]
|
|
7
7
|
|
|
8
8
|
jobs:
|
|
9
|
-
|
|
9
|
+
release-please:
|
|
10
10
|
runs-on: ubuntu-latest
|
|
11
11
|
steps:
|
|
12
|
-
- uses:
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
- uses: googleapis/release-please-action@v5
|
|
13
|
+
id: release
|
|
14
|
+
with:
|
|
15
|
+
token: ${{ secrets.PORTER_GITHUB_TOKEN }}
|
|
16
|
+
|
|
17
|
+
- name: Checkout
|
|
18
|
+
uses: actions/checkout@v7
|
|
19
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
20
|
+
|
|
21
|
+
- name: Build and publish to GitHub Package
|
|
22
|
+
uses: actionshub/publish-gem-to-github@main
|
|
23
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
15
24
|
with:
|
|
16
25
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
17
26
|
owner: ${{ secrets.OWNER }}
|
|
27
|
+
|
|
28
|
+
- name: Build and publish to RubyGems
|
|
29
|
+
uses: actionshub/publish-gem-to-rubygems@main
|
|
30
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
31
|
+
with:
|
|
32
|
+
token: ${{ secrets.RUBYGEMS_API_KEY }}
|
data/.gitignore
CHANGED
data/.markdownlint.yaml
CHANGED
data/.rubocop.yml
CHANGED
data/.yamllint
ADDED
data/.yardopts
ADDED
data/CHANGELOG.md
CHANGED
|
@@ -1,37 +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
|
|
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)
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* release please configs ([#69](https://github.com/test-kitchen/kitchen-vra/issues/69)) ([fa27fb1](https://github.com/test-kitchen/kitchen-vra/commit/fa27fb16997917b6e04e2f63de1c3ac5bcc920a2))
|
|
25
|
+
|
|
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)
|
|
4
33
|
|
|
5
34
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v3.3.1...v3.3.2)
|
|
6
35
|
|
|
7
|
-
- 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))
|
|
8
40
|
|
|
9
|
-
## [
|
|
41
|
+
## [3.3.1](https://github.com/chef-partners/kitchen-vra/tree/v3.3.1)
|
|
10
42
|
|
|
11
43
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v3.3.0...v3.3.1)
|
|
12
44
|
|
|
13
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))
|
|
14
46
|
|
|
15
|
-
## [
|
|
47
|
+
## [3.3.0](https://github.com/chef-partners/kitchen-vra/tree/v3.3.0)
|
|
16
48
|
|
|
17
49
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v3.2.1...v3.3.0)
|
|
18
50
|
|
|
19
51
|
- Replaced the tenant attribute with the domain attribute [\#59](https://github.com/chef-partners/kitchen-vra/pull/59) ([ashiqueps](https://github.com/ashiqueps))
|
|
20
52
|
|
|
21
|
-
## [
|
|
53
|
+
## [3.2.1](https://github.com/chef-partners/kitchen-vra/tree/v3.2.1)
|
|
22
54
|
|
|
23
55
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v3.2.0...v3.2.1)
|
|
24
56
|
|
|
25
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))
|
|
26
58
|
|
|
27
|
-
## [
|
|
59
|
+
## [3.2.0](https://github.com/chef-partners/kitchen-vra/tree/v3.2.0)
|
|
28
60
|
|
|
29
61
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v3.1.0...v3.2.0)
|
|
30
62
|
|
|
31
63
|
- Support for Ruby 3.1
|
|
32
64
|
- Github workflow improvements
|
|
33
65
|
|
|
34
|
-
|
|
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)
|
|
35
71
|
|
|
36
72
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v3.0.1...v3.1.0)
|
|
37
73
|
|
|
@@ -40,43 +76,63 @@
|
|
|
40
76
|
- Remove the bundler dev dep
|
|
41
77
|
- Update the gemspec for the new maintainer of this project
|
|
42
78
|
|
|
43
|
-
|
|
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)
|
|
44
84
|
|
|
45
85
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v3.0.0...v3.0.1)
|
|
46
86
|
|
|
47
87
|
- Updated the rack gem dependency to allow for modern releases of rack.
|
|
48
88
|
|
|
49
|
-
|
|
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)
|
|
50
92
|
|
|
51
93
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.7.1...v3.0.0)
|
|
52
94
|
|
|
53
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.
|
|
54
96
|
|
|
55
|
-
|
|
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)
|
|
56
106
|
|
|
57
107
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.7.0...v2.7.1)
|
|
58
108
|
|
|
59
109
|
- Pin vmware-vra gem dep to < 3 to prevent pulling in the new release
|
|
60
110
|
|
|
61
|
-
|
|
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)
|
|
62
114
|
|
|
63
115
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.6.0...v2.7.0)
|
|
64
116
|
|
|
65
117
|
- Accept shirt size option available in blueprint as input in kitchen.yml
|
|
66
118
|
|
|
67
|
-
|
|
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))
|
|
68
123
|
|
|
69
|
-
[
|
|
124
|
+
## [2.6.0](https://github.com/test-kitchen/kitchen-vra/compare/v2.4.0...v2.6.0) (2018-03-01)
|
|
70
125
|
|
|
71
|
-
|
|
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))
|
|
72
128
|
|
|
129
|
+
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.4.0...v2.5.0)
|
|
130
|
+
**Closed issues:**
|
|
73
131
|
- Feature Query: Support for Capture Snapshot & Restore Snapshot [\#27](https://github.com/chef-partners/kitchen-vra/issues/27)
|
|
74
|
-
|
|
75
132
|
**Merged pull requests:**
|
|
76
|
-
|
|
77
133
|
- Accept subtenant name as input in kitchen.yml [\#28](https://github.com/chef-partners/kitchen-vra/pull/28) ([vinuphilip](https://github.com/vinuphilip))
|
|
78
134
|
|
|
79
|
-
## [
|
|
135
|
+
## [2.4.0](https://github.com/chef-partners/kitchen-vra/tree/v2.4.0) (2018-01-22)
|
|
80
136
|
|
|
81
137
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.3.0...v2.4.0)
|
|
82
138
|
|
|
@@ -84,7 +140,7 @@
|
|
|
84
140
|
|
|
85
141
|
- Kitchen vRA enahancements [\#26](https://github.com/chef-partners/kitchen-vra/pull/26) ([rupeshpatel88](https://github.com/rupeshpatel88))
|
|
86
142
|
|
|
87
|
-
## [
|
|
143
|
+
## [2.3.0](https://github.com/chef-partners/kitchen-vra/tree/v2.3.0) (2017-07-14)
|
|
88
144
|
|
|
89
145
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.2.0...v2.3.0)
|
|
90
146
|
|
|
@@ -93,7 +149,10 @@
|
|
|
93
149
|
- Switched to using set\_parameters [\#24](https://github.com/chef-partners/kitchen-vra/pull/24) ([lloydsmithjr03](https://github.com/lloydsmithjr03))
|
|
94
150
|
- Updates for travis and rubocop [\#23](https://github.com/chef-partners/kitchen-vra/pull/23) ([jjasghar](https://github.com/jjasghar))
|
|
95
151
|
|
|
96
|
-
|
|
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)
|
|
97
156
|
|
|
98
157
|
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.1.0...v2.2.0)
|
|
99
158
|
|
|
@@ -101,77 +160,68 @@
|
|
|
101
160
|
|
|
102
161
|
- Vra cache creds [\#16](https://github.com/chef-partners/kitchen-vra/pull/16) ([michaelschlies](https://github.com/michaelschlies))
|
|
103
162
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v2.0.0...v2.1.0)
|
|
163
|
+
* Updated the year in README ([1a0a15c](https://github.com/test-kitchen/kitchen-vra/commit/1a0a15c))
|
|
107
164
|
|
|
108
|
-
|
|
165
|
+
## [2.1.0](https://github.com/chef-partners/kitchen-vra/tree/v2.1.0) (2017-02-13)
|
|
109
166
|
|
|
110
|
-
|
|
111
|
-
- 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)
|
|
112
168
|
|
|
113
169
|
**Merged pull requests:**
|
|
114
170
|
|
|
115
171
|
- Bump version for release [\#21](https://github.com/chef-partners/kitchen-vra/pull/21) ([jjasghar](https://github.com/jjasghar))
|
|
116
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))
|
|
117
173
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v1.3.0...v2.0.0)
|
|
174
|
+
* Added 2.1.0 changelog ([3546421](https://github.com/test-kitchen/kitchen-vra/commit/3546421))
|
|
121
175
|
|
|
122
|
-
|
|
176
|
+
## [2.0.0](https://github.com/chef-partners/kitchen-vra/tree/v2.0.0) (2016-12-15)
|
|
123
177
|
|
|
124
|
-
|
|
178
|
+
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v1.3.0...v2.0.0)
|
|
125
179
|
|
|
126
180
|
**Merged pull requests:**
|
|
127
181
|
|
|
128
182
|
- replace 'servers.size ==0' with 'servers.empty?' [\#13](https://github.com/chef-partners/kitchen-vra/pull/13) ([adamleff](https://github.com/adamleff))
|
|
129
183
|
- fix travis notifications [\#11](https://github.com/chef-partners/kitchen-vra/pull/11) ([adamleff](https://github.com/adamleff))
|
|
130
184
|
|
|
131
|
-
|
|
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))
|
|
132
187
|
|
|
133
|
-
[
|
|
134
|
-
|
|
135
|
-
**Closed issues:**
|
|
188
|
+
## [1.3.0](https://github.com/chef-partners/kitchen-vra/tree/v1.3.0) (2016-01-25)
|
|
136
189
|
|
|
137
|
-
|
|
138
|
-
- 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)
|
|
139
191
|
|
|
140
192
|
**Merged pull requests:**
|
|
141
193
|
|
|
142
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))
|
|
143
195
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
[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))
|
|
147
198
|
|
|
148
|
-
|
|
199
|
+
## [1.2.0](https://github.com/chef-partners/kitchen-vra/tree/v1.2.0) (2015-11-26)
|
|
149
200
|
|
|
150
|
-
|
|
201
|
+
[Full Changelog](https://github.com/chef-partners/kitchen-vra/compare/v1.1.0...v1.2.0)
|
|
151
202
|
|
|
152
203
|
**Merged pull requests:**
|
|
153
204
|
|
|
154
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))
|
|
155
206
|
- Update README.md [\#4](https://github.com/chef-partners/kitchen-vra/pull/4) ([trisharia](https://github.com/trisharia))
|
|
156
207
|
|
|
157
|
-
|
|
208
|
+
* Merge branch 'adamleff/dns-fallback' for PR #7 ([bd72f27](https://github.com/test-kitchen/kitchen-vra/commit/bd72f27))
|
|
158
209
|
|
|
159
|
-
[
|
|
210
|
+
## [1.1.0](https://github.com/chef-partners/kitchen-vra/tree/v1.1.0) (2015-10-13)
|
|
160
211
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
- 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)
|
|
164
213
|
|
|
165
214
|
**Merged pull requests:**
|
|
166
215
|
|
|
167
216
|
- optional use\_dns [\#3](https://github.com/chef-partners/kitchen-vra/pull/3) ([stevehedrick](https://github.com/stevehedrick))
|
|
168
217
|
|
|
169
|
-
## [
|
|
218
|
+
## [1.0.0](https://github.com/chef-partners/kitchen-vra/tree/v1.0.0) (2015-08-12)
|
|
170
219
|
|
|
171
220
|
**Merged pull requests:**
|
|
172
221
|
|
|
173
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))
|
|
174
223
|
|
|
175
224
|
|
|
176
|
-
|
|
177
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
|
@@ -1,4 +1,23 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
source "https://rubygems.org"
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
gemspec development_group: :test
|
|
6
|
+
group :test do
|
|
7
|
+
gem "rake"
|
|
8
|
+
gem "kitchen-inspec"
|
|
9
|
+
gem "rspec", "~> 3.2"
|
|
10
|
+
gem "webmock"
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
group :debug do
|
|
14
|
+
gem "pry"
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
group :docs do
|
|
18
|
+
gem "yard"
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
group :cookstyle do
|
|
22
|
+
gem "cookstyle"
|
|
23
|
+
end
|