Commit Graph

58 Commits (2dbfef57504d06ac27909297f2e97656956213b0)

Author SHA1 Message Date
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 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 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.
6 years ago
Megan Marsh c0ce8a9414 rework fixer deprecation code so we know what plugins they relate to
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 cdd33d3ff2 proceed with next files when copy directory
6 years ago
Vladislav Rassokhin 2ac9f5a276 Fixup for #8883: interpolate in file provisioner
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 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
7 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 7efe3cac3d todos
8 years ago
Adrien Delorme fd7cb47adc use proxy reader for download progress & stop storing total/current in downloaders
8 years ago
Adrien Delorme ddd96c513b first draft at self refreshing loading bar centralized/controlled by Ui
8 years ago
Ali Rizvi-Santiago cf9bbe3ecf Incorporated the hack demonstrated by @SwampDragons in order to deal with packer.rpc.Ui not exporting any information about what it's doing to anybody.
8 years ago
Ali Rizvi-Santiago 5726927cba Moved the progress bar out of packer.Ui and unlinked it out of all the packer.Ui implementations. Split up the terminal-related functions into a separate terminal.go and calculate the progress bar width by traversing through packer.Ui to avoid the issue with github.com/ugorji/go/codec serializing private members (or unsafe pointers) of structs. Shuffled some arguments around in getConsoleScreenBufferInfo in common/terminal_windows.go so that the interface forces the user to correctly declare a _CONSOLE_SCREEN_BUFFER_INFO type.
8 years ago
Ali Rizvi-Santiago 0f10032b3d Moved the progress bar from common to the packer.UI interface and refactored it so that the terminal width is calculated based on each interface which returns a custom progressbar specific to its ui.
8 years ago
Ali Rizvi-Santiago fd2fef8738 Added support for the progress bar to automatically determine its width using the minimum length from a packer.UI and the terminal dimensions via kernel32.GetConsoleScreenBufferInfo or an ioctl (TIOCGWINSZ) to "/dev/tty".
8 years ago
M. Marsh 56dd8cdb63
Merge pull request #3891 from nouney/f-generated-files
8 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Matthew Hooker 79287d7e47
simplify some code
9 years ago
Vasiliy Tolstov 00ebe9e1d3 various fixes
10 years ago
开恒 96a637684b fix #3897
10 years ago
nouney 59dac451a5 provisioner/file: add "generated" key to allow files created on-the-fly.
10 years ago
Joel Scoble 999b8b2ed0 file provisioner: download should create all dirs in the destination path
10 years ago
Vasiliy Tolstov feee19e4ed file provisioner improvements
10 years ago
Vasiliy Tolstov 036c9ddf7c fix file download provisioner
11 years ago
Mitchell Hashimoto 7c8e86c9c5 provisioner/*: fix interpolation context
11 years ago
Alexander Golovko 500d83b673 add download support to file provisioner
11 years ago
Mitchell Hashimoto 2b4df93f2f provisioner/*: interpolation
11 years ago
Ross Smith II d92179847d provisioner/file: set file/directory permissions
12 years ago
Mitchell Hashimoto adbb490189 provisioner/file: support uploading directories [GH-251]
13 years ago
Mitchell Hashimoto 28bf6122bd provisioner/*: implement Cancel
13 years ago