Commit Graph

187 Commits (b4e70cc0ec0b24b040fe0dfbf68c560dc6c0f736)

Author SHA1 Message Date
Megan Marsh eb8c74bf85 allow ssh_host config option to override host logic for all builders
7 years ago
Megan Marsh 8d5ecb9514 fix bug where ReadAll on the stderr pipe was causing an infinite hang because there was no stderr to report
7 years ago
Adrien Delorme 2da36b7374 builder/docker: default container dir to "c:/packer-files" on windows
7 years ago
Megan Marsh 71f2017209 read stderr before we try to read the artchive.
7 years ago
Adrien Delorme 63f5bbbc73 use our own copy of iochan.LineReader
7 years ago
Adrien Delorme 6ff392d713 Update windows_container_communicator.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
Adrien Delorme c4f3dccc14 rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts
7 years ago
Adrien Delorme a4bf94dd3c change Builder to be passed a context for cancellation
7 years ago
Megan Marsh af06334114 fix tests
7 years ago
Megan Marsh 6407a579f0 Document why we need windows communicator in code
7 years ago
Megan Marsh 12b9004c76 reduce duplicated code
7 years ago
Megan Marsh 0860edeed8 fix mocks
7 years ago
Megan Marsh 70150ffa0f set powershell entrypoint for windows containers
7 years ago
Megan Marsh 36f2634352 can't use docker cp so call powershell to do this natively. Fix implementation for upload, uploadDir, and download in windows container communicator
7 years ago
Megan Marsh af01860fa9 remove old docker-toolbox limitation.
7 years ago
Megan Marsh 3b87f2a519 stop container before committing if windows
7 years ago
Megan Marsh 8f3313d81e Create new docker communicator for windows containers
7 years ago
Adrien Delorme 9f82b75e57 Use the hashicorp/go-getter to download files
7 years ago
Megan Marsh 3b6ff0fe3e
Merge pull request #7106 from hashicorp/revert_docker_changes
7 years ago
Adrien Delorme f57953d4ff Docker needs a temporary dir that is inside the $HOME dir
7 years ago
Adrien Delorme 9f7b4ffc17
Merge branch 'master' into pr/6950
7 years ago
Ladar Levison 6ac5971288 Fixed cmd order for docker driver. Added config to post proc.
7 years ago
Ladar Levison 10095678c8 Adding driver changes.
7 years ago
Ladar Levison 21fdbadf04 Adding changes to import prototype.
7 years ago
Ladar Levison 050f809a1c Add changes var to docker driver import func.
7 years ago
Adrien Delorme 2718a5ed62 Revert "revert changes to docker entrypoint; since this is a backwards-breaking change it needs to wait for a minor release"
7 years ago
Megan Marsh 2a79d64ae0 revert changes to docker entrypoint; since this is a backwards-breaking change it needs to wait for a minor release
7 years ago
Adrien Delorme b7222d1f56 Add tmp package that offers Dir & File funcs
7 years ago
Ali Rizvi-Santiago a6af04417e Moved the entrypoint argument for the docker builder in front of the image so it's passed correctly as an argument.
7 years ago
Ali Rizvi-Santiago 2e977019e4 Modified the docker builder's default run_command to specify the shell via the entrypoint command line argument as suggested by @vrubiolo in #6920.
7 years ago
Ali Rizvi-Santiago 310ea6c006 Updated docker's default config to use regular bourne shell instead of bourne again. Closes #6920.
7 years ago
Megan Marsh 38cc525ec7 new option allowing user to clean up the ephemeral ssh key from the authorized_keys file
8 years ago
Adrien Delorme 61480f41dc fix some go vet issues in tests ( composite literal uses unkeyed fields )
8 years ago
Adrien Delorme 41f6e0334d refactor all copy pasted sshConfig with into communicator.Config.SSHConfigFunc
8 years ago
Megan Marsh ee1ff3132d remove attempt to discover whether destination is a directory from upload function in various communicators
8 years ago
Matthew Hooker ff64ccda55
Merge pull request #5426 from hashicorp/fix_4915
8 years ago
Matthew Hooker 8cd403425e
test fixes WIP
8 years ago
Matthew Hooker 7a189a83a1
fix imports
8 years ago
Matthew Hooker a831d522be
change run signatures
8 years ago
Matthew Hooker 366dc3da0a
move multistep imports to helper.
8 years ago
Matthew Hooker ebe995c0ff
run goimports
8 years ago
Krzysztof Wilczynski 567b566c23
docker: Remove AWS credentials and Session Token from being shown in the log.
8 years ago
Matthew Hooker b07a0cd6f0
fix tests
8 years ago
Matthew Hooker 1901c0385f
remove login_email from docker
8 years ago
Aaron Browne ffc63a8724 Use amazon common AccessConfig for ecr_login
8 years ago
Aaron Browne 8df643c343 Add aws_profile option to docker-push ecr_login
8 years ago
localghost 5866d4ea24 Move container user inspect to StepConnectDocker.
8 years ago
Megan Marsh 8452ca898c implemented for docker communicator
9 years ago