Commit Graph

690 Commits (7efe3cac3d5e728ee471bbccfd1043e06e4dcafe)

Author SHA1 Message Date
Adrien Delorme 7efe3cac3d todos
8 years ago
Adrien Delorme 9b07d7670e use no ops for ansible ui & MachineReadableUi
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
Adrien Delorme 61480f41dc fix some go vet issues in tests ( composite literal uses unkeyed fields )
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 2c9a205f11 update shell provisioner tests
8 years ago
Megan Marsh cce13e3877 shell provisioner: add option to source env vars from a file
8 years ago
Megan Marsh b35acbd879 use statebag instead of SetSharedState for winRM password
8 years ago
Megan Marsh c51cd751d1 go back to using StartWithUI to prevent weird hangs during windows reboot
8 years ago
Megan Marsh 1f79b430ee
Merge pull request #6610 from hashicorp/filter_logs
8 years ago
Megan Marsh c1b50d365b
Merge pull request #5851 from arizvisa/multi-proto-progressbar
8 years ago
Megan Marsh 9fa47f5dad make windows restart provisioner work with ssh communicator
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
Megan Marsh ff6a039d5b replace scrubconfig with packer.LogSecretFilter.Set
8 years ago
Megan Marsh eb685b7140 remove duplicate code from chef provisioner
8 years ago
Megan Marsh a5a6b1ab58
Merge pull request #6501 from Wenzel/expose_ansible_packer_http_addr
8 years ago
Megan Marsh e146973d08 change implementation to set winrm password in way that matches powershell and shell-local implementations; sanitize logs
8 years ago
Mathieu Tarral 3450b6fd6f ansible: expose packer_http_addr extra var
8 years ago
Levi 6646d42490 updated function calls to include buildname and changed variable names
8 years ago
Levi 68ec630fde added function to retreive winrm password from commonhelper
8 years ago
Levi 636cec8f2b added commonhelper import
8 years ago
Levi 37fd50995f added parameter for setting packer password as env variable
8 years ago
DanHam 485d565e32
Ensure comments are easily readable in a standard terminal
8 years ago
DanHam e0bcba4913
Make the upload of env vars retryable in case of restarts
8 years ago
localghost e1a1bb522d Merge remote-tracking branch 'origin/master' into ansible_local_playbook_files_update
8 years ago
localghost 263a3c6910 Include some of the refactoring reverted by previous revert commit.
8 years ago
localghost 46a1c5d945 Revert "Unify handling PlaybookFile and PlaybookFiles."
8 years ago
M. Marsh 62e1323577
Merge pull request #5956 from hashicorp/dedupe_shell_local
8 years ago
localghost 6c7aa724eb Fix tests after merging with master.
8 years ago
localghost c33ca8ce64 Merge remote-tracking branch 'origin/master' into ansible_local_playbook_files_update
8 years ago
localghost 11f2b1ec24 Merge remote-tracking branch 'origin/master' into ansible_local_playbook_files_update
8 years ago
localghost 81db142c8a Unify handling PlaybookFile and PlaybookFiles.
8 years ago
M. Marsh abb70bfa80
Merge pull request #6215 from tb3088/delay-extraArgs-4462_clean
8 years ago
Matthew Patton d22fb6d60b reformat via gofmt
8 years ago
Matthew Patton 5c7d5fac75 expose OS-specific ModulePathJoiner
8 years ago
Matthew Patton 399edbe5e7 revert false economy WRT .ExtraArguments
8 years ago
Matthew Patton b505cecd98 sync docs to code
8 years ago
Megan Marsh 51bcc7aa13 add new feature for telling shell-local whether to use linux pathing on windows; update docs with some examples.
8 years ago
Megan Marsh e983a94a88 fix default windows bash call for shell-local provisioner and move chmod command from the execute_command array into the portion of code where we actually generate inline scripts, sparing users the need to think about this modification which Packer should really handle on its own
8 years ago
Megan Marsh 6dc4b1cbdc move all of the run commands for shell-local provisioner and postprocessor into common library too
8 years ago
Megan Marsh 926327beba deduplicate all validation and interpolation of the shell-local config, sharing options between shell-local provisioner and post-processor. Maintain backwards compatibility with shell-local provisioner.
8 years ago
Megan Marsh 616b41e58f deduplicate the nearly identical communicators for the shell-local provisioner and post-processor, moving single communicator into a new common/shell-local module
8 years ago
M. Marsh 23e51d21c2
Merge pull request #4300 from don-code/master
8 years ago
Megan Marsh fbbcbd772b remove file stat
8 years ago
Matthew Patton 735f5273a0 tab/space fixup via gofmt
8 years ago