1445 Commits

Author SHA1 Message Date
Mitchell Hashimoto
d1ae7b2fdc website: document inspect machine-readable types 2013-08-13 21:34:44 -04:00
Mitchell Hashimoto
ae3fdaea9b website: document the inspect command 2013-08-13 21:29:13 -04:00
Mitchell Hashimoto
f36d5f3550 Update CHANGELOG, 0.3.2 will be built with Go 1.1.2 2013-08-13 16:51:48 -07:00
Mitchell Hashimoto
df48c6253c packer: Parallelize synopsis lookup to speed up help output
Using `time` to calculate the average of 100 iterations on my machine,
`packer` went from 130ms on average to 70ms.

Previously, the load time would scale linearly about 30ms (on my
machine) on average per new command added. Now that is much much
smaller.
2013-08-13 10:16:25 -07:00
Mitchell Hashimoto
476066108f packer: get rid of unused code 2013-08-13 09:56:37 -07:00
Mitchell Hashimoto
ae6b7d8590 Update CHANGELOG 2013-08-13 09:54:13 -07:00
Mitchell Hashimoto
f56f1740fd command/inspect: change logging to be %#v for better values 2013-08-13 09:53:30 -07:00
Mitchell Hashimoto
b11004b9f6 packer: ParseTemplateFile understands "-" to mean stdin 2013-08-13 09:52:32 -07:00
Mitchell Hashimoto
588623b008 command/inspect: help text shows machine-readable flag 2013-08-13 09:38:54 -07:00
Mitchell Hashimoto
30f9358edc command/inspect: Inspect a templates contents
This command prints out the components of a template, and most
importantly respects the machine-readable flag so that you can
programmatically inspect a template's contents without manually parsing
the JSON.
2013-08-13 09:36:40 -07:00
Mitchell Hashimoto
a17c939042 packer: export template RawConfig 2013-08-13 09:11:49 -07:00
Mitchell Hashimoto
f78d7708d1 packer: Export the raw template config structs 2013-08-13 09:10:49 -07:00
Mitchell Hashimoto
da6bc82d5c packer: unknown commands show better on UI 2013-08-13 09:07:08 -07:00
Mitchell Hashimoto
8c55c8a291 Update CHANGELOG 2013-08-13 08:56:25 -07:00
Mitchell Hashimoto
2d2eefcf33 builder/virtualbox: instantiate driver in Run method 2013-08-13 08:55:33 -07:00
Mitchell Hashimoto
b879b17b1c builder/vmware: create driver in Run method 2013-08-13 08:54:12 -07:00
Mitchell Hashimoto
35a9858444 Up version for dev 2013-08-12 17:23:14 -07:00
Mitchell Hashimoto
3ea4c720b1 provisioner/salt-masterless: switch replace to that prior replace works
/cc @markpeek
2013-08-12 17:10:50 -07:00
Mitchell Hashimoto
1243ff6c16 v0.3.1 2013-08-12 17:05:54 -07:00
Mitchell Hashimoto
2a17370ba9 Update CHANGELOG 2013-08-12 17:00:42 -07:00
Mitchell Hashimoto
392aba1fe7 packer: Don't output up to \r with remote command, lost anyways 2013-08-12 16:55:17 -07:00
Mitchell Hashimoto
d60b769217 provisioner/salt-masterless: replace windows slash with linux [GH-276] 2013-08-12 16:26:46 -07:00
Mitchell Hashimoto
1b2d9c4044 builder/vmware: find files if they exist [GH-279] 2013-08-12 16:13:06 -07:00
Mitchell Hashimoto
21f92715c0 provisioner/shell: start_retry_timeout for reboot handling [GH-260] 2013-08-12 15:49:55 -07:00
Mitchell Hashimoto
90974a4733 communicator/ssh: fix panic when client is nil on reconnect 2013-08-12 15:22:31 -07:00
Mitchell Hashimoto
656de901ca packer: replace stdout/stderr after StartWithUi
This just kind of shields the error with StartWithUi if we retry
2013-08-12 15:17:17 -07:00
Mitchell Hashimoto
7eb115f7a9 Up version for dev 2013-08-12 14:16:55 -07:00
Mitchell Hashimoto
c2506e9410 builder/vmware: fix windows builds 2013-08-12 14:01:50 -07:00
Mitchell Hashimoto
5ee1b1c451 v0.3.0 2013-08-12 13:57:04 -07:00
Mitchell Hashimoto
7cc9aa36ff builder/amazon/common: correct logic in deleting secutiry group 2013-08-12 13:43:52 -07:00
Mitchell Hashimoto
48b9da2feb builder/amazon/common: retry deleting security group [GH-278] 2013-08-12 13:34:55 -07:00
Mitchell Hashimoto
9345d8275d website: document user data stuff 2013-08-12 12:12:44 -07:00
Mitchell Hashimoto
09fb6ca593 builder/amazon/all: support user data file 2013-08-12 11:53:50 -07:00
Mitchell Hashimoto
3ff3746969 builder/amazon/common: support user_data_file 2013-08-12 11:52:43 -07:00
Mitchell Hashimoto
0f6c6511da Update CHANGELOG 2013-08-12 11:40:59 -07:00
Mitchell Hashimoto
f69b365f39 Merge pull request #253 from phobos182/master
builder/amazon/common: added passing UserData to goamz.
2013-08-12 11:36:15 -07:00
Mitchell Hashimoto
928947f780 website: document machine-readable types 2013-08-12 11:33:57 -07:00
Mitchell Hashimoto
fd3bce0444 command/build: use the real artifact string in machine readable 2013-08-12 10:31:36 -07:00
Mitchell Hashimoto
116cdc6c75 packer/rpc: ui.Machine works over RPC properly 2013-08-12 10:25:56 -07:00
Mitchell Hashimoto
568f635824 command/build: machine-readable artifacts 2013-08-12 10:09:45 -07:00
Mitchell Hashimoto
547d184855 packer: machine readable output for available commands 2013-08-12 09:22:01 -07:00
Mitchell Hashimoto
365efae584 Fix packer test 2013-08-12 09:19:24 -07:00
Mitchell Hashimoto
769c349def provisioner/salt-masterless: nice error even if bad exit status
/cc @rgarcia
2013-08-12 09:19:11 -07:00
Mitchell Hashimoto
923521e5df scripts: full SHA1 in build, not short 2013-08-12 09:17:03 -07:00
Mitchell Hashimoto
87ca9c6542 Update CHANGELOG 2013-08-12 00:02:25 -07:00
Mitchell Hashimoto
1f4e633eff Merge branch 'machine-readable'
This adds the -machine-readable flag to Packer which turns all output
into machine-readable format. This is documented within the website
source.
2013-08-12 00:01:18 -07:00
Mitchell Hashimoto
d9bfe58c93 packer: version machine-readable output 2013-08-11 23:56:47 -07:00
Mitchell Hashimoto
ec31453820 website: document machine-readable 2013-08-11 23:56:39 -07:00
Mitchell Hashimoto
a675b89b0e packer: -machine-readable not double hyphen 2013-08-11 23:26:24 -07:00
Mitchell Hashimoto
b3e8a41954 packer: document machine-readable 2013-08-11 23:24:57 -07:00