packer-cn/packer/rpc
Adrien Delorme 9f97173371 PostProcessorServer.PostProcess: don't close the artifact we are serving
Sometimes, the artifact returned by PostProcess is the artifact from client.Artifact() and in that case we don't want to close client; otherwise the outcome is sort of undetermined. See #9995 for a good test file.

fix #9995
2020-10-05 14:27:55 +02:00
..
artifact.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
artifact_test.go run goimports 2018-01-22 17:21:10 -08:00
build.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
build_test.go packer/rpc: remove unused cancelCalled field from testBuild{} 2019-11-04 12:59:55 -08:00
builder.go Merge remote-tracking branch 'origin/master' into sharing_info 2019-12-17 11:57:09 +01:00
builder_test.go add an extra string array to the Prepare() return values in the builder interfaces; this sets up the ability for builders to give the provisioners custom user-accessible build-time variables. 2019-12-16 21:23:05 -08:00
client.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
client_test.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
common.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
communicator.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
communicator_test.go allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
cty_encode.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
error.go packer/rpc: use the msgpack codec 2014-04-26 13:31:34 -07:00
error_test.go packer/rpc: don't depend on cgl 2013-10-16 17:04:57 -10:00
fileinfo.go allow ssh communicator's Upload fastpath to execute 2016-09-28 23:22:04 -07:00
fileinfo_test.go allow ssh communicator's Upload fastpath to execute 2016-09-28 23:22:04 -07:00
hook.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
hook_test.go [Builder|Build|PostProcessor|Provisioner|Hook]Server: context cancel using a RPC cancel method 2019-04-03 15:55:55 +02:00
init.go remote duplicate gob.Register(new(map[string]interface{})) 2019-10-15 12:56:42 +02:00
mux_broker.go simplify some code 2017-03-28 20:36:20 -07:00
mux_broker_test.go packer/rpc: Fix tests that swallowed errors in goroutines 2019-09-11 05:22:01 -07:00
post_processor.go PostProcessorServer.PostProcess: don't close the artifact we are serving 2020-10-05 14:27:55 +02:00
post_processor_test.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
provisioner.go Merge remote-tracking branch 'origin/master' into sharing_info 2019-12-17 11:57:09 +01:00
provisioner_test.go change all provision func signatures to use map[string]interface{} 2019-12-12 15:38:32 -08:00
server.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
server_test.go
ui.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
ui_progress_tracking.go Revert "WIP: go towards context cancelled rpc pkg" 2019-04-03 15:55:55 +02:00
ui_test.go Use the hashicorp/go-getter to download files 2019-03-13 12:11:58 +01:00