Adrien Delorme
|
7c63c322c7
|
make provisioner/ansible/provisioner_test.go invisible to windows
|
2018-10-16 18:40:07 +02:00 |
|
Megan Marsh
|
1d1729a5ff
|
fix powershell tests to use new command
|
2018-10-12 09:54:27 -07:00 |
|
Megan Marsh
|
a81d18cdab
|
explicitly use set-variable to work around a bug some users saw where the command invocation would vail
|
2018-10-12 09:15:12 -07:00 |
|
Poddo
|
72391f8f4d
|
Update provisioner.go
Remove extra break statement that made it's way into the "reboot pending" loop when some logic was rearranged in https://github.com/hashicorp/packer/commit/9fa47f5dad3a319d9987770853db9917853cf2f1#diff-8bb0a16231863cd1487dd9a3d3792565
|
2018-10-03 00:54:31 -05:00 |
|
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
|
2018-09-21 14:51:32 -07:00 |
|
Megan Marsh
|
3f8407d95f
|
Revert "Merge pull request #6700 from hashicorp/multi_progressbar"
This reverts commit 5470c08345, reversing
changes made to c427486bca.
|
2018-09-20 13:14:17 -07:00 |
|
Adrien Delorme
|
dfeca9f0df
|
split progressbars per object
|
2018-09-12 16:21:58 -07:00 |
|
Megan Marsh
|
a0edaf6c46
|
Going to revert this change for now, becuase of potential issues that arise from calling Prepare() twice
Revert "use statebag instead of SetSharedState for winRM password"
This reverts commit b35acbd879.
|
2018-09-10 16:48:42 -07:00 |
|
Adrien Delorme
|
bb59a70e8f
|
progressbar: use int64 instead of uint64
* it's what's used for file sizes and used lib
|
2018-09-06 16:49:15 +02:00 |
|
Adrien Delorme
|
5b66069da0
|
tests: remove Ui stubs to use packer.NoopUi to deduplicate code
|
2018-09-06 15:53:59 +02:00 |
|
Adrien Delorme
|
7efe3cac3d
|
todos
|
2018-09-06 15:53:59 +02:00 |
|
Adrien Delorme
|
9b07d7670e
|
use no ops for ansible ui & MachineReadableUi
|
2018-09-06 15:53:59 +02:00 |
|
Adrien Delorme
|
fd7cb47adc
|
use proxy reader for download progress & stop storing total/current in downloaders
|
2018-09-06 15:53:59 +02:00 |
|
Adrien Delorme
|
ddd96c513b
|
first draft at self refreshing loading bar centralized/controlled by Ui
|
2018-09-06 15:53:59 +02:00 |
|
Adrien Delorme
|
61480f41dc
|
fix some go vet issues in tests ( composite literal uses unkeyed fields )
|
2018-08-31 11:54:12 +02:00 |
|
Megan Marsh
|
266a48a73a
|
minor fixes for shell provisioner docs and logging
|
2018-08-30 14:36:14 -07:00 |
|
Megan Marsh
|
ab13c73277
|
make varfile name unique and make sure to remove it from guest system if cleanup is true.
|
2018-08-30 11:02:56 -07:00 |
|
Megan Marsh
|
2c9a205f11
|
update shell provisioner tests
|
2018-08-29 11:10:49 -07:00 |
|
Megan Marsh
|
cce13e3877
|
shell provisioner: add option to source env vars from a file
|
2018-08-29 11:10:49 -07:00 |
|
Megan Marsh
|
b35acbd879
|
use statebag instead of SetSharedState for winRM password
|
2018-08-24 13:51:16 -07:00 |
|
Megan Marsh
|
c51cd751d1
|
go back to using StartWithUI to prevent weird hangs during windows reboot
|
2018-08-23 16:15:50 -07:00 |
|
Megan Marsh
|
1f79b430ee
|
Merge pull request #6610 from hashicorp/filter_logs
Filter logs
|
2018-08-23 13:30:21 -07:00 |
|
Megan Marsh
|
c1b50d365b
|
Merge pull request #5851 from arizvisa/multi-proto-progressbar
Add progress-bar to common/step_download.go
|
2018-08-21 15:08:22 -07:00 |
|
Megan Marsh
|
9fa47f5dad
|
make windows restart provisioner work with ssh communicator
|
2018-08-21 11:45:18 -07:00 |
|
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.
|
2018-08-20 21:55:18 -05:00 |
|
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.
|
2018-08-20 21:55:18 -05:00 |
|
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.
|
2018-08-20 21:55:18 -05:00 |
|
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".
|
2018-08-20 21:55:18 -05:00 |
|
Megan Marsh
|
ff6a039d5b
|
replace scrubconfig with packer.LogSecretFilter.Set
filter winrm password from logs
Add new root-level packer template option, sensitive-variables, to tell us what user variables to mark sensitive.
|
2018-08-20 15:35:55 -07:00 |
|
Megan Marsh
|
eb685b7140
|
remove duplicate code from chef provisioner
|
2018-08-07 10:01:06 -07:00 |
|