/kitchen-azure

Primary LanguageRubyOtherNOASSERTION

Kitchen::Azure

Build Status

A Test Kitchen Driver for Microsoft Azure.

Requirements

  • A Microsoft Azure account
  • An Azure subscription
  • A .publishsettings file with the subscription definition and management certificate

Installation and Setup

The most basic configuration required is shown below. Specify this in the .kitchen.yml file

driver:
  name: azure
  subscription: "SubscriptionName"
  publish_settings_file: "/path/to/publishsettings"
  storage_account: "StorageAccountName"

Platforms currently supported:

platforms:
  - name: centos-6.3
  - name: centos-6.4
  - name: centos-6.5
  - name: ubuntu-12.04
  - name: ubuntu-13.10
  - name: ubuntu-14.04

Please read the Driver usage page for more details.

Configuration

Below is a list of the configuration options, their obligatoriness and defaults

  • publish_settings_file

Required Path to publish settings file Either specify as an environment variable PUBLISH_SETTINGS_FILE=/path/to/file or in the .kitchen.yml file

  • subscription

Required Name of Azure subscription Either specify as an environment variable SUBSCRIPTION=SubscriptionName or in the .kitchen.yml file

  • storage_account

Required Name of the storage account to use Either specify as an environment variable STORAGE_ACCOUNT=StorageAccountName or in the .kitchen.yml file

  • port

The SSH port to use Default: 2222

  • username

The VM username to use Default: azureuser

  • location

The Azure datacenter location to use Default: East US

  • size

The size of the VM to create Default: small

Development

Pull requests are very welcome! Make sure your patches are well tested. Ideally create a topic branch for every separate change you make. For example:

  1. Fork the repo
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Authors

Created and maintained by Grant Ellis (grant.ellis@marks-and-spencer.com)

License

Apache 2.0 (see LICENSE)