Commit Graph

69 Commits (dev_version_changes)

Author SHA1 Message Date
Karthik P 089df02532
Powershell Provisioner Error Handling (#13334)
10 months 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
Lucas Bajolet f4a2ac3b31
feat: support pwsh in powershell provisioner (#11950)
4 years ago
Lucas Bajolet c99b300e3a
Add support for Env in remote shell provisioners (#11819)
4 years ago
teddylear d00a41c6ae fix: updates to have make fmt-check and ci-lint pass
4 years ago
teddylear 000ace61a3 feat: Add pause_after config to powershell provisioner like shell
4 years ago
Megan Marsh 88b7b0e14a remove sdk
5 years ago
Megan Marsh 5576bb5caa move packer config constants next to the packer config
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 3f6deb8828 move multistep into the plugin sdk
5 years ago
Megan Marsh 7d658149ea update tests and website and generated partials to reflect new package format
5 years ago
Megan Marsh c4d0c5505a fix tests
5 years ago
Megan Marsh e04eaa89e6 move steps and step configs from packer/common to packer/common/commonsteps
5 years ago
Wilken Rivera d72173ac1a Revert "Merge pull request #9040 from hashicorp/powershell-exit-code-fix-4916"
6 years ago
Wilken Rivera 2e326ef334 Switch back to call operator as opposed to dot sourcing
6 years ago
Wilken Rivera 35df3914d2 provisioner/powershell: Update default execute command to handle script errors
6 years ago
Sylvia Moss 1c30a71d09
Replace file shared state by statebag (#9238)
6 years ago
Matt Kotsenas fe55494207
Add `debug_mode` to PowerShell provisioner (#8996)
6 years ago
Wilken Rivera 11db6014fa provisioner/powershell: Update remote clean up logic
6 years ago
Megan Marsh bdcc95f989
fix execution policy parser to not interfere with legit integers, and add tests (#8997)
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
Adrien Delorme 819329228a Change back to make sure all durations are a time.Duration
6 years ago
Adrien Delorme bf3d9841c6 Force durations to be passed a strings
6 years ago
Paul Meyer ec14ab4875 Add unit test to find issue #7655
7 years ago
Adrien Delorme d72040f4fa move retry code into the common/retry pkg and make retry context aware
7 years ago
Adrien Delorme c7ce4d598e change Provisioner to be passed a context for cancellation
7 years ago
Adrien Delorme a77ce59e36 Update provisioner_test.go
7 years ago
Matt Dainty 19bd28cd72 Fix/add tests
7 years ago
Matt Dainty 412119c27e Fix powershell provisioner tests
7 years ago
Megan Marsh 1d1729a5ff fix powershell tests to use new command
7 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
Megan Marsh b35acbd879 use statebag instead of SetSharedState for winRM password
8 years ago
DanHam b738f41efa
Remove tmp files created by provisioner/powershell tests
8 years ago
DanHam ccf687dac6
Fix tests
8 years ago
Josh Soref 24b4c36fc9 spelling: function
8 years ago
Megan Marsh f3a538db46 fix tests
8 years ago
Megan Marsh 3faf73b5f3 change backslashes to forward slashes in powershell provisioner; was breaking with cygwin
8 years ago
DanHam aaf7102b9a
Tests for escape of chars special to PowerShell in user supplied data
8 years ago
DanHam a7b118ed94
Fix tests post changes. Add test for upload func.
8 years ago
Megan Marsh addedbb680 Revert "Merge pull request #5515 from DanHam/dot-source-env-vars"
8 years ago
Megan Marsh 79fe900378 Revert "Merge pull request #5376 from DanHam/ps-escapes"
8 years ago
DanHam b67c64fd66 Tests for escape of chars special to PowerShell in user supplied data
8 years ago
DanHam 4b89fc1c00
Fix tests post changes. Add test for upload func.
8 years ago
DanHam fa5fd602aa Fix tests post changes
9 years ago
Megan Marsh b05c673a14 Update powershell provisioner test with new default
9 years ago
Megan Marsh 89b058604d update tests for pull 5272
9 years ago