Commit Graph

230 Commits (d-powershell-generated-docs)

Author SHA1 Message Date
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
9 years ago
Aaron Browne ffc63a8724 Use amazon common AccessConfig for ecr_login
9 years ago
Aaron Browne 8df643c343 Add aws_profile option to docker-push ecr_login
9 years ago
localghost 5866d4ea24 Move container user inspect to StepConnectDocker.
9 years ago
Megan Marsh 8452ca898c implemented for docker communicator
9 years ago
localghost ba72021274 Fix owner of files uploaded to docker container run as non-root.
9 years ago
Matthew Hooker b3661c1f63
builder/docker: set user during exec.
9 years ago
Matthew Hooker 392af507e0
builder/docker: respect rsync semantics when uploading directories.
9 years ago
Matthew Hooker 4edbd5322c
docker: stream uploads over stdin
9 years ago
Michael Juliano c8db128dc5
Modified func Upload to use docker cp
9 years ago
Megan Marsh ef858857e4 fix bug introduced by 5221
9 years ago
Sergei A Mamonov 07f7183b64 Add docker container dir to template
9 years ago
Megan Marsh 199b9062b0 fix file copy script to prevent error when encountering empty directory
9 years ago
Megan Marsh a2f7a65e35 fix communicator tests
9 years ago
Megan Marsh a281e60e15 de-mangle windows filepath to something docker can handle
9 years ago
Matthew Hooker 6581e0b7d6
add hostkeycallback everywhere else
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Matthew Hooker 79287d7e47
simplify some code
9 years ago
Matthew Hooker 230079f73a
spell fixes
9 years ago
guessi 66615e3f56 reuse the func DockerDriver.Version()
9 years ago
guessi 5eae809b0c improve description
9 years ago
guessi c5e01da3c6 Conditional ignore `force` flag for `docker-tag`
9 years ago
Matthew Hooker c41e32dbc1
print stderr on docker import failure
9 years ago
Matthew Hooker a51f492558
communicator/docker: preserve file mode.
9 years ago
Matthew Hooker 9e2d69fb97
builder/docker: create export dir if needed
9 years ago
Rickard von Essen 112f5abdae
docker: Fix crash when performing log in to ECR with an invalid URL.
9 years ago
Florian Rey 73c5eac4f0 Handle commit author & message the same way
9 years ago
Florian Rey 06bebb63d0 Add log
9 years ago
Florian Rey c925acf502 Introduce docker commit changes
9 years ago
Matthew Hooker 48bdae93d1 aws-sdk: use session.NewSession
10 years ago
Rickard von Essen 13c9db5dd5 Merge pull request #3885 from orivej/on-error
10 years ago
Rickard von Essen 476d981211 Merge pull request #3800 from benwtr/issue-3142-match-dotfiles-docker-communicator
10 years ago
Orivej Desh 6762965696 Add -on-error command line argument to allow preserving artifacts on builder errors
10 years ago
Rickard von Essen 10cba9795f Merge pull request #3476 from bhcleek/ansible-with-docker
10 years ago
Rickard von Essen b2d9782a9e
Improved support for Amazon EC2 Container Registry - ECR
10 years ago
Ben P 8ecbbe9037 backticks instead of $() for csh compatibility
10 years ago
Ben P 0d7937fce1 [docker] ls -A instead of * glob for copying paths
10 years ago
Hao 5139b853fa privilege enabled docker container (#3475)
10 years ago
Billie H. Cleek 165ec694ab fix docker builder with ansible provisioner
10 years ago
Vasiliy Tolstov feee19e4ed file provisioner improvements
10 years ago
Mark Peek bc0f438db0 Use alternate temp directories for docker
11 years ago
Seth Vargo e863dbe100 Revert "Merge pull request #2807 from markpeek/markpeek-docker-tmpdir"
11 years ago
Chris Bednarski 5eddaa77bf Corrected sprintf formatting in error messages
11 years ago
Chris Bednarski cc153aa71f Added a test to verify byte size for larger files downloaded from docker
11 years ago
Chris Bednarski 8ff5c07d0c Add a new packer template for testing large file downloads
11 years ago
Mark Peek 77bfd1de2e Workaround docker-machine shared folder mapping issue
11 years ago
Chris Bednarski 1830c81eab Correct and expand docker config tests for commit, discard, export_path
11 years ago
Chris Bednarski 5503b7f496 Don't export errors
11 years ago
Chris Bednarski 746b9a8391 Formatting tweaks
11 years ago
Chris Bednarski 1b1bd19c20 Reformat code so we can grep for this more easily
11 years ago
Chris Bednarski 750a9c61de Added discard option for docker builder, also reorganized some error messages
11 years ago
Chris Bednarski 32978a5109 Add an explicit error message when there is no output file specified
11 years ago
Chris Bednarski 5ad4b0e97e Added tests and handle the tar format from docker cp -
11 years ago
Chris Bednarski 8cdd078952 Changed fixtures so we can do a directory test too
11 years ago
Chris Bednarski 62c5e8358d Added a test for docker upload and download
11 years ago
Chris Bednarski de9ecd2d62 Add a test fixture file
11 years ago
Chris Bednarski 3523ffdce1 Farewell extra line. You were pretty but out of place.
11 years ago
Chris Bednarski 047382eec9 Style tweak
11 years ago
Chris Bednarski dc3c55cf8e Implemented downloader for the docker communicator so we can pull files out of a container
11 years ago
Chris Bednarski 715662f60b Reformat
11 years ago
Chris Bednarski f3f3d1fe73 Formatting
11 years ago
georgevicbell bf0c326cd5 Update step_connect_docker.go
11 years ago