Commit Graph

183 Commits

Author SHA1 Message Date
Mitchell Hashimoto c1fbc473a2 command/push: propagate token properly 2014-12-09 16:14:04 -08:00
Mitchell Hashimoto 6bd8c6ca79 command/push: support custom endpoints 2014-12-09 16:14:03 -08:00
Mitchell Hashimoto 2f65b1bb67 command/push: create the build config if we can 2014-12-09 16:14:03 -08:00
Mitchell Hashimoto 2f60707463 command/push: actual upload to named build config 2014-12-09 16:14:03 -08:00
Mitchell Hashimoto 0f5ef2ce2b command/push: close reader 2014-12-09 16:14:03 -08:00
Mitchell Hashimoto fbc1551048 command/push: partially implemented, tests 2014-12-09 16:14:03 -08:00
Mitchell Hashimoto 6fb375c89e command: push command 2014-12-09 16:14:03 -08:00
Mitchell Hashimoto 356b48827b command: version tests 2014-10-27 20:58:44 -07:00
Mitchell Hashimoto a5a2c3ceb7 command: support machine-readable still 2014-10-27 20:58:05 -07:00
Mitchell Hashimoto 8dbe0f065c Remove version from "packer" package 2014-10-27 20:51:34 -07:00
Mitchell Hashimoto fa36cf82ee command: move all remaining commands 2014-10-27 20:34:49 -07:00
Mitchell Hashimoto 8054e66db6 command: move more to this package, remove old packages 2014-10-27 20:31:02 -07:00
Mitchell Hashimoto 96b0ec5395 Start putting commands in command/, modify core 2014-10-27 20:21:13 -07:00
Mitchell Hashimoto c6243a2de7 command/build: -color [GH-1433] 2014-09-05 16:05:02 -07:00
Mitchell Hashimoto b5f153a1a2 command/build: -parallel=false to disable parallelization [GH-924] 2014-03-12 21:34:43 -07:00
Mitchell Hashimoto 02bb5b0a97 packer: template process build names [GH-744] 2013-12-27 09:43:59 -07:00
Mitchell Hashimoto 107e47fe25 update commands to new user var syntax 2013-12-27 09:21:17 -07:00
Mitchell Hashimoto 6f449abf2e command/fix: remove some useless comments 2013-12-25 11:16:26 -07:00
Mitchell Hashimoto 87f9eca511 command/fix: rename vmware to vmware-iso 2013-12-25 11:13:32 -07:00
Mitchell Hashimoto 89ab009c3f command/fix: add fixer to fix virtualbox to virtualbox-iso 2013-12-22 16:01:28 -08:00
Mitchell Hashimoto 99cbe1fc42 command/fix: update help 2013-12-19 14:56:12 -08:00
Mitchell Hashimoto 8819594386 command/fix: fix for overrides 2013-12-19 14:54:00 -08:00
Mitchell Hashimoto 84f8c0bfa0 command/fix: cleaner 2013-12-19 14:44:12 -08:00
Mitchell Hashimoto 53bb8a7079 fmt 2013-12-11 14:01:06 -08:00
Mitchell Hashimoto 6a141ba552 command/inspect: output the description if we have it 2013-12-11 13:48:18 -08:00
Mitchell Hashimoto 05e61e1a07 command/build: output warnings 2013-11-02 23:21:12 -05:00
Mitchell Hashimoto 87e88dc847 command/build: get command passing 2013-11-02 23:09:58 -05:00
Mitchell Hashimoto 5d45d9b728 command/validate: output warnings 2013-11-02 23:09:30 -05:00
Mitchell Hashimoto 49680548f4 command/fix: add synopsis option to fixers
This will be used in help output and such later
2013-11-02 11:34:54 +01:00
Mitchell Hashimoto 03321c7cdb command/fix: add fixer to auto set guest_additions_mode 2013-11-02 11:34:54 +01:00
Mitchell Hashimoto 8c9d24541b command/build: remove asserts framewor 2013-10-16 16:27:15 -10:00
Mitchell Hashimoto 8e9428633b command/inspect: fix weird output 2013-09-02 15:38:57 -07:00
Mitchell Hashimoto 977969a7e9 command/inspect: cleaner output if no required vars 2013-08-31 17:49:22 -07:00
Mitchell Hashimoto 0b975b9203 command/inspect: show required variables differently 2013-08-31 17:47:38 -07:00
Mitchell Hashimoto 03cdac3028 command/build: build error machine-readable is targetted to the build 2013-08-27 15:03:49 -07:00
Mitchell Hashimoto cd95f21d4a command/build: "end" sentinel in artifact machine-readable output 2013-08-27 13:40:19 -07:00
Mitchell Hashimoto 84d91c5f1a command/build: put build errors in machine readable output 2013-08-27 13:37:31 -07:00
Mitchell Hashimoto 5515d6f845 command/inspect: template-build should be template-builder 2013-08-13 21:35:01 -04:00
Mitchell Hashimoto f56f1740fd command/inspect: change logging to be %#v for better values 2013-08-13 09:53:30 -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 fd3bce0444 command/build: use the real artifact string in machine readable 2013-08-12 10:31:36 -07:00
Mitchell Hashimoto 568f635824 command/build: machine-readable artifacts 2013-08-12 10:09:45 -07:00
Mitchell Hashimoto a675b89b0e packer: -machine-readable not double hyphen 2013-08-11 23:26:24 -07:00
Mitchell Hashimoto 02edc7579b packer: Rename ReaderWriterUi to BasicUi 2013-08-11 18:20:27 -07:00
Mitchell Hashimoto 51cfc355c9 command/bulid: cosmetic, align help text 2013-08-09 16:46:38 -07:00
Mitchell Hashimoto afab2e44d7 command/build,validate: accept -var-file 2013-08-09 16:46:06 -07:00
Mitchell Hashimoto 56c36c12ed command/build,validate: pass user vars to Prepare 2013-08-09 15:57:09 -07:00
Mitchell Hashimoto 229eab0623 common/command: rename BuildFilters to BuildOptions 2013-08-09 15:57:08 -07:00
Mitchell Hashimoto 165ce3b4a8 command/build,validate: use new ParseTemplateFile methods 2013-08-09 15:57:08 -07:00
Mitchell Hashimoto 8507e8098d command/validate: accept -only/-except and use new common stuff 2013-08-09 15:57:08 -07:00
Mitchell Hashimoto 089df41aac common/command: introduce this package for common cmmand stuff 2013-08-09 15:57:08 -07:00
Mitchell Hashimoto 88d274537c command/build,validate: compiles again with latest user var changes 2013-08-09 15:57:08 -07:00
Mitchell Hashimoto e66208c239 command/fix: replace CreateTime with new timestamp 2013-08-08 17:25:26 -07:00
Mitchell Hashimoto 4ddb4ab8d1 command/fix: log fixer to run 2013-08-08 17:25:26 -07:00
Mitchell Hashimoto 64ecc5cad7 command/fix: use strings instead of Fixer for list 2013-08-08 17:25:26 -07:00
Mitchell Hashimoto 8fb4e1ab88 add tests files to everything to test compilation 2013-07-30 16:05:20 -07:00
Mitchell Hashimoto 2227e5ab31 command/build: if any builds fail, exit with 1 exit status 2013-07-23 13:36:07 -07:00
Mitchell Hashimoto 3130fb43a7 command/fix: properly replace the escaped </> 2013-07-14 17:10:50 +09:00
Mitchell Hashimoto 7fc30436d5 command/fix: run the iso-md5 fixer 2013-07-14 17:05:26 +09:00
Mitchell Hashimoto ab2af979fd command/fix: fixer for iso_md5 change 2013-07-14 16:51:20 +09:00
Mitchell Hashimoto aae210f12d command/fix: boilerplate for the fix command 2013-07-14 16:22:18 +09:00
Jason A. Beranek 13c733a3db Add support for -force flag on builds [GH-119] 2013-07-11 23:43:23 -05:00
Brandon Liu 9a82910f9a Command helpText indicates that options must come before template. 2013-07-02 13:07:39 -07:00
Mitchell Hashimoto a000934154 command/build: include the build name in the err/success output 2013-06-27 22:26:48 -04:00
Mitchell Hashimoto bd6f176bf0 packer: Builds use their own UI [GH-21] 2013-06-27 21:55:59 -04:00
Mitchell Hashimoto bb5b12d77e command/build: output <nothing> properly if no artifact 2013-06-19 13:07:52 -07:00
Mitchell Hashimoto 4912b485e2 command/build: Say if no artifacts were created 2013-06-18 22:53:30 -07:00
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