Commit Graph

134 Commits (poc/packer-init)

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
Adrien Delorme 840e67f775
HCL2: when we see a map generate an attribute spec instead of a block spec (#9035)
6 years ago
Wilken Rivera 1eee0bca5f
Merge pull request #9011 from hashicorp/powershell-acceptance-test
6 years ago
Lars Lehtonen 78bb742aa5
provisioner/shell: fix dropped test error
6 years ago
Wilken Rivera 360f81b030 tests/provisioners: Add TestProvsionerPreCheck function
6 years ago
Moss 185deeeb38 Fix provisioner acc-test builder and provisioner store
6 years ago
Sylvia Moss 665330de92
Write generic Builder-Provisioner acceptance test logic (#8963)
6 years ago
Adrien Delorme b94937c05c
Update provisioner_test.go (#8900)
6 years ago
Adrien Delorme 569c802630 Update provisioner_test.go
6 years ago
Adrien Delorme f1c0a9cdbd see what's wrong with that weird test
6 years ago
Moss 112d4daa3d Fix linter
6 years ago
Moss 5a8c628880 Add acc test validation to avoid running with unit tests
6 years ago
Moss 3f49b7c66e Fix linter
6 years ago
Moss 0cc1092222 Fix format
6 years ago
Moss 2ca6804827 Move shell prov acc test to the same folder
6 years ago
Moss 6c06a2a048 Fix format
6 years ago
Moss a3740bb9be Interpolate shell inline config
6 years ago
Wilken Rivera e1a46ec293
Fix gosimple S1025 linting errors (#8838)
6 years ago
nywilken b80882f3b8 provisioner/shell: Fix envVarFile clean up issue
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 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 819329228a Change back to make sure all durations are a time.Duration
6 years ago
Adrien Delorme 078ba7c8c3 commit old code generation tool
6 years ago
Lars Lehtonen 9c19cfdc6f
provisioner/shell: fix dropped error
6 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 c7ce4d598e change Provisioner to be passed a context for cancellation
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 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
Adrien Delorme 56fd98552e
removed space
7 years ago
Mark Meyer 31afd1c2f8 Add PauseAfter option to shell provisioner
7 years ago
Megan Marsh 266a48a73a minor fixes for shell provisioner docs and logging
8 years ago
Megan Marsh ab13c73277 make varfile name unique and make sure to remove it from guest system if cleanup is true.
8 years ago
Megan Marsh 2c9a205f11 update shell provisioner tests
8 years ago
Megan Marsh cce13e3877 shell provisioner: add option to source env vars from a file
8 years ago
Megan Marsh fbbcbd772b remove file stat
8 years ago
Matthew Hooker 732a532d0e
pass file info during shell file upload
8 years ago
Matthew Hooker ecad3348b3
rephrase log message.
8 years ago
Ohad Basan 33b85b0130 Add suggestion for "expected_disconnect" option if disconnection occurs
8 years ago
Matthew Hooker 75111e49e9
remove convoluted pointer logic
8 years ago
Megan Marsh 401c718a59 set default for ExpectDisconnect to false
9 years ago
Matthew Hooker 56979a1974
Revert "Universally provide POSIX semantics for the `shell` provisioner."
9 years ago