Граф коммитов

309 Коммитов

Автор SHA1 Сообщение Дата
Zhenchen Xiao 627c6c212a
Add Terratest Example for Compute Module (#66)
* Add Terratest Example for Compute Module

* Add Terratest Example for Compute Module

* style problem

* style problem

* style problem

* build test (#2)

* build test

* build test

* build test

* build test

* build test

* build test

* Add Terratest

* Add Terratest

* Add Terratest

* Update Files

* Hide Environment Variables

* Allow Pull Requests

* Update Files

* rake build

* Update .travis.yml

* Required Changes

* Required Changes

* Update README

* Add dep ensure

* Add dep init

* Update README

* Update Docker Image

* Use dep ensure in Dockerfile

* Dep Ensure in Rakefile

* Update README
2018-07-28 15:19:51 +08:00
Su Shi 198fc3115e
Add different stages for different events. (#67)
* add different stages for different events.

* Simplify the image build parameters for build stage.

* add master branch as condition for full stage.
2018-07-17 18:01:37 -07:00
petit-lu 1741e3a5d1 add vm-with-datadisk to output (#61) 2018-05-16 08:12:37 -06:00
Su Shi c204c1598a
Integrate with terramodtest v0.2.0 to use reusable tasks. (#52)
* Integrate with terramodtest v0.2.0 to use reusable tasks.

* Fixing test to have random DNS name to avoid collissions and removing allow SSH

* This commit contains below changes:
1. Fix the random generation logic of public IP DNS to qualify for domain_name_label.
2. Cleanup useless public_ip_dns variable in testing fixture.
3. Add SSH key generation logic in Docker file.
4. Update .travis.yml to base image to 0.11.3.
5. Remove useless local SSH file path mapping from local to container.
2018-02-05 10:31:27 -08:00
David Tesar fbe03a69d8 fix network module example (#51)
* remove network module fields

* limit network module version
2018-01-25 16:22:36 -08:00
Vaijanath Angadihiremath 737c897825
Fix custom image (#50)
* Fixing the issue with custom image options conflicting with market image and simple os

* Converting is_windows_image boolean to string
2018-01-25 15:43:43 -08:00
Sriharsha Setty a8a6640754 Unique VM hostname
fixes #45
2018-01-20 07:20:42 -08:00
Su Shi 162c85b6c3
Introduced the version argument to dockerfile. (#43) 2018-01-12 18:14:06 -08:00
Su Shi 22b4e7dd2a
Fix the issue in README (#42)
* Refine the document for Ruby and Docker developer.

* Update the documentation.

* Change the title of readme for testing module.

* Update the section name.

* Fix the README issue.
2018-01-09 18:03:34 -08:00
Su Shi 15cbbf4fc2
Improve the workflow (#40)
* Refine the document for Ruby and Docker developer.

* Update the documentation.

* Change the title of readme for testing module.

* Update the section name.
2018-01-09 17:32:05 -08:00
Su Shi 0996039418 Refine readme for Ruby and Docker developer (#38)
* Change the title of readme for testing module
* Update docker steps, formatting
* Allow access to VMs by default
2018-01-09 12:57:55 -08:00
David Tesar 62f396c71f
switch to build stages (#33) 2018-01-04 08:56:59 -08:00
Su Shi 2ffcee5bd7 Support use Docker container locally and in Travis CI (#32)
* Use gem to replace local utility library.
* Add Dockerfile to run rake build.
* Removed non-system gem packages and update travis ci to use docker container.
* Update the Dockerfile to use environment variable.
* Set ruby version by default to avoid unnecessary warnings due to gemfile.
2017-12-09 09:20:08 -08:00
Junyi Yi 178de09649 Fix tfstate issue caused by the breaking change of kitchen terraform. (#31) 2017-12-07 22:10:11 -08:00
Junyi Yi fbaf1a03e0 Upgrade kitchen-terraform to 3.0 (#29) 2017-12-06 09:24:36 -08:00
Su Shi fe8216a211 Add dev workflow support for azure compute module (#28)
* Add support of test kitchen on azure compute module.
* Add test case for local.
* add test ruby file for terraform state file.
* Update readme and test case.
* Update the Gemfile for version range.
* Update the commit for minimum version for ruby in README.md.
* Introduce Rake and Travis-CI for compute module.
* add badge for travis ci result.
* Update the travis file to download and install terraform.
* add matrix for osx.
* add gpg valiation for terraform.
* add TERRAFORM_VERSION as global env var.
* disable os x build by default.
2017-11-22 12:43:52 -08:00
Jérémy Marmol c1e280bd81 Use azurerm v0.3.0 (#22)
* Add missing boot_diagnostics block
* split account_type into two variables according to last version of azurerm module
* Fix missing os_profile_linux
* Add mandatory os_profile_windows_config in windows modules
* Fix issues from v0.3.0 azurerm provider
* Add new mandatory parameters
2017-11-22 10:12:55 -08:00
runecalico d53e0a5739 Add space between variable name and starting { (#27)
Because the version of Terraform I'm using doesn't like it.
2017-11-05 09:23:43 -08:00
David Tesar 5b4096cbe8 Add NSG Update (#17)
* Fix multiple module NSGs

* Update for new functionality

* Add managed data disk example in advanced usage

* fix source location

* new spaces for better readability

* address feedback

* rm resource_group_name from simple usage

* consistent - names
2017-10-20 09:30:21 -07:00
Jérémy Marmol 7ab5f1607a nsg name use vm hostname (#21) 2017-10-18 21:57:44 -07:00
Damien Caro be822cf291 Merge pull request #19 from lbnjma/tagvms
Tagvms
2017-10-18 14:59:38 -07:00
Damien Caro ad8c86ce2f Merge pull request #20 from lbnjma/fix_provider_version
Fix version to ~> 0.2.2
2017-10-18 18:45:17 +02:00
Jeremy MARMOL 7c1faf1fe6 Fix version to ~> 0.2.2 2017-10-18 11:38:48 +02:00
Jeremy MARMOL 7b63b02d9d Report tags on vms 2017-10-18 08:57:14 +02:00
Jeremy MARMOL 32b8f5d1fc Merge from master Azure/terraform-azurerm-compute 2017-10-18 08:46:14 +02:00
Jeremy MARMOL c684718b43 Merge branch 'master' into production 2017-10-16 09:50:11 +02:00
Jérémy Marmol c9690a97f7 Add datastorage disk (#9)
* Add datastorage disk
* Add datadisk true/false for optional disk
* Add ide config directory to gitignore
2017-10-13 12:42:11 -07:00
Jeremy MARMOL 8b95981959 Merge branch 'add_datadisk' into production 2017-10-13 12:10:20 +02:00
Jeremy MARMOL 2715fa20e4 Add ide config directory to gitignore 2017-10-13 11:56:05 +02:00
Jeremy MARMOL f630f3c99b Fix merge error 2017-10-13 10:42:46 +02:00
Jeremy MARMOL cd53541175 Merge from add_datadisk 2017-10-13 10:41:52 +02:00
Jeremy MARMOL 14c30fa6e3 Merge branch 'add_datadisk' of https://github.com/lbnjma/terraform-azurerm-compute into add_datadisk 2017-10-13 09:00:04 +02:00
Jeremy MARMOL 88d7340b11 Fix remove data_disk part in vm-linux and vm-windows 2017-10-13 08:59:39 +02:00
Jeremy MARMOL 184331051b - Fix regression on osdisk name
- Fix spacing with =
- Fix consistent variable name on datadisk
2017-10-13 08:22:44 +02:00
David Tesar 2e7f63d65d Merge branch 'master' into add_datadisk 2017-10-12 11:49:03 -07:00
Jeremy MARMOL f3f58bf9b9 Merge from add_datadisk 2017-10-12 15:17:06 +02:00
Jérémy Marmol eb37f5aa23 Allow no public ip or many (#8)
* Allow to not use public ip. Default add a public ip
* Allow to add only one IP to first VM or multiple IP to multiple VMs
2017-10-11 14:51:38 -07:00
Jérémy Marmol 40cf893f9f Add boot diagnostics, delete data disk on termination (#7)
* Add boot diagnostics option
* Allow to delete data disk on termination
* Add storage type variable for boot diag storage account
* Auto generate random name for bootdiag sa
2017-10-11 11:19:22 -07:00
David Tesar 40c0043947 PR #14 update example formatting
fix usage example formatting
2017-10-11 09:47:35 -07:00
Jeremy MARMOL 7ac397468d Merge 2017-10-11 14:37:00 +02:00
Jeremy MARMOL 3c687664d5 Add datadisk true/false for optional disk 2017-10-11 14:35:36 +02:00
Jeremy MARMOL 4cdfd7efe8 Add datastorage disk 2017-10-11 14:13:13 +02:00
David Tesar 5203610f37 PR #11 enhance os_disk_name add delete_os_disk_on_termination
Add vm_hostname to os_disk name
Allow delete_os_disk_on_termination to be specified in variables
2017-10-09 15:36:38 -07:00
David Tesar 0e6b530d24 PR#10 enhance nic_names
Add vm_hostname to nic interface name for more comprehension
2017-10-09 15:26:49 -07:00
Greg Oliver fd83e78325 fix usage example formatting 2017-10-05 14:04:22 -07:00
David Tesar 21f40f35a3 PR #12 2nd example correction
Fixed issue with second example to call Azure/network/azurerm module
2017-10-03 14:02:31 -07:00
Ira Bailey 29d98c7f4d Fixed issue where Azure/compute/azurerm module was called instead of Azure/network/azurerm 2017-10-04 01:06:03 +11:00
Jeremy MARMOL 84600bb831 Allow to delete data disk on termination 2017-10-03 11:31:23 +02:00
Jeremy MARMOL ed66005651 Add vm_hostname to os_disk name 2017-10-03 10:56:38 +02:00
Jeremy MARMOL 092753e01b Add vm_hostname to nic interface name for more comprehension 2017-10-03 10:33:06 +02:00