Commit Graph

11516 Commits

Author SHA1 Message Date
Adrien Delorme 43c30d6b7f Update changelog 2019-01-28 17:32:33 +01:00
Megan Marsh 839a7658a6
Merge pull request #7226 from hashicorp/fix_6549
Explicitly set ProxyFromEnvironment in httpclients when creating an aws session
2019-01-25 13:24:25 -08:00
Megan Marsh 3602180b45 re-add missing import 2019-01-25 12:33:25 -08:00
Megan Marsh 035c3506ba manually set proxyfromenvironment in default http client for ec2 sessions 2019-01-25 12:33:25 -08:00
Megan Marsh c63b54a1e7 move http with proxy call into a helper function 2019-01-25 12:32:52 -08:00
Megan Marsh 904c4b9adb
Merge pull request #7230 from hashicorp/up-aws-sdk-go
Don't try to guess region from metadata if not set + update aws-sdk-go
2019-01-25 10:06:11 -08:00
Adrien Delorme 4a2773f8fa remove default max retries config of 8, it will now be used from env
removing the code that wants to guess region from metadata allows us to change that setting, which can now be taken from environment.
2019-01-25 13:51:02 +01:00
Adrien Delorme 964b149df2 aws: remove now unused AccessConfig.metadataRegion 2019-01-25 13:03:14 +01:00
Adrien Delorme 335f442b51 aws: unwrap AccessConfig.region func
* it was used only in the Session() call.
* default region guessing from metadata should happen in the SDK, not 'manually'
2019-01-25 13:02:42 +01:00
Adrien Delorme 54af9951a8 make guard clauses to clearly see success pass 2019-01-25 13:00:21 +01:00
Adrien Delorme 0864b4d07b name unclear import 2019-01-25 12:59:43 +01:00
Megan Marsh a0c238940e
Merge pull request #7223 from hashicorp/fix_7200
escape query as suggested in issue #7200
2019-01-24 09:48:38 -08:00
Adrien Delorme 2b63569ce9 Merge remote-tracking branch 'origin/master' into up-aws-sdk-go 2019-01-24 17:32:13 +01:00
Adrien Delorme dafb513d50 Revert "aws: set max retries back to 20"
This reverts commit 4f1ed08f19.
2019-01-24 16:45:56 +01:00
Adrien Delorme 6e115cb0c4 Revert "aws: test timeout when no credenrtials are set"
This reverts commit 5cfc1a52cd.
2019-01-24 16:45:02 +01:00
Adrien Delorme 76ca0ca4a0 Revert "debug should retry"
This reverts commit c943ff00a2.
2019-01-24 16:44:53 +01:00
Adrien Delorme 09ceef758b Revert "enable verbose mode to see debug"
This reverts commit 1148bec590.
2019-01-24 16:44:51 +01:00
Adrien Delorme 1148bec590 enable verbose mode to see debug
* I will remove this commit. This is very handy as appveyor/circle/travis have different ouputs
2019-01-24 14:09:45 +01:00
Adrien Delorme c943ff00a2 debug should retry 2019-01-24 14:02:10 +01:00
Adrien Delorme 297abc3e84 appveyor.yml: timeout tests after 2m 2019-01-24 14:01:23 +01:00
Adrien Delorme 9099bf8a4a GO111MODULE=on go get github.com/aws/aws-sdk-go@v1.16.24 2019-01-24 13:07:34 +01:00
Megan Marsh e4dca0016c
Merge pull request #7156 from vtolstov/qemu
qemu: Add configuration options to specify cpu count and memory size
2019-01-23 15:19:08 -08:00
Megan Marsh d0e5c67dc3
Merge pull request #7205 from hashicorp/fix_7196
fix region stuff
2019-01-23 15:15:27 -08:00
Megan Marsh 270f851e72
Merge pull request #7183 from hashicorp/skip_post_processor
allow to use `-except` on post-processors
2019-01-23 15:10:09 -08:00
Megan Marsh f031ab56de
Merge pull request #7216 from hashicorp/fix_7208
fix docker tmp dir for mac
2019-01-23 14:57:11 -08:00
Megan Marsh b9f37f7d66 update changelog 2019-01-23 14:10:24 -08:00
Adrien Delorme c6b5cd7b73
Update website/source/docs/builders/qemu.html.md.erb
Co-Authored-By: vtolstov <v.tolstov@selfip.ru>
2019-01-24 00:23:30 +03:00
Adrien Delorme 69b95db4ba
Update website/source/docs/builders/qemu.html.md.erb
Co-Authored-By: vtolstov <v.tolstov@selfip.ru>
2019-01-24 00:23:16 +03:00
Megan Marsh 7ba913c4f3 update contributing guidelines and make sure that the PR template links to them. 2019-01-23 11:35:50 -08:00
Megan Marsh ce8f5c31df escape query as suggested in issue #7200 2019-01-23 11:04:14 -08:00
Adrien Delorme 4cc4784563
Merge pull request #7218 from Adezandee/gce-import
googlecompute-import: add guest os features
2019-01-23 16:25:21 +01:00
Adrien Delorme 698d7accb0
Merge pull request #7219 from hashicorp/update_docs
add docs for recently-merged -version option for hyperv
2019-01-23 12:15:07 +01:00
Vasiliy Tolstov b6ebe00249 provide memory and cpus like other builders does
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-01-23 13:21:52 +03:00
Adrien Delorme 4f9a6897ca
Merge pull request #7220 from hashicorp/update_nokogiri
this update is in response to a github security alert
2019-01-23 11:09:51 +01:00
Megan Marsh 64254a8cf1 this update is in response to a github security alert 2019-01-22 12:53:04 -08:00
Megan Marsh 4ea4db9ef5 add docs for recently-merged -version option for hyperv 2019-01-22 12:49:59 -08:00
Arnaud Dezandee 3d41cdfacb
googlecompute-import: add guest os features 2019-01-22 18:42:38 +01:00
Adrien Delorme f57953d4ff Docker needs a temporary dir that is inside the $HOME dir 2019-01-18 16:42:04 +01:00
Adrien Delorme e919c2ff44 GO111MODULE=on go mod vendor && git add vendor/github.com/aws && git add github.com/jmespath/go-jmespath 2019-01-18 12:48:57 +01:00
Adrien Delorme e6442db0c8 GO111MODULE=on go mod tidy 2019-01-18 12:48:57 +01:00
Adrien Delorme 9cf0b2944d GO111MODULE=on go get github.com/aws/aws-sdk-go@v1.16.21 2019-01-18 12:48:57 +01:00
Adrien Delorme 5cfc1a52cd aws: test timeout when no credenrtials are set 2019-01-18 12:48:57 +01:00
Adrien Delorme 4f1ed08f19 aws: set max retries back to 20 2019-01-18 12:48:56 +01:00
Adrien Delorme 4fef738363
Merge pull request #7215 from hashicorp/revert-wrong-push
Revert commit b8b3e64cff & 993af36f2e
2019-01-18 12:41:49 +01:00
Adrien Delorme f19b7c0300 Revert "aws: test timeout when no credenrtials are set" Revert "aws: set max retries back to 20"
This reverts commits b8b3e64cff and 993af36f2e.
2019-01-18 12:40:02 +01:00
Adrien Delorme b8b3e64cff aws: test timeout when no credenrtials are set 2019-01-18 11:43:52 +01:00
Adrien Delorme 993af36f2e aws: set max retries back to 20 2019-01-18 11:43:26 +01:00
Megan Marsh d2684d581a
Merge pull request #7210 from palfrey/checksums-on-failure
If checksums for a download don't match, display the checksum that was found
2019-01-17 16:23:49 -08:00
Tom Parker-Shemilt d72fb9bcb3 If checksums for a download don't match, display the checksum that was found 2019-01-17 20:26:16 +00:00
Megan Marsh 51c9c83766
Merge pull request #7207 from rickard-von-essen/aws-import-errormsg
When import task fails show the StatusMessage
2019-01-17 09:28:22 -08:00