Commit Graph

83 Commits (dev_version_changes)

Author SHA1 Message Date
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
Vasili b9c28c7a8f
Clarify documentation for template file function (#11798)
4 years ago
Adrien Delorme 948ef1f673
File provisioner, don't fail when no content is passed. (#11349)
4 years ago
teddylear 11f5da8b5a
fix: Removing test debris (#11300)
4 years ago
Adrien Delorme 1d915adad1
file provisioner: add possibility to set content + tests (#11209)
5 years ago
Adrien Delorme 87ba7258b3
Use packer-sdc in packer + remove mapstructure-to-hcl2 & struct-markdown (#10913)
5 years ago
Hosh 6b5a3dacd4
Fix multiple files downloading overwrites same file (#10711)
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 352f064b55 fix docker acceptance tests. Turns out they were broken on the main branch too; needed to move noop progress bar into the sdk to be used in the builder testui.
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 7d658149ea update tests and website and generated partials to reflect new package format
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
Megan Marsh a805bc538e fix tests
6 years ago
Megan Marsh d826711e7a
File provisioner docs (#9735)
6 years ago
Maxim Lobanov dd2927f871 fix bug with copying a few files in order
6 years ago
Maxim Lobanov cf999e07db fix formatting
6 years ago
Maxim Lobanov cdd33d3ff2 proceed with next files when copy directory
6 years ago
Vladislav Rassokhin 2ac9f5a276 Fixup for #8883: interpolate in file provisioner
6 years ago
Adrien Delorme 40947c2bf6
HCL2: generate hcl tags with go-cty tags too (#9306)
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
Moss 7fbbbffd5c Interpolate file provisioner and add integration tests
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
Adrien Delorme 078ba7c8c3 commit old code generation tool
6 years ago
Adrien Delorme c7ce4d598e change Provisioner to be passed a context for cancellation
7 years ago
Adrien Delorme 9f82b75e57 Use the hashicorp/go-getter to download files
7 years ago
Megan Marsh 5c2da6b816 fix destination pathing so that it doesnt break on windows
7 years ago
Megan Marsh 7597f609b1 update winrmcp vendor and update error message in file provisioner to aid user who messes up file path name. update file provisioner docs
8 years ago
Megan Marsh 3f8407d95f Revert "Merge pull request #6700 from hashicorp/multi_progressbar"
8 years ago
Adrien Delorme dfeca9f0df split progressbars per object
8 years ago
Adrien Delorme bb59a70e8f progressbar: use int64 instead of uint64
8 years ago
Adrien Delorme 5b66069da0 tests: remove Ui stubs to use packer.NoopUi to deduplicate code
8 years ago
Adrien Delorme 7efe3cac3d todos
8 years ago