chef-partners/kitchen-oraclecloud

Name: kitchen-oraclecloud

Owner: Chef Partners

Description: Test Kitchen driver for Oracle Cloud Infrastructure Classic

Created: 2015-10-07 20:24:11.0

Updated: 2018-03-27 08:19:21.0

Pushed: 2018-03-27 08:19:19.0

Homepage:

Size: 22

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

kitchen-oraclecloud

A driver to allow Test Kitchen to consume Oracle Cloud Infrastructure Classic resources to perform testing.

Installation

Add this line to your application's Gemfile:

'kitchen-oraclecloud'

And then execute:

$ bundle

Or install it yourself as:

$ gem install kitchen-oraclecloud

Or even better, install it via ChefDK:

$ chef gem install kitchen-oraclecloud
Usage

After installing the gem as described above, edit your .kitchen.yml file to set the driver to 'oraclecloud' and supply your login credentials:

er:
me: oraclecloud
ername: user@domain.io
ssword: mypassword
entity_domain: oracle12345
i_url: https://api.cloud.oracle.com
rify_ssl: true

Then configure your platforms. A shape and image is required for each platform:

forms:
name: oel64
driver:
  shape: oc3
  image: /oracle/public/oel_6.4_20GB_x11_RD
name: oel66
driver:
  shape: oc3
  image: /oracle/public/oel_6.6_20GB_x11_RD

Other options that you can set include:

All of these settings can be set per-platform, as shown above, or can be set globally in the driver section of your .kitchen.yml:

er:
me: oraclecloud
hkeys:
- user1@domain.io/key1
- user1@domain.io/key2
- user2@domain.io/user2key
Username

Most Oracle Cloud images use a default username of “opc”. However, Test Kitchen assumes the default user is “root” so you will need to override this in your .kitchen.yml:

sport:
ername: opc
License and Authors

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.

Contributing

We'd love to hear from you if this doesn't work for you. Please log a GitHub issue, or even better, submit a Pull Request with a fix!

  1. Fork it ( https://github.com/chef-partners/kitchen-oraclecloud/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.