train-core 1.4.21 → 1.4.22
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/CHANGELOG.md +13 -8
- data/README.md +16 -1
- data/lib/train/platforms/detect/specifications/api.rb +2 -0
- data/lib/train/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3d80db1736b414a85cf42d4bc110b5d965aaac720cdf31863b7a2b8a458f10f5
|
|
4
|
+
data.tar.gz: b512e8f7429d94b33a8fae759623289578ddc68d00292e995c62b61c91a28a48
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ccfed37b9467489b33b1b3d4bb82d769cb5d18b448ca53fba8c38a366ecdc35ee074fe43f967bf2a6c529ef78fd0229a5098c82d991de46ff8ab8f44443a6693
|
|
7
|
+
data.tar.gz: 8680dbdfa0da2f7490681f2f48924106e3f35680591cb8d28f4db7346aaecc928b0d97f8931807c6864773b8c9adc3b90f9f51454fa14cc403d45fa22ba82036
|
data/CHANGELOG.md
CHANGED
|
@@ -1,19 +1,25 @@
|
|
|
1
|
-
<!-- latest_release 1.4.
|
|
2
|
-
## [v1.4.
|
|
1
|
+
<!-- latest_release 1.4.22 -->
|
|
2
|
+
## [v1.4.22](https://github.com/inspec/train/tree/v1.4.22) (2018-07-12)
|
|
3
3
|
|
|
4
4
|
#### Merged Pull Requests
|
|
5
|
-
-
|
|
5
|
+
- Add VMware transport [#321](https://github.com/inspec/train/pull/321) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
|
|
6
6
|
<!-- latest_release -->
|
|
7
7
|
|
|
8
|
-
<!-- release_rollup since=1.4.
|
|
9
|
-
### Changes since 1.4.
|
|
8
|
+
<!-- release_rollup since=1.4.21 -->
|
|
9
|
+
### Changes since 1.4.21 release
|
|
10
10
|
|
|
11
11
|
#### Merged Pull Requests
|
|
12
|
-
-
|
|
13
|
-
- Remove the delivery cookbook [#317](https://github.com/inspec/train/pull/317) ([tas50](https://github.com/tas50)) <!-- 1.4.20 -->
|
|
12
|
+
- Add VMware transport [#321](https://github.com/inspec/train/pull/321) ([jerryaldrichiii](https://github.com/jerryaldrichiii)) <!-- 1.4.22 -->
|
|
14
13
|
<!-- release_rollup -->
|
|
15
14
|
|
|
16
15
|
<!-- latest_stable_release -->
|
|
16
|
+
## [v1.4.21](https://github.com/inspec/train/tree/v1.4.21) (2018-07-05)
|
|
17
|
+
|
|
18
|
+
#### Merged Pull Requests
|
|
19
|
+
- Remove the delivery cookbook [#317](https://github.com/inspec/train/pull/317) ([tas50](https://github.com/tas50))
|
|
20
|
+
- Modify `WindowsPipeRunner` stderr to use String [#320](https://github.com/inspec/train/pull/320) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
|
|
21
|
+
<!-- latest_stable_release -->
|
|
22
|
+
|
|
17
23
|
## [v1.4.19](https://github.com/inspec/train/tree/v1.4.19) (2018-06-29)
|
|
18
24
|
|
|
19
25
|
#### Merged Pull Requests
|
|
@@ -21,7 +27,6 @@
|
|
|
21
27
|
- Adding proper bastion support [#310](https://github.com/inspec/train/pull/310) ([frezbo](https://github.com/frezbo))
|
|
22
28
|
- Remove github_changelog_generator [#313](https://github.com/inspec/train/pull/313) ([tas50](https://github.com/tas50))
|
|
23
29
|
- Remove the deploy config from Travis [#315](https://github.com/inspec/train/pull/315) ([tas50](https://github.com/tas50))
|
|
24
|
-
<!-- latest_stable_release -->
|
|
25
30
|
|
|
26
31
|
## [v1.4.15](https://github.com/inspec/train/tree/v1.4.15) (2018-06-14)
|
|
27
32
|
|
data/README.md
CHANGED
|
@@ -22,6 +22,7 @@ Train supports:
|
|
|
22
22
|
* Mock (for testing and debugging)
|
|
23
23
|
* AWS as an API
|
|
24
24
|
* Azure as an API
|
|
25
|
+
* VMware via PowerCLI
|
|
25
26
|
|
|
26
27
|
# Examples
|
|
27
28
|
|
|
@@ -79,6 +80,20 @@ require 'train'
|
|
|
79
80
|
train = Train.create('aws')
|
|
80
81
|
```
|
|
81
82
|
|
|
83
|
+
**VMware**
|
|
84
|
+
|
|
85
|
+
```ruby
|
|
86
|
+
require 'train'
|
|
87
|
+
Train.create('vmware', viserver: '10.0.0.10', user: 'demouser', password: 'securepassword')
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
You may also use environment variables by setting `VISERVER`, `VISERVER__USERNAME`, and `VISERVER_PASSWORD`
|
|
91
|
+
|
|
92
|
+
```ruby
|
|
93
|
+
require 'train'
|
|
94
|
+
Train.create('vmware')
|
|
95
|
+
```
|
|
96
|
+
|
|
82
97
|
## Configuration
|
|
83
98
|
|
|
84
99
|
To get a list of available options for a plugin:
|
|
@@ -151,7 +166,7 @@ bundle exec ruby -I .\test\windows\ .\test\windows\local_test.rb
|
|
|
151
166
|
|
|
152
167
|
Train is heavily based on the work of:
|
|
153
168
|
|
|
154
|
-
* [test-kitchen](https://github.com/test-kitchen/test-kitchen)
|
|
169
|
+
* [test-kitchen](https://github.com/test-kitchen/test-kitchen)
|
|
155
170
|
|
|
156
171
|
by [Fletcher Nichol](fnichol@nichol.ca)
|
|
157
172
|
and [a great community of contributors](https://github.com/test-kitchen/test-kitchen/graphs/contributors)
|
|
@@ -11,6 +11,8 @@ module Train::Platforms::Detect::Specifications
|
|
|
11
11
|
plat.name('aws').in_family('cloud')
|
|
12
12
|
plat.name('azure').in_family('cloud')
|
|
13
13
|
plat.name('gcp').in_family('cloud')
|
|
14
|
+
plat.name('vmware').in_family('cloud')
|
|
15
|
+
|
|
14
16
|
plat.family('iaas').in_family('api')
|
|
15
17
|
plat.name('oneview').in_family('iaas')
|
|
16
18
|
end
|
data/lib/train/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: train-core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.22
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dominik Richter
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-07-
|
|
11
|
+
date: 2018-07-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mixlib-shellout
|