Commit Graph

24 Commits (8d4a9d66ab4eec8bb3efb2e2c363d303ac4db482)

Author SHA1 Message Date
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
Megan Marsh 88b7b0e14a remove sdk
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 56a45b04ab Move hook and communicator definitions to packer-plugin-sdk
5 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 d72040f4fa move retry code into the common/retry pkg and make retry context aware
7 years ago
Adrien Delorme 82c4b76639 [Builder|Build|PostProcessor|Provisioner|Hook]Server: context cancel using a RPC cancel method
7 years ago
Adrien Delorme c7ce4d598e change Provisioner to be passed a context for cancellation
7 years ago
Megan Marsh b1001264ed fix windows-restart tests
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Matthew Hooker 230079f73a
spell fixes
9 years ago
Marc Carmier 78ab21b42f Test error messages for restart_command and restart_timeout seems to be erroneous
9 years ago
Mark Peek 43cb854b3e Merge pull request #2568 from pecigonzalo/f-winrm-reboot
11 years ago
Mark Peek 1aad5cf6d5 provisioner/windows-restart: remove race in test
11 years ago
Mark Peek d87b68efe8 Syncronize cancellation in windows-restart tests
11 years ago
Gonzalo Peci 8bd3e62853 Because the new functionality makes the ```waitForRestart()``` function run commands it modifies the value of ```comm.StartCmd.Command``` that is being checked, we need to implement the same workaround that is being used for the ```waitForCommunicator()``` function. This should make the test work again and retain functionality.
11 years ago
Gonzalo Peci 08359e409a Revert the shutdown command with new parameters as this will return proper exit codes. This will work in the same way as restart-computer -force when using ```shutdown /r /f /t 0```.
11 years ago
Mitchell Hashimoto 59766067c0 provisioner/windows-restart: make test pass on slow machines
11 years ago
Mitchell Hashimoto 7711e07f05 provisioner/windows-restart: test fix
11 years ago
Mitchell Hashimoto ab6a330d86 provisioner/*: fix go vet
11 years ago
Mitchell Hashimoto 840ddb4f20 provisioner/windows-restart
11 years ago