Commit Graph

45 Commits (774a168957f14cedc2dd67b9bb2ea329fcd5d294)

Author SHA1 Message Date
Adrien Delorme 40947c2bf6
HCL2: generate hcl tags with go-cty tags too (#9306)
6 years ago
Sylvia Moss 1c30a71d09
Replace file shared state by statebag (#9238)
6 years ago
Lars Lehtonen 7440c2e6ba
provisioner/windows-shell: remove unused testObjects() (#9116)
6 years ago
Adrien Delorme 840e67f775
HCL2: when we see a map generate an attribute spec instead of a block spec (#9035)
6 years ago
Adrien Delorme 4b7132c87c Merge remote-tracking branch 'origin/master' into sharing_info
6 years ago
Adrien Delorme 0785c2f6fc
build using HCL2 (#8423)
6 years ago
Megan Marsh 39fd462b56 change all provision func signatures to use map[string]interface{}
6 years ago
Megan Marsh 0ca7c9f397 fix tests
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 7d4353864f use shell struct in shell-local provisioner and post-processor.
6 years ago
nywilken 3522e13b1e provisioner/shell: Add `env_var_format` support to shell provisioner
6 years ago
Adrien Delorme 078ba7c8c3 commit old code generation tool
7 years ago
Adrien Delorme 193d3e6bbd provisioner.windows-shell: demove duplicate ExecuteCommand field
7 years ago
Adrien Delorme d72040f4fa move retry code into the common/retry pkg and make retry context aware
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 c7ce4d598e change Provisioner to be passed a context for cancellation
7 years ago
Megan Marsh 0e6c779a88 allow user to access env_var_format in windows_shell call
7 years ago
Adrien Delorme 72e5ae9ddc use ValidExitCode in provisioners windows-shell, powershell and shell
7 years ago
Adrien Delorme 30a65c858a regroup shell provisioner params into a common struct
7 years ago
Adrien Delorme 8fea9439f8 windows-shell provisioner: allow to pass ValidExitCodes
7 years ago
Adrien Delorme b7222d1f56 Add tmp package that offers Dir & File funcs
7 years ago
Megan Marsh e69391f28b save users some bash scripting by exposing IP and port separately as well as together
7 years ago
DanHam 69ac7b56f6
Remove tmp files created by provisioner/windows-shell tests
8 years ago
DanHam 7cf31060eb
Remove script containing Win-Shell inline commands from local tmp when done
8 years ago
Josh Soref 24b4c36fc9 spelling: function
8 years ago
Josh Soref b545c6f87e spelling: flattened
8 years ago
Luke Farnell d9a5b69403 clean up ineffectual assignments
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Matthew Hooker de296ac06b
simplify
9 years ago
Matthew Hooker 0149f679de
Print instead of Printf with no dynamic first variable.
9 years ago
DanHam 28051a9218 provisioner/windows-shell: fix and compact env var test
9 years ago
DanHam e8db6b9b9a provisioner/windows-shell: Remove env var check - again checked in prepare
9 years ago
DanHam 2bd9fa6c70
Use counter for index. Sort stray comments.
9 years ago
Matthew Hooker c33cef9c12
tests for equals in windows-shell
9 years ago
DanHam 49bc2e353f
Fix to allow equals in value of environment variable. Mirrors #4328
9 years ago
Matthew Hooker 480398c3d2
only set PACKER_HTTP_ADDR if a server is listening
9 years ago
Matthew Hooker 6563eb213c
Document. add to windows-shell and powershell
9 years ago
Taliesin Sisson 335615408a Run go fmt on files
9 years ago
Taliesin Sisson c88a2ef872 Remove trailing tabs
9 years ago
Taliesin Sisson 55353fae89 Fix spelling mistake
9 years ago
Taliesin Sisson 6c3030c73a Add a little safety around variables that are passed into provisioner.
9 years ago
Mitchell Hashimoto 7c8e86c9c5 provisioner/*: fix interpolation context
11 years ago
Mitchell Hashimoto 339a4ccdab provisioner/windows-shell
11 years ago