Commit Graph

172 Commits (daa421e5caaceba66ee31c9928ebbb27ad4bf95d)

Author SHA1 Message Date
Anurag Sharma d3988669ea provisioner: refactored the inline script creation
11 months ago
Anurag Sharma 36f6b3644f add more context for config variable usage
11 months ago
Anurag Sharma 8e75537601 check for shebang after whole script is interpolated
11 months ago
Anurag Sharma dfa0a4e8bb provisioner: deleted outdated inline unit tests
11 months ago
Anurag Sharma ee74751181 moved the logic to provision method
11 months ago
Anurag Sharma f21b2c8e9b test(provisioner): add test for shebang within inline script
11 months ago
Anurag Sharma e8c2f7b3b0 fix: take only first line from the script
11 months ago
Anurag Sharma c1db3bf8fa provisioner: set InlineShebang based on Inline content
11 months ago
Lucas Bajolet 962ccdfc80 packer: address gosimple lint errors
2 years ago
Lucas Bajolet e8d3a55b5f packer: address errcheck lint errors
2 years ago
IAMDAVID0920 d625694a88 refactor: remove deprecated InitializePluginVersion, replace with NewPluginVersion
2 years ago
guoguangwu 7eb6a45cd4 chore: remove refs to deprecated io/ioutil
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 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 76177b50ce Refactor provisioner acceptance tests to shell directly out to Packer rather than import the core. Modify test case formatting to more closely reflect the builder test cases.
5 years ago
Megan Marsh 8f51a8bfae move provisioner acceptance tests into sdk alongside builder acceptance tests. Reorganize slightly to make sure no import cycles of doom get formed
5 years ago
Megan Marsh 5576bb5caa move packer config constants next to the packer config
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
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