packer-cn/builder/docker
Adrien Delorme f555e7a9f2 allow a provisioner to timeout
* I had to contextualise Communicator.Start and RemoteCmd.StartWithUi
NOTE: Communicator.Start starts a RemoteCmd but RemoteCmd.StartWithUi will run the cmd and wait for a return, so I renamed StartWithUi to RunWithUi so that the intent is clearer.
Ideally in the future RunWithUi will be named back to StartWithUi and the exit status or wait funcs of the command will allow to wait for a return. If you do so please read carrefully https://golang.org/pkg/os/exec/#Cmd.Stdout to avoid a deadlock
* cmd.ExitStatus to cmd.ExitStatus() is now blocking to avoid race conditions
* also had to simplify StartWithUi
2019-04-08 20:09:21 +02:00
..
test-fixtures Changed fixtures so we can do a directory test too 2015-08-12 11:48:47 -07:00
artifact_export.go Expand Artifact API to expose build state 2014-09-22 11:15:47 +01:00
artifact_export_test.go run goimports 2018-01-22 17:21:10 -08:00
artifact_import.go Expand Artifact API to expose build state 2014-09-22 11:15:47 +01:00
artifact_import_test.go run goimports 2018-01-22 17:21:10 -08:00
builder.go Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
builder_test.go run goimports 2018-01-22 17:21:10 -08:00
comm.go refactor all copy pasted sshConfig with into communicator.Config.SSHConfigFunc 2018-08-22 17:02:23 +02:00
communicator.go allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
communicator_test.go allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
config.go set powershell entrypoint for windows containers 2019-03-28 16:46:07 -07:00
config_test.go Correct and expand docker config tests for commit, discard, export_path 2015-08-20 14:15:52 -07:00
driver.go stop container before committing if windows 2019-03-27 15:25:51 -07:00
driver_docker.go Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
driver_docker_test.go Rename drover_docker_test.go to driver_docker_test.go 2013-12-26 16:09:24 -08:00
driver_mock.go fix mocks 2019-03-28 16:55:35 -07:00
driver_mock_test.go builder/docker: StepRun tests 2013-11-09 13:03:01 -08:00
ecr_login.go Use amazon common AccessConfig for ecr_login 2017-10-17 15:00:19 -04:00
exec.go run goimports 2018-01-22 17:21:10 -08:00
exec_test.go builder/docker: tests for some exec stuff 2013-11-08 22:02:47 -08:00
step_commit.go Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
step_commit_test.go test fixes WIP 2018-01-24 17:09:17 -08:00
step_connect_docker.go Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
step_export.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_export_test.go test fixes WIP 2018-01-24 17:09:17 -08:00
step_pull.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_pull_test.go test fixes WIP 2018-01-24 17:09:17 -08:00
step_run.go Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
step_run_test.go fix tests 2019-03-29 11:37:23 -07:00
step_temp_dir.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_temp_dir_test.go Add tmp package that offers Dir & File funcs 2018-12-12 16:35:57 +01:00
step_test.go fix imports 2018-01-24 17:09:17 -08:00
windows_container_communicator.go Document why we need windows communicator in code 2019-03-29 11:21:07 -07:00