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

27 Коммитов

Автор SHA1 Сообщение Дата
zjhe abe41c5043 use env to set variable so if we'd like to add an example without this variable, the test won't failed. 2022-11-23 16:09:49 +08:00
zjhe d675f0a17a Add MSI_ID to version upgrade test. 2022-11-11 16:38:16 +08:00
zjhe acaba7d736 refactor code to pass pr-check 2022-11-02 22:25:10 +08:00
zjhe 2df690864e add github action files. fix acc tests 2022-11-01 18:14:29 +08:00
hezijie d706a2390b ci, half way 2022-10-20 15:51:05 +08:00
Yuping Wei ce71f7e503
Add variable `delete_data_disks_on_termination` (#170)
* update

* update

* update

* update

* update

* update

Co-authored-by: root <root@ubuntu-wyp.4smfdm3ngeyufpdz0muw5zebpc.bx.internal.cloudapp.net>
2021-05-24 16:32:30 +08:00
Yuping Wei 01fee360c6
Fix fixture test (#165)
* update

* update

* update

* update

* update

Co-authored-by: root <root@ubuntu-wyp.4smfdm3ngeyufpdz0muw5zebpc.bx.internal.cloudapp.net>
2021-04-29 16:16:07 +08:00
Yuping Wei c130793fb6
Fix fixture test (#163)
* update

* update

* update

* update

* update

* update

* update

Co-authored-by: root <root@ubuntu-wyp.4smfdm3ngeyufpdz0muw5zebpc.bx.internal.cloudapp.net>
2021-03-08 09:55:42 +08:00
Ali Allomani 1c6986bf14
support raw value for ssh keys in addition to paths (#159)
* support raw value for ssh keys in addion to paths

* support raw value for ssh keys in addion to paths

* moved ssh key type check to linux vm resource

* moving ssh value to a new variable

* tf fmt

* Update README.md

change name to `ssh_key_values`

* Update main.tf

* Update main.tf

* Update variables.tf

* Update README.md

format

Co-authored-by: Yuping Wei <56525716+yupwei68@users.noreply.github.com>
2020-12-15 13:17:02 +08:00
juan-acevedo-ntt c6987b39af
Adding support for the 'extra_disks' parameter (#152)
* Adding support for the 'extra_disks' parameter
* Adding a new parameter 'extra_disks' to add custom size data disks
* updated README.md
* updated main.tf
*	updated variables.tf
* tested on TF v0.13.5

* Test added for extra_disks and format fixed

* Update README.md

* Fix typo in variables.tf

* Update variables.tf

Co-authored-by: Yuping Wei <56525716+yupwei68@users.noreply.github.com>
2020-12-02 15:29:11 +08:00
Yuping Wei 3032f5e061
Integration of Terramodtest 0.8.0 (#157)
* update

* update

* update

* update

* remove useless

* update

* update

* update

* update

* update

* update

* update

Co-authored-by: root <root@ubuntu-wyp.4smfdm3ngeyufpdz0muw5zebpc.bx.internal.cloudapp.net>
2020-12-01 11:00:11 +08:00
Ali Allomani a4358f056a
support os_profile_secrets (#150)
* support os_profile_secrets

* os secrets test with keyvault

* terraform fmt

* fixed keyvault test

* fixed keyvault test

* vault test corrections

* vault test location correction

* updated README

* test os_profile_secrets for linux, terraform fmt

* Updated README

* updated os_profile_secrets variable description

Co-authored-by: Yuping Wei <56525716+yupwei68@users.noreply.github.com>
2020-11-26 15:35:07 +08:00
Ali Allomani 869704f278
support defining sku for public ip (#151)
* support defining sku for public ip

* added test in fixture and updated README
2020-11-20 10:25:45 +08:00
Aaldert van Wijk 87302ac405
support multiple ssh keys (#147)
* Support multiple ssh keys

* Create extra variable extra_ssh_keys to keep ssh_key unchanged

* Update documentation with usage examples

* Update test fixture to deploy one extra ssh key

* concat instead of merge
2020-11-19 17:20:15 +08:00
CrowderKroger 640ce1f599
#59 Adding support for the license_type parameter (#144)
* Adding support for the license_type parameter

* Updated conditional

* Ran terraform fmt

* Adding NL at EOF for variables.tf

* Changed per @yupwei68
2020-09-29 09:59:15 +08:00
CrowderKroger 4f581a6efe
GH142 Adding support for identities (#143)
* GH142 Adding support for identities

rebase me

* Second dynamic block

* NL at EOF for vars

* Adding types per tf 0.13.x

* Ran terraform fmt

* Updated README, outputs, tests

* Added support for identity principal id output

* Removed dup output

* Add variable `identity_type` and `identity_ids`

* Update outputs.tf

* Update outputs.tf

* Update main.tf

* Update main.tf

* Update outputs.tf

Co-authored-by: Yuping Wei <56525716+yupwei68@users.noreply.github.com>
2020-09-10 12:11:19 +08:00
Yuping Wei 0d48bb47d1
Terraform 0.13 upgrade (#140)
* update

* update

* update
2020-09-07 16:47:22 +08:00
Yuping Wei f88f65204f
Allow custom location and fix issues (#135) 2020-06-18 17:17:41 +08:00
Yuping Wei a146787f2f
Fix CI test #130 2020-04-10 20:33:56 +08:00
Yuping Wei 80cab6f464
Removal of resource group & azurerm 2.0 (#124) 2020-03-16 10:53:33 +08:00
Yuping Wei 995219821c
upgrade to Terraform v0.12 (#122)
* upgrade to v0.12

* add comment for test

* add comment for test

* remove useless test code

* change bool type

* remove useless import

* add os back
2020-01-10 11:15:24 +08:00
Mikael d9a2e38e88 add enable_accelerated_networking property and variable for Network Interface (#78)
* add enable_accelerated_networking property and variable for  network interface

* improve indentation
add test

* Fix the indention issue.

* Remove unnecessary empty lines in tfvars.

* Fix linting error caused by a typo.
2019-01-15 17:41:57 -08:00
Neil Dahlke ee583a905a Adding custom data field (Issue #65) to Linux OS profiles. (#85)
* Adding custom data field (Issue #65) to Linux OS profiles for
initialization.

* Formatting variables file.

* Formatting fixture variables as well.

* Adding newline to end of `.tfvars` file.
2019-01-07 16:07:45 -08:00
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 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
Junyi Yi 178de09649 Fix tfstate issue caused by the breaking change of kitchen terraform. (#31) 2017-12-07 22:10:11 -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