A Test Kitchen Driver for Microsoft Azure.
- A Microsoft Azure account
- An Azure subscription
- A
.publishsettings
file with the subscription definition and management certificate
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.
Below is a list of the configuration options, their obligatoriness and defaults
Required Path to publish settings file
Either specify as an environment variable PUBLISH_SETTINGS_FILE=/path/to/file
or in the .kitchen.yml file
Required Name of Azure subscription
Either specify as an environment variable SUBSCRIPTION=SubscriptionName
or in the .kitchen.yml file
Required Name of the storage account to use
Either specify as an environment variable STORAGE_ACCOUNT=StorageAccountName
or in the .kitchen.yml file
The SSH port to use Default: 2222
The VM username to use Default: azureuser
The Azure datacenter location to use Default: East US
The size of the VM to create Default: small
- Source hosted at GitHub
- Report issues/questions/feature requests on GitHub Issues
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:
- Fork the repo
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Created and maintained by Grant Ellis (grant.ellis@marks-and-spencer.com)
Apache 2.0 (see LICENSE)