Commit Graph

37 Commits (d-powershell-generated-docs)

Author SHA1 Message Date
Artem Zavatskiy c0048daed5 fix agent auth in ssh communicator for ansible provisioner (#9488)
6 years ago
Sylvia Moss 1c30a71d09
Replace file shared state by statebag (#9238)
6 years ago
Megan Marsh ca5814ab74 move proxy behind feature flag
6 years ago
Sylvia Moss 76f13deaf4
Make template variables SSHPublicKey and SSHPrivateKey as strings (#8829)
6 years ago
Sylvia Moss dc31bad539
Sharing info with post-processors via artifact (#8632)
6 years ago
Moss 0566f1f999 Extract http ip discover to a new step
6 years ago
Sylvia Moss 0b7251a4bb
Share .Device and .MountPath between builders, provisioners and post-processors (#8621)
6 years ago
Sylvia Moss 0677b02e18
Share SourceImageName with provisioners and manifest post-processor (#8603)
6 years ago
Megan Marsh 21a849354b fix hook data loading
6 years ago
Megan Marsh a125f81fba add some more comments
6 years ago
Megan Marsh 82367a88f8 reorganize placeholder data call to live with provisioner implementation; force users to use the generated function, therefore forcing validation, for all variables except winrmpassword, by doing a simple string check against the placeholder data.
6 years ago
Megan Marsh ac570e0cc0 store ssh public and private keys on shared info
6 years ago
Megan Marsh 88d4ce37c9 template functioin to let Provisioners access PACKER_RUN_UUID
6 years ago
Megan Marsh 84063d2132 implement ID and Type values in the provisioner template info sharing
6 years ago
Megan Marsh e1652696a6 Rather than using reflection to grab the whole SSH config, for now just use the config convenience functions to get the majority of needed values
6 years ago
Megan Marsh 39fd462b56 change all provision func signatures to use map[string]interface{}
6 years ago
Megan Marsh 5d266b20d0 generated func now validates based on data provided in context, which needs to include the future values if it is to be interpolated properly.
6 years ago
Megan Marsh 528b853178 stub out generated func for validation
6 years ago
Megan Marsh 6f418d0e54 get data sharing to a working state with the powershell provisioner
6 years ago
Megan Marsh f4c3501af5 pass struct of generated data into provision() call
6 years ago
Megan Marsh 59efa0faee rename option to error-cleanup-privisoner, which I think is clearer
7 years ago
Megan Marsh 5bd8fee708 Creates a final "cleanup" provisioner to run if an error occurs during a provisioning step, allowing users to perform any custom cleanup tasks that must happen on the VM before the VM is shut down and destroyed.
7 years ago
Adrien Delorme 82c4b76639 [Builder|Build|PostProcessor|Provisioner|Hook]Server: context cancel using a RPC cancel method
7 years ago
Adrien Delorme 829851fc8a change hooks to be passed a context for cancellation
7 years ago
Megan Marsh a0edaf6c46 Going to revert this change for now, becuase of potential issues that arise from calling Prepare() twice
8 years ago
Megan Marsh b35acbd879 use statebag instead of SetSharedState for winRM password
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
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Mitchell Hashimoto 2d13db300c packer: HookProvision errors if no communicator
11 years ago
Mitchell Hashimoto 21bb0674f2 builder/docker: ctrl-C works during provisioning
12 years ago
Mitchell Hashimoto 0b830c92ba common: Use new multistep API
13 years ago
Mitchell Hashimoto 0dc347c70d packer: implement Cancel in ProvisionHook
13 years ago
Mitchell Hashimoto 9f559cb25c common: detect ctrl-c in Provision
13 years ago
Mitchell Hashimoto 5b7d8fbc74 rename builder/common to common since it is generally useful
13 years ago