Mitchell Hashimoto
0b16317401
command/inspect: fix weird output
2013-09-02 15:38:57 -07:00
Mitchell Hashimoto
b842e53028
command/inspect: cleaner output if no required vars
2013-08-31 17:49:22 -07:00
Mitchell Hashimoto
3abacee131
command/inspect: show required variables differently
2013-08-31 17:47:38 -07:00
Mitchell Hashimoto
95682f6dfc
command/build: build error machine-readable is targetted to the build
2013-08-27 15:03:49 -07:00
Mitchell Hashimoto
f536e351fa
command/build: "end" sentinel in artifact machine-readable output
2013-08-27 13:40:19 -07:00
Mitchell Hashimoto
53890e9de3
command/build: put build errors in machine readable output
2013-08-27 13:37:31 -07:00
Mitchell Hashimoto
6fb454ef0c
command/inspect: template-build should be template-builder
2013-08-13 21:35:01 -04:00
Mitchell Hashimoto
9b01b38a87
command/inspect: change logging to be %#v for better values
2013-08-13 09:53:30 -07:00
Mitchell Hashimoto
70282fedee
command/inspect: help text shows machine-readable flag
2013-08-13 09:38:54 -07:00
Mitchell Hashimoto
6eceacf11f
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
3c9e504475
command/build: use the real artifact string in machine readable
2013-08-12 10:31:36 -07:00
Mitchell Hashimoto
f7bd403151
command/build: machine-readable artifacts
2013-08-12 10:09:45 -07:00
Mitchell Hashimoto
bebed45a80
packer: -machine-readable not double hyphen
2013-08-11 23:26:24 -07:00
Mitchell Hashimoto
f3f4ab91c7
packer: Rename ReaderWriterUi to BasicUi
2013-08-11 18:20:27 -07:00
Mitchell Hashimoto
e7b1ba2f5e
command/bulid: cosmetic, align help text
2013-08-09 16:46:38 -07:00
Mitchell Hashimoto
95926424f2
command/build,validate: accept -var-file
2013-08-09 16:46:06 -07:00
Mitchell Hashimoto
713791ba9a
command/build,validate: pass user vars to Prepare
2013-08-09 15:57:09 -07:00
Mitchell Hashimoto
1a1b4ba715
common/command: rename BuildFilters to BuildOptions
2013-08-09 15:57:08 -07:00
Mitchell Hashimoto
41b3f9ebd9
command/build,validate: use new ParseTemplateFile methods
2013-08-09 15:57:08 -07:00
Mitchell Hashimoto
d0200b7be8
command/validate: accept -only/-except and use new common stuff
2013-08-09 15:57:08 -07:00
Mitchell Hashimoto
a0033fba35
common/command: introduce this package for common cmmand stuff
2013-08-09 15:57:08 -07:00
Mitchell Hashimoto
ddfd9be8cc
command/build,validate: compiles again with latest user var changes
2013-08-09 15:57:08 -07:00
Mitchell Hashimoto
ffc73a2ffa
command/fix: replace CreateTime with new timestamp
2013-08-08 17:25:26 -07:00
Mitchell Hashimoto
db5b236ad6
command/fix: log fixer to run
2013-08-08 17:25:26 -07:00
Mitchell Hashimoto
bdd49619ae
command/fix: use strings instead of Fixer for list
2013-08-08 17:25:26 -07:00
Mitchell Hashimoto
8046d2635a
add tests files to everything to test compilation
2013-07-30 16:05:20 -07:00
Mitchell Hashimoto
6422fabd19
command/build: if any builds fail, exit with 1 exit status
2013-07-23 13:36:07 -07:00
Mitchell Hashimoto
e5773e1b66
command/fix: properly replace the escaped </>
2013-07-14 17:10:50 +09:00
Mitchell Hashimoto
6f86fd9849
command/fix: run the iso-md5 fixer
2013-07-14 17:05:26 +09:00
Mitchell Hashimoto
f91d4f2244
command/fix: fixer for iso_md5 change
2013-07-14 16:51:20 +09:00
Mitchell Hashimoto
8ee8612997
command/fix: boilerplate for the fix command
2013-07-14 16:22:18 +09:00
Jason A. Beranek
71a1bd7354
Add support for -force flag on builds [GH-119]
2013-07-11 23:43:23 -05:00
Brandon Liu
f31f5ed759
Command helpText indicates that options must come before template.
2013-07-02 13:07:39 -07:00
Mitchell Hashimoto
a5c2d6014f
command/build: include the build name in the err/success output
2013-06-27 22:26:48 -04:00
Mitchell Hashimoto
b308c942d5
packer: Builds use their own UI [GH-21]
2013-06-27 21:55:59 -04:00
Mitchell Hashimoto
214d679e2d
command/build: output <nothing> properly if no artifact
2013-06-19 13:07:52 -07:00
Mitchell Hashimoto
d3e120c6fb
command/build: Say if no artifacts were created
2013-06-18 22:53:30 -07:00
Mitchell Hashimoto
b5546262ca
command/validate: lol spelling error
2013-06-18 21:10:46 -07:00
Mitchell Hashimoto
6b42b3b329
command/validate: better logging
2013-06-18 21:10:34 -07:00
Mitchell Hashimoto
338298b8af
command/build, command/validate: Setup proper components to avoid nil
2013-06-18 16:29:29 -07:00
Mitchell Hashimoto
1015df8fa8
packer: Build can return multiple artifacts
2013-06-18 10:24:23 -07:00
Mitchell Hashimoto
7d63c196d5
command/build: only output artifacts if we have some
2013-06-17 11:49:12 -07:00
Mitchell Hashimoto
d31b2d0038
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