Commit Graph

70 Commits (91ce35f439d2bd5c65b7d2e31165e481deccb8a9)

Author SHA1 Message Date
guoguangwu 7eb6a45cd4 chore: remove refs to deprecated io/ioutil
2 years ago
hashicorp-copywrite[bot] 19055df3ec
[COMPLIANCE] License changes (#12568)
3 years ago
Wilken Rivera eca75a6847 Run make fmt to fix checks
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 0362a3ec10
all shells: Pass env vars through a key value store (#11569)
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 5f34bbd56e add extra line before package declaration so this line does not become the synopsis of a package for godoc
5 years ago
Megan Marsh be5763ec41 move provisioner interface into sdk
5 years ago
Megan Marsh d5971ca25e fix tests by moving mock hooks and communicators, and BasicUi definition, into SDK
5 years ago
Megan Marsh 56a45b04ab Move hook and communicator definitions to packer-plugin-sdk
5 years ago
Megan Marsh c70870cb83 move multierror and multierrorappend into sdk
5 years ago
Megan Marsh 001886670d move Ui definition into the packer plugin sdk.
5 years ago
Megan Marsh f8f1ebf0c7 move version and useragent definitions into sdk
5 years ago
Megan Marsh 9e47696dff move helper/config to bundle with the other template definitions
5 years ago
Megan Marsh 3f6deb8828 move multistep into the plugin sdk
5 years ago
Megan Marsh 7d658149ea update tests and website and generated partials to reflect new package format
5 years ago
Megan Marsh 1ffc358ada move tmp helper func into packer-plugin-sdk
5 years ago
Megan Marsh c4d0c5505a fix tests
5 years ago
Megan Marsh e04eaa89e6 move steps and step configs from packer/common to packer/common/commonsteps
5 years ago
Megan Marsh 6402362018 create packer-plugin-sdk directory and begin moving the relevant folders into it.
5 years ago
Megan Marsh 46cf8a1602 add all provisioner version files
5 years ago
Megan Marsh 8ecd16db81 regenerate code
5 years ago
Megan Marsh c0ce8a9414 rework fixer deprecation code so we know what plugins they relate to
5 years ago
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
6 years ago
Adrien Delorme 193d3e6bbd provisioner.windows-shell: demove duplicate ExecuteCommand field
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 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