Commit Graph

365 Commits

Author SHA1 Message Date
Mitchell Hashimoto 6873999620 command/validate: lol spelling error 2013-06-18 21:10:46 -07:00
Mitchell Hashimoto 0efabb66dd command/validate: better logging 2013-06-18 21:10:34 -07:00
Mitchell Hashimoto 75b2fab7b5 command/build, command/validate: Setup proper components to avoid nil 2013-06-18 16:29:29 -07:00
Mitchell Hashimoto 218692950b packer: Build can return multiple artifacts 2013-06-18 10:24:23 -07:00
Mitchell Hashimoto 8f097399bf command/build: only output artifacts if we have some 2013-06-17 11:49:12 -07:00
Mitchell Hashimoto 47dcd47376 command/build: Improved output when builds error 2013-06-17 11:48:21 -07:00
Mitchell Hashimoto 22e7345148 packer: Ui requires input for Ctrl-C 2013-06-14 17:37:38 -07:00
Mitchell Hashimoto 4c1873d1f3 command/build: Redo interrupt handling to be more robust 2013-06-14 17:20:11 -07:00
Mitchell Hashimoto e0f2bcf8a2 packer: Add "Ask" method to Ui to ask for input 2013-06-14 15:17:03 -07:00
Mitchell Hashimoto 45566feb75 command/build: Say we're in debug mode if we're in it 2013-06-14 14:47:28 -07:00
Mitchell Hashimoto bd843cfc16 command/build: -debug flag enables debug mode 2013-06-14 13:14:17 -07:00
Mitchell Hashimoto 4daefc2588 fmt 2013-06-13 10:24:10 -07:00
Mitchell Hashimoto 57725da852 command/validate: Validate configuration 2013-06-13 10:21:56 -07:00
Mitchell Hashimoto a35feebe70 packer: Build no longer takes Ui for Prepare 2013-06-13 10:08:31 -07:00
Mitchell Hashimoto c8120bc2eb TODO in command/validate 2013-06-13 10:06:06 -07:00
Mitchell Hashimoto 0b896a0ce2 command/validate: validates templates 2013-06-13 10:03:52 -07:00
Mitchell Hashimoto d6b0ff6a7f command/build: Add -except flag 2013-06-13 09:47:13 -07:00
Mitchell Hashimoto a0a78b68e8 builder/common: Create a downloader 2013-06-12 17:41:44 -07:00
Mitchell Hashimoto 521b59a6fa Make everything support the new builder interface 2013-06-12 16:06:56 -07:00
Mitchell Hashimoto 2de0238f10 command/build: Change default colors 2013-06-12 10:47:01 -07:00
Mitchell Hashimoto 0f98852d4d packer: Ui error output is red 2013-06-12 10:41:58 -07:00
Mitchell Hashimoto 62309cb6de Build/Builder take a Cache object now 2013-06-09 22:00:47 -07:00
Mitchell Hashimoto 8641215581 command/build: Much improved artifact output 2013-06-07 22:15:12 -07:00
Mitchell Hashimoto 05e047a355 command/build: Say the build is finished when it is finished 2013-06-07 21:36:26 -07:00
Mitchell Hashimoto bfbc3e376c command/build: add more logging 2013-06-05 18:36:59 -07:00
Mitchell Hashimoto bc670323c7 command/build: Fix scoping again 2013-06-05 17:51:13 -07:00
Mitchell Hashimoto 81595258be command/build: Lexical scoping bug to get the right build 2013-06-05 17:46:23 -07:00
Mitchell Hashimoto 009b509138 command/build: Output nothign if artifact is nil 2013-06-05 15:36:41 -07:00
Mitchell Hashimoto 87e7f17aa7 command/build: Add -only flag 2013-06-04 14:13:02 -07:00
Mitchell Hashimoto 2dd5a982e5 command/build: Cleanly exit after being interrupted 2013-06-04 08:40:17 -07:00
Mitchell Hashimoto 3956b3a515 command/build: Cancel builds when interrupted 2013-06-03 16:14:10 -07:00
Mitchell Hashimoto e21d389fd2 packer: Fixin bugs in PrefixUi calling the wrong method 2013-06-03 13:54:28 -07:00
Mitchell Hashimoto 3a61196f15 command/build: Wrap the onion the right way 2013-06-03 13:47:49 -07:00
Mitchell Hashimoto aee0799988 command/build: Colors! 2013-06-03 13:43:38 -07:00
Mitchell Hashimoto c5d539ef13 command/build: Better prefixes 2013-06-03 11:40:08 -07:00
Mitchell Hashimoto edab952a68 packer: Add Message method to Ui 2013-06-03 11:30:38 -07:00
Mitchell Hashimoto 6bcd5de6f5 command/build: Help text 2013-06-02 15:17:04 -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 33f8d29571 builder/amazonebs, command/build: use new UI interface 2013-05-27 15:15:42 -07:00
Mitchell Hashimoto 84891701bd go fmt 2013-05-23 21:59:03 -07:00
Mitchell Hashimoto d919f9545a command/build: Specify a provisioner function 2013-05-22 16:56:04 -07:00
Mitchell Hashimoto cb91ca72ac packer: Build.Prepare takes a UI 2013-05-22 16:20:40 -07:00
Mitchell Hashimoto fc0c1a726c command/build: No newlines in output now 2013-05-22 14:25:58 -07:00
Mitchell Hashimoto 09ca5be74f command/build: Newline before results 2013-05-22 13:25:12 -07:00
Mitchell Hashimoto 4011660fc8 command/build: Output artifact info 2013-05-21 22:38:56 -07:00
Mitchell Hashimoto 64ea06d542 command/build; Remove end UI stuff 2013-05-21 15:48:42 -07:00
Mitchell Hashimoto 9a3a3bad55 command/build: properly prefix the build outputs 2013-05-21 15:43:50 -07:00
Mitchell Hashimoto 6a98134682 command/build: Use PrefixedUi for each build 2013-05-21 15:10:51 -07:00
Mitchell Hashimoto 15f215d04f go fmt 2013-05-20 16:50:35 -07:00
Mitchell Hashimoto 779f489894 packer: Template takes a component finder 2013-05-11 09:56:42 -07:00
Mitchell Hashimoto 44bd56c3a8 go fmt 2013-05-10 17:01:24 -07:00
Mitchell Hashimoto 185d2765be command/build: Run the builds in parallel 2013-05-10 13:01:54 -07:00
Mitchell Hashimoto c580faa1a5 packer/rpc: error interface wrapper to RPC errors around 2013-05-09 13:59:33 -07:00
Mitchell Hashimoto 9600bf5b4b packer: Build.Name 2013-05-09 11:32:03 -07:00
Mitchell Hashimoto 8ffbc2efe7 packer: Start pulling out the global config stuff 2013-05-08 17:28:05 -07:00
Mitchell Hashimoto 4b665e39bd Fix the UI 2013-05-08 17:01:57 -07:00
Mitchell Hashimoto fd2d8480e1 Lots more logging everywhere 2013-05-08 16:59:36 -07:00
Mitchell Hashimoto bc01d28857 command/build: More complete error handling 2013-05-08 15:14:08 -07:00
Mitchell Hashimoto 95153413a6 packer: Ui has Error method 2013-05-08 15:12:48 -07:00
Mitchell Hashimoto a803af7016 Move the build command into the actual build command 2013-05-08 14:58:06 -07:00
Mitchell Hashimoto adb533fd3e Properly defer a client cleanup in case of a pnic 2013-05-08 13:06:57 -07:00
Mitchell Hashimoto 8a32494e3f Start working on logging across the board 2013-05-08 09:46:37 -07:00
Mitchell Hashimoto 91ade277a6 Create the build command/plugin 2013-05-07 11:39:32 -07:00
Mitchell Hashimoto 399d8ab028 Build command plugin 2013-05-07 11:14:14 -07:00
Mitchell Hashimoto fefd2ae208 Separate commands into other directories 2013-04-21 19:04:35 -07:00