Commit Graph

130 Commits (karthik/powershell_encoding)

Author SHA1 Message Date
Anurag Sharma d3988669ea provisioner: refactored the inline script creation
1 year ago
Anurag Sharma 36f6b3644f add more context for config variable usage
1 year ago
Anurag Sharma 8e75537601 check for shebang after whole script is interpolated
1 year ago
Anurag Sharma ee74751181 moved the logic to provision method
1 year ago
Anurag Sharma e8c2f7b3b0 fix: take only first line from the script
1 year ago
Anurag Sharma c1db3bf8fa provisioner: set InlineShebang based on Inline content
1 year ago
Lucas Bajolet 962ccdfc80 packer: address gosimple lint errors
2 years ago
Lucas Bajolet e8d3a55b5f packer: address errcheck lint errors
2 years ago
hashicorp-copywrite[bot] 19055df3ec
[COMPLIANCE] License changes (#12568)
3 years ago
hashicorp-copywrite[bot] b7df3ca36f
[COMPLIANCE] Add Copyright and License Headers (#12254)
3 years ago
Lucas Bajolet c99b300e3a
Add support for Env in remote shell provisioners (#11819)
4 years ago
Adrien Delorme 87ba7258b3
Use packer-sdc in packer + remove mapstructure-to-hcl2 & struct-markdown (#10913)
5 years ago
Megan Marsh 88b7b0e14a remove sdk
5 years ago
Megan Marsh 56a45b04ab Move hook and communicator definitions to packer-plugin-sdk
6 years ago
Megan Marsh c70870cb83 move multierror and multierrorappend into sdk
6 years ago
Megan Marsh 001886670d move Ui definition into the packer plugin sdk.
6 years ago
Megan Marsh 9e47696dff move helper/config to bundle with the other template definitions
6 years ago
Megan Marsh 3f6deb8828 move multistep into the plugin sdk
6 years ago
Megan Marsh 7d658149ea update tests and website and generated partials to reflect new package format
6 years ago
Megan Marsh 1ffc358ada move tmp helper func into packer-plugin-sdk
6 years ago
Megan Marsh e04eaa89e6 move steps and step configs from packer/common to packer/common/commonsteps
6 years ago
Megan Marsh 6402362018 create packer-plugin-sdk directory and begin moving the relevant folders into it.
6 years ago
Megan Marsh c0ce8a9414 rework fixer deprecation code so we know what plugins they relate to
6 years ago
Sylvia Moss 1c30a71d09
Replace file shared state by statebag (#9238)
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{}
7 years ago
Megan Marsh 6f418d0e54 get data sharing to a working state with the powershell provisioner
7 years ago
Megan Marsh f4c3501af5 pass struct of generated data into provision() call
7 years ago
Megan Marsh 7d4353864f use shell struct in shell-local provisioner and post-processor.
7 years ago
nywilken 3522e13b1e provisioner/shell: Add `env_var_format` support to shell provisioner
7 years ago
Adrien Delorme 819329228a Change back to make sure all durations are a time.Duration
7 years ago
Adrien Delorme 078ba7c8c3 commit old code generation tool
7 years ago
Lars Lehtonen 9c19cfdc6f
provisioner/shell: fix dropped error
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 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
8 years ago
Megan Marsh e69391f28b save users some bash scripting by exposing IP and port separately as well as together
8 years ago
Adrien Delorme 56fd98552e
removed space
8 years ago
Mark Meyer 31afd1c2f8 Add PauseAfter option to shell provisioner
8 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 cce13e3877 shell provisioner: add option to source env vars from a file
8 years ago