Commit Graph

461 Commits (78cf1405abff0519f9912ccbf1ae5e0056741786)

Author SHA1 Message Date
Megan Marsh 78cf1405ab
Merge pull request #7480 from BobSilent/fix-hyperv-multiple-hostadapter-same-switch
7 years ago
Adrien Delorme 9ac8d8aed8 step download: ovf files usually point to a file in the same directory, using them in place is the only way
7 years ago
Adrien Delorme 63f5bbbc73 use our own copy of iochan.LineReader
7 years ago
Adrien Delorme d72040f4fa move retry code into the common/retry pkg and make retry context aware
7 years ago
BobSilent 5b289f67fe Update hyperv.go
7 years ago
Adrien Delorme f555e7a9f2 allow a provisioner to timeout
7 years ago
Adrien Delorme a81abd297b Merge remote-tracking branch 'origin/master' into context_provisioner
7 years ago
Megan Marsh 3e72e65a6c
Merge pull request #7456 from hashicorp/do_5770
7 years ago
Megan Marsh 217a93fc30 fix build_test.go on windows. This code needs to not be run in parallel, or else there can be race conditions with the post-processors all trying to access the same file at once. Additionally, I changed the test template itself so that it is valid code on either bash or cmd. Finally, I found and fixed a small bug in naming the file extensions in shell local inline scripts.
7 years ago
Adrien Delorme c4f3dccc14 rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts
7 years ago
Adrien Delorme 82c4b76639 [Builder|Build|PostProcessor|Provisioner|Hook]Server: context cancel using a RPC cancel method
7 years ago
Adrien Delorme 14048b1e11 Revert "WIP: go towards context cancelled rpc pkg"
7 years ago
Adrien Delorme 9e3a179c0d WIP: go towards context cancelled rpc pkg
7 years ago
Adrien Delorme 829851fc8a change hooks to be passed a context for cancellation
7 years ago
Adrien Delorme 9836dad0c9 introduce the clean_resource_name to clean image names and deprecate the old ones
7 years ago
Adrien Delorme 91cc7e1091 net.ListenRangeConfig.Listen: don't swap ports if max < min
7 years ago
Adrien Delorme a4a83be2b9 net.ListenRangeConfig.Listen: allow to have a port rage of zero
7 years ago
Adrien Delorme cd39aa9988 net.ListenRangeConfig.Listen: log tried ports a bit earlier in the process
7 years ago
Adrien Delorme 5a6dffde9a use port as ints
7 years ago
Adrien Delorme c214f6735b make everything a uint
7 years ago
Adrien Delorme 51294287fa StepHTTPServer: display error if we could not connect
7 years ago
Adrien Delorme 6df4128517 StepHTTPServer: use the common/net pkg
7 years ago
Adrien Delorme 1685a1c4c0 add common/net package that can listen on a random port in a range
7 years ago
Adrien Delorme 6ab28ba89c
Update common/shell/shell.go
7 years ago
Adrien Delorme b4ec6e2ed2 Create exit_code_test.go
7 years ago
Adrien Delorme eedf5e4387 Update shell.go
7 years ago
Adrien Delorme f0a23bb81d common shell provisioner: define a ValidExitCode func
7 years ago
Adrien Delorme 30a65c858a regroup shell provisioner params into a common struct
7 years ago
Adrien Delorme 9f82b75e57 Use the hashicorp/go-getter to download files
7 years ago
Vadym Haidamaka f736e2aba5 Print VerifyChecksum log for the download as ui.Message output
7 years ago
Megan Marsh 3dc1dafe58
Merge pull request #7287 from stephen-fox/ephemeral-ssh-key-pair-issue-7225
7 years ago
Stephen Fox 56c17941fe Added comment to authorized_keys 'sed' calls per review.
7 years ago
Megan Marsh 2a9f49a5c6 make sure we don't try to load an iso into memory because of a user mistake
7 years ago
xinau 36c1e8d838 moved adapter to common package
7 years ago
Stephen Fox 354fcc5cc6 Merge branch 'master' into 'ephemeral-ssh-key-pair-issue-7225'.
7 years ago
Stephen Fox e40aa515f2 Added TODO about public key removal logic.
7 years ago
Megan Marsh 2d3f84abf0
Merge pull request #7271 from hashicorp/make_generate
7 years ago
Stephen Fox 4c2851013e Fixed 'sed' regex to remove public key by magic string.
7 years ago
Adrien Delorme 8621949e01 make generate
7 years ago
Megan Marsh 482ba644a8 quote variables in powershell script to account for spaces
7 years ago
Megan Marsh 3602180b45 re-add missing import
7 years ago
Megan Marsh c63b54a1e7 move http with proxy call into a helper function
7 years ago
Tom Parker-Shemilt d72fb9bcb3 If checksums for a download don't match, display the checksum that was found
7 years ago
Megan Marsh 97a791389a deduplicate step_output_dir and move to common folder
7 years ago
Adrien Delorme 9f2a3bdfbc
Merge pull request #7181 from hashicorp/python_shell_docs
7 years ago
Megan Marsh a2c3de9396 remove outdated logline
7 years ago
Adrien Delorme 9f7b4ffc17
Merge branch 'master' into pr/6950
7 years ago
Adrien Delorme 19cbb9cb24
Merge pull request #7136 from hashicorp/fix_5984
7 years ago
Megan Marsh 93053e0488 update comments
7 years ago
Megan Marsh 9557f3eea7 use script options struct rather than passing all the variables around an extra time
7 years ago