No commit activity in last 3 years
No release in over 3 years
A Test Kitchen Driver for Azure Virtual Machine
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 0
>= 0
>= 0

Runtime

 Project Readme

Kitchen::AzureVm

A Test Kitchen Driver for Azure Virtual Machine.

Requirements

  • Test-Kitchen

Installation and Setup

gem install kitchen-azure_vm

or put Gemfile in your project directory.

source 'https://rubygems.org'

gem 'kitchen-azure_vm'

and

bundle

Configuration

At first, put your .kithcen(.local).yml like this.

---
driver:
  name: azure_vm
  management_certificate: /path/to/management_certificate.pem
  subscription_id: <%= ENV['AZURE_SUBSCRIPTION_ID'] %>
  private_key_file: /path/to/private.key
  certificate_file: /path/to/certificate.cer

platforms:
  - name: ubuntu-14.04
  - name: centos-6.6

suites:
  - name: default
    run_list:
    attributes:

management_certificate

Path to the Management Certificate file.
The file extension is pem or pfx only.
See also https://msdn.microsoft.com/en-us/library/azure/gg551722.aspx

Examples:

  management_certificate: /path/to/management_certificate.pem

subscription_id

Your Azure Subscription ID.

Examples:

  subscription_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

private_key_file

Path to the SSH private key file.

Examples:

  private_key_file: /path/to/private.key

certificate_file

Path to the x509 SSH certificate file.

Examples:

  certificate_file: /path/to/certificate.cer

vm_user

Login user name on the VM.

The default value is azureuser.

Examples:

  vm_user: example-user

location

Location(Region) of the VM.

The default value is West US.

Examples:

  location: Japan East

ssh_port

Port number of SSH.

The default value is 22.

Examples:

  ssh_port: 2222

destroy_storage_account

Delete Storage Account when called kitchen destroy.

The default value is true.

Examples:

  destroy_storage_account: false

vm_size

VM instance size.

The default value is Small.

Examples:

  vm_size: Large

vm_image

VM boot image ID.

The default value get from public images by platform.name.

Examples:

  vm_size: Large

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 Masashi Terui (marcy9114@gmail.com)

License

Apache 2.0 (see LICENSE)