Commit Graph

713 Commits (d367c1ba8beea8d5984ce1aaa43eb545a2ec8e43)

Author SHA1 Message Date
Adrien Delorme 2283efff79
Merge pull request #7071 from aspectcapital/ignore-pending-reboots
7 years ago
Matt Dainty 0192289d68 Drop exit code 1717
7 years ago
Megan Marsh e69391f28b save users some bash scripting by exposing IP and port separately as well as together
7 years ago
Matt Dainty 5fed453047 Ignore an already-scheduled reboot
7 years ago
Megan Marsh fa6eb3fdea reverts 406bf9c4aad7c925c3f5a837fe7f9c71169af098; this was incorrect interpretation of the intent of the inventoryDirectory template option
7 years ago
Megan Marsh 8a7ec456f1 use error groups so we can return errors
7 years ago
Megan Marsh e6477d13fb fix empty return
7 years ago
Megan Marsh a93721c54d add disable option to breakpoint provisioner
7 years ago
Megan Marsh ba25e68fe0 add a new breakpoint provisioner
7 years ago
Matt Dainty 412119c27e Fix powershell provisioner tests
8 years ago
Matt Dainty 3b519acebc Allow Powershell provisioner to use service accounts
8 years ago
Adrien Delorme 56fd98552e
removed space
8 years ago
Mark Meyer 31afd1c2f8 Add PauseAfter option to shell provisioner
8 years ago
Adrien Delorme 7c63c322c7 make provisioner/ansible/provisioner_test.go invisible to windows
8 years ago
Megan Marsh 1d1729a5ff fix powershell tests to use new command
8 years ago
Megan Marsh a81d18cdab explicitly use set-variable to work around a bug some users saw where the command invocation would vail
8 years ago
Poddo 72391f8f4d
Update provisioner.go
8 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
Megan Marsh a0edaf6c46 Going to revert this change for now, becuase of potential issues that arise from calling Prepare() twice
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
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