Commit Graph

16 Commits

Author SHA1 Message Date
clint shryock 840d2e7ccc Switch to acctest.RandInt for acceptance tests 2016-02-04 11:20:22 -06:00
James Nugent 6b5c1d50e7 provider/azure: Copy settings file into variable 2015-12-22 17:32:58 -05:00
James Nugent 2a7576068f provider/azure: Allow AZURE_SETTINGS_FILE for tests 2015-12-22 17:16:31 -05:00
James Nugent 4d74bc789e provider/azure: Fix vetting error 2015-12-22 16:55:01 -05:00
James Nugent 8aa991cb5d provider/azure: Remove obsolete tests 2015-12-22 16:06:12 -05:00
Paul Hinze fb0dc4951d provider/azure: read publish_settings as contents instead of path
Building on the work in #3846, shifting the Azure provider's
configuration option from `settings_file` to `publish_settings`.
2015-11-16 17:47:56 -06:00
Paul Hinze 3fbeb326cd provider/azure: acc tests fixes
* avoid name collisions
 * update image names
2015-10-14 22:59:33 -05:00
Paul Hinze ef5b6e93a9 provider/azure: fix issues loading config from homedir
Issues were:

 * `settings_file` `ValidateFunc` needs to expand homedir just like the
   `configure` does, otherwise ~-based paths fail validation
 * `isFile` was being called before ~-expand so configure was failing as well
 * `Config` was swallowing error so provider was ending up with `nil`,
   resulting in crash

To fix:

 * Consolidate settings_file path/contents handling into a single helper
   called from both `validate` and `configure` funcs
 * Return err from `Config`

To cover:

 * Added test case to validate w/ tilde-path
 * Added configure test w/ tilde-path
2015-10-13 16:57:11 -05:00
Clint Shryock 2a5c18d88b provider/azure: Allow settings_file to accept XML string 2015-08-03 15:31:25 -05:00
aznashwan 6ea0397e07 Made instances deployable on already existing services. 2015-06-26 15:49:05 +03:00
aznashwan 137cb9778e Minor fixups, refactors and test updates. 2015-06-11 21:27:40 +03:00
aznashwan 9670e69613 Merge resources unto upstream. 2015-06-11 21:27:40 +03:00
Sander van Harmelen a2aeb9f79d Adding acceptance tests together with a few minor tweaks 2015-05-28 00:51:19 +02:00
Sander van Harmelen 84a870a255 First few azure resources...
Only the azure_instance is fully working (for both Linux and Windows
instances) now, but needs some tests. network and disk and pretty much
empty, but the idea is clear so will not take too much time…
2015-05-28 00:51:17 +02:00
Paul Hinze fad6f69071 Revert "Add Azure provider"
This reverts commit f561e2a6a8.
2015-02-13 12:53:01 -06:00
Ferran Rodenas f561e2a6a8 Add Azure provider 2015-01-30 16:32:35 -06:00