Commit Graph

246 Commits

Author SHA1 Message Date
Mitchell Hashimoto ffcb7afbee provisioner/shell: Properly handle closed channels in select 2013-06-02 19:03:26 -07:00
Mitchell Hashimoto 6bcd5de6f5 command/build: Help text 2013-06-02 15:17:04 -07:00
Mitchell Hashimoto 74d812a766 packer: Much smarter CLI 2013-06-02 15:03:02 -07:00
Mitchell Hashimoto fcd866731b packer: Remove extra newline on version 2013-06-02 11:52:49 -07:00
Mitchell Hashimoto aa1304f860 packer: Print command help if "--help" is given 2013-06-02 11:49:01 -07:00
Mitchell Hashimoto bbafcfa938 packer, etc: added Help method to Command interface
This will be used for long-form help when "packer help foo"
or "packer foo --help" is called.
2013-06-02 11:41:12 -07:00
Mitchell Hashimoto cf732a913d provisioner/shell: stream output in real time 2013-06-01 21:59:33 -07:00
Mitchell Hashimoto bf296b396e builder/amazonebs: panics in edge cases 2013-06-01 21:50:20 -07:00
Mitchell Hashimoto e629eef97a packer/plugin: Start testing the client 2013-06-01 19:35:19 -07:00
Mitchell Hashimoto 45c590f413 packer: Fix help output for packer, excessive newlines 2013-06-01 19:15:32 -07:00
Mitchell Hashimoto ade3795123 packer: RemoteCommand.StderrChan 2013-06-01 18:49:49 -07:00
Mitchell Hashimoto 3bdd74f9c5 Update TODO 2013-06-01 18:33:32 -07:00
Mitchell Hashimoto e753ffe5d9 packer: Refactor on StdoutChan so it'll work for stderr easily 2013-06-01 18:31:22 -07:00
Mitchell Hashimoto 810d17c0ef packer: RemoteCommand.StdoutChan works + tests 2013-06-01 18:21:27 -07:00
Mitchell Hashimoto ace53450b9 packer: More efficient RemoteCommand.ExitChan 2013-06-01 17:57:26 -07:00
Mitchell Hashimoto c6dd54760c Get everything compiling again 2013-06-01 17:48:19 -07:00
Mitchell Hashimoto 8034e91ca3 packer: Lock in RemoteCommand.ExitChan 2013-06-01 17:45:57 -07:00
Mitchell Hashimoto 24237da32c packer: RemoteCommand.ExitChan() and tests 2013-05-28 18:12:15 -07:00
Mitchell Hashimoto 97ba152771 packer: tests for RemoteCommand.Wait 2013-05-28 18:02:14 -07:00
Mitchell Hashimoto 7154b5c0f1 packer/rpc: Close the net conn after done sending data for Comm 2013-05-27 23:36:34 -07:00
Mitchell Hashimoto 78ab1709cd packer/rpc: Better logging in communicator 2013-05-27 22:10:44 -07:00
Mitchell Hashimoto b26ff7a6eb communicator/ssh: More logging 2013-05-27 22:05:33 -07:00
Mitchell Hashimoto 9ebf0435ff provisioner/shell: Basic run 2013-05-27 21:54:19 -07:00
Mitchell Hashimoto 33f8d29571 builder/amazonebs, command/build: use new UI interface 2013-05-27 15:15:42 -07:00
Mitchell Hashimoto 2788d29bd1 packer, packer/rpc: Update Ui to just take a message 2013-05-27 15:12:48 -07:00
Mitchell Hashimoto f726ea2800 provisioner/shell: Start working on shell provisioner 2013-05-27 15:06:34 -07:00
Mitchell Hashimoto 81d8b20730 Update TODO, since Upload is implemented 2013-05-24 09:48:24 -07:00
Mitchell Hashimoto 69f1d0fd9f communicator/ssh: Clearer TODO message about acks 2013-05-24 09:40:20 -07:00
Mitchell Hashimoto 3a9069037e uPate TODO 2013-05-24 09:27:41 -07:00
Mitchell Hashimoto eb5f478ee7 communicator/ssh: Return error if non-zero exit status on Upload 2013-05-24 09:27:28 -07:00
Mitchell Hashimoto 821d27a6bb communicator/ssh: More complete SCP 2013-05-24 09:06:13 -07:00
Mitchell Hashimoto d8ad9ca106 communicator/ssh: A first pass at SCP uploading 2013-05-24 08:23:48 -07:00
Mitchell Hashimoto 35a947e304 builder/amazonebs: Add provisioning step 2013-05-23 22:47:59 -07:00
Mitchell Hashimoto d00abbd5ce Add shell provisioner to default config 2013-05-23 22:40:43 -07:00
Mitchell Hashimoto 46a058572b provisioner/shell and plugin/provisioner-shell 2013-05-23 22:38:40 -07:00
Mitchell Hashimoto 84891701bd go fmt 2013-05-23 21:59:03 -07:00
Mitchell Hashimoto 7eb8daaa9c Much better Makefile coupled with shell script 2013-05-23 21:57:30 -07:00
Mitchell Hashimoto edf4bdf8ea Add TODO 2013-05-23 21:41:12 -07:00
Mitchell Hashimoto c049c19b25 Support provisioners in global config 2013-05-23 21:39:00 -07:00
Mitchell Hashimoto 9dfb536580 Support provisioners in Packer binary 2013-05-23 21:37:25 -07:00
Mitchell Hashimoto 37372bac93 packer/plugin: Support provisioners 2013-05-23 21:37:16 -07:00
Mitchell Hashimoto 1b78fc88a9 packer: coreBuild runs provisioners as part of Run 2013-05-23 21:26:24 -07:00
Mitchell Hashimoto 83eab87c26 packer: TODO item 2013-05-23 21:13:40 -07:00
Mitchell Hashimoto 812722c20d packer: ProvisionHook 2013-05-23 21:13:18 -07:00
Mitchell Hashimoto 73b7d94933 packer: better commenting 2013-05-22 17:06:06 -07:00
Mitchell Hashimoto e69e74b2dc packer: Panic if provisioners and no provisioner function 2013-05-22 17:05:36 -07:00
Mitchell Hashimoto 3d0dde03e6 packer: Panic on template if no builder function 2013-05-22 17:02:34 -07:00
Mitchell Hashimoto d919f9545a command/build: Specify a provisioner function 2013-05-22 16:56:04 -07:00
Mitchell Hashimoto 534f32067a packer: Test that hooks are callable from builds 2013-05-22 16:46:23 -07:00
Mitchell Hashimoto 0f57370dec packer: Prepare provisioners as part of Build prepare 2013-05-22 16:29:07 -07:00