Name: kitchen-vro
Owner: Chef Partners
Description: Test Kitchen driver for VMware vRealize Orchestrator
Created: 2015-08-21 19:12:47.0
Updated: 2017-03-22 17:28:18.0
Pushed: 2016-02-03 14:57:39.0
Homepage: null
Size: 18
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A driver to allow Test Kitchen to consume VMware resources provisioned by way of vRealize Orchestrator workflows.
vRO allows you to create any workflow you can imagine, but our plugin needs to make some assumptions about the workflows you design in order to properly provision and destroy resources. Therefore, please pay special attention to the Workflow Design section below and ensure your workflows adhere to these design requirements.
Add this line to your application's Gemfile:
'kitchen-vro'
And then execute:
$ bundle
Or install it yourself as:
$ gem install kitchen-vro
Or even better, install it via ChefDK:
$ chef gem install kitchen-vro
After installing the gem as described above, edit your .kitchen.yml file to set the driver to 'vro' and supply your login credentials:
er:
me: vro
o_username: user@domain.com
o_password: MyS33kretPassword
o_base_url: https://vra.corp.local:8281
Additionally, the following parameters are required, either globally or per-platform:
There are a number of optional parameters you can configure as well:
An example .kitchen.yml
that uses a combination of global and per-platform
settings might look like this:
er:
me: vro
o_username: user@domain.com
o_password: MyS33kretPassword
o_base_url: https://vra.corp.local:8281
eate_workflow_name: Create TK Server
stroy_workflow_name: Destroy TK Server
forms:
name: centos
driver:
create_workflow_parameters:
os_name: centos
os_version: 6.7
name: windows
driver:
create_workflow_parameters:
os_name: windows
os_version: server2012
cpus: 4
memory: 4096
There are no limits as to what you can do with your vRO workflows! However, they must meet the following requirements.
ip_address
that Test Kitchen can
connect to in order to bootstrap and test your node.server_id
that is a unique ID of
the server created. Test Kitchen will provide this value to the Destroy
Workflow in order to request the destruction of the server once testing is
complete.server_id
that Test Kitchen will
populate with the unique ID returned from the Create Workflow output.Author:: Chef Partner Engineering (partnereng@chef.io)
Copyright:: Copyright (c) 2015 Chef Software, Inc.
License:: Apache License, Version 2.0
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
We'd love to hear from you if this doesn't perform in the manner you expect. Please log a GitHub issue, or even better, submit a Pull Request with a fix!
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)