Commit Graph

813 Commits (dev_version_changes)

Author SHA1 Message Date
Mitchell Hashimoto 5c82ac2835 Merge pull request #2356 from mitchellh/b-min-version
11 years ago
Mitchell Hashimoto 2498ad02c8 packer: validate minimum version [GH-2310]
11 years ago
Chris Bednarski 94e1f83070 Added a black-box acceptance test for -only and -except build flags
11 years ago
Mitchell Hashimoto 1bcb52a093 command/fix: validate resulting template [GH-2075]
11 years ago
Mitchell Hashimoto 2a6c4e0d2c command/push: output fix
11 years ago
Mitchell Hashimoto 6e9fb6a9d1 command/push: the -name parameter actually works
11 years ago
Mitchell Hashimoto 793698f8a7 command/build: skip nil builds [GH-2163]
11 years ago
Mitchell Hashimoto c49fe672b3 command/validate: bail if can't initialize build [GH-2139]
11 years ago
Mitchell Hashimoto 1b775cca2e packer: core interpolates Push
11 years ago
Mitchell Hashimoto 579264bb5b command/push: interpolate
11 years ago
Mitchell Hashimoto f8c877771d Merge branch 'f-packer-push-name'
11 years ago
Mitchell Hashimoto 590997df44 packer: automatically validate when creating a core
11 years ago
Mitchell Hashimoto 1ee2b014a6 packer: remove Ui/Cache from CoreConfig
11 years ago
Mitchell Hashimoto 8df1bca5a1 command/meta: parse var-files
11 years ago
Mitchell Hashimoto 946f745881 command: don't use packer.Template
11 years ago
Mitchell Hashimoto dc74ec5612 packer: remove Environment
11 years ago
Mitchell Hashimoto 9d89ca8e07 command: build should be converted to new API, compiles
11 years ago
Jack Pearkes 344c741642 command/push: allow specifying a -name param for push target
11 years ago
Seth Vargo cd0d326934 Allow -create to be passed still for BC
11 years ago
Seth Vargo 6728326cc3 Also pass in the template contents and name of the template when pushing
11 years ago
Seth Vargo 983b0b8988 Allow specifying a -message when pushing
11 years ago
Seth Vargo 8e0c7ace3a Add a -message option to pushes
11 years ago
Seth Vargo 17d4c4396c Always create the build configuration if it does not exist
11 years ago
Mitchell Hashimoto f02000c85d command/push: update help text
11 years ago
Mitchell Hashimoto 80c93bfea0 command/push: ctrl-C should work properly
11 years ago
Mitchell Hashimoto cc61a7dfb8 command/push: warn for bad builds
11 years ago
Mitchell Hashimoto c9504d50ba command/push: send artifact true/false if we're post-processing
11 years ago
Mitchell Hashimoto 73c5192b35 command/push: add base_dir setting
11 years ago
Mitchell Hashimoto f76116e4a3 command/push: if a token isn't given, don't set it
11 years ago
Mitchell Hashimoto d08815fc49 command/push: works
11 years ago
Mitchell Hashimoto c1fbc473a2 command/push: propagate token properly
11 years ago
Mitchell Hashimoto 6bd8c6ca79 command/push: support custom endpoints
11 years ago
Mitchell Hashimoto 2f65b1bb67 command/push: create the build config if we can
11 years ago
Mitchell Hashimoto 2f60707463 command/push: actual upload to named build config
11 years ago
Mitchell Hashimoto 0f5ef2ce2b command/push: close reader
11 years ago
Mitchell Hashimoto fbc1551048 command/push: partially implemented, tests
11 years ago
Mitchell Hashimoto 6fb375c89e command: push command
11 years ago
Mitchell Hashimoto 356b48827b command: version tests
12 years ago
Mitchell Hashimoto a5a2c3ceb7 command: support machine-readable still
12 years ago
Mitchell Hashimoto 8dbe0f065c Remove version from "packer" package
12 years ago
Mitchell Hashimoto fa36cf82ee command: move all remaining commands
12 years ago
Mitchell Hashimoto 8054e66db6 command: move more to this package, remove old packages
12 years ago
Mitchell Hashimoto 96b0ec5395 Start putting commands in command/, modify core
12 years ago
Mitchell Hashimoto c6243a2de7 command/build: -color [GH-1433]
12 years ago
Mitchell Hashimoto b5f153a1a2 command/build: -parallel=false to disable parallelization [GH-924]
12 years ago
Mitchell Hashimoto 02bb5b0a97 packer: template process build names [GH-744]
12 years ago
Mitchell Hashimoto 107e47fe25 update commands to new user var syntax
12 years ago
Mitchell Hashimoto 6f449abf2e command/fix: remove some useless comments
12 years ago
Mitchell Hashimoto 87f9eca511 command/fix: rename vmware to vmware-iso
12 years ago
Mitchell Hashimoto 89ab009c3f command/fix: add fixer to fix virtualbox to virtualbox-iso
12 years ago
Mitchell Hashimoto 99cbe1fc42 command/fix: update help
12 years ago
Mitchell Hashimoto 8819594386 command/fix: fix for overrides
12 years ago
Mitchell Hashimoto 84f8c0bfa0 command/fix: cleaner
12 years ago
Mitchell Hashimoto 53bb8a7079 fmt
12 years ago
Mitchell Hashimoto 6a141ba552 command/inspect: output the description if we have it
12 years ago
Mitchell Hashimoto 05e61e1a07 command/build: output warnings
12 years ago
Mitchell Hashimoto 87e88dc847 command/build: get command passing
12 years ago
Mitchell Hashimoto 5d45d9b728 command/validate: output warnings
12 years ago
Mitchell Hashimoto 49680548f4 command/fix: add synopsis option to fixers
13 years ago
Mitchell Hashimoto 03321c7cdb command/fix: add fixer to auto set guest_additions_mode
13 years ago
Mitchell Hashimoto 8c9d24541b command/build: remove asserts framewor
13 years ago
Mitchell Hashimoto 8e9428633b command/inspect: fix weird output
13 years ago
Mitchell Hashimoto 977969a7e9 command/inspect: cleaner output if no required vars
13 years ago
Mitchell Hashimoto 0b975b9203 command/inspect: show required variables differently
13 years ago
Mitchell Hashimoto 03cdac3028 command/build: build error machine-readable is targetted to the build
13 years ago
Mitchell Hashimoto cd95f21d4a command/build: "end" sentinel in artifact machine-readable output
13 years ago
Mitchell Hashimoto 84d91c5f1a command/build: put build errors in machine readable output
13 years ago
Mitchell Hashimoto 5515d6f845 command/inspect: template-build should be template-builder
13 years ago
Mitchell Hashimoto f56f1740fd command/inspect: change logging to be %#v for better values
13 years ago
Mitchell Hashimoto 588623b008 command/inspect: help text shows machine-readable flag
13 years ago
Mitchell Hashimoto 30f9358edc command/inspect: Inspect a templates contents
13 years ago
Mitchell Hashimoto fd3bce0444 command/build: use the real artifact string in machine readable
13 years ago
Mitchell Hashimoto 568f635824 command/build: machine-readable artifacts
13 years ago
Mitchell Hashimoto a675b89b0e packer: -machine-readable not double hyphen
13 years ago
Mitchell Hashimoto 02edc7579b packer: Rename ReaderWriterUi to BasicUi
13 years ago
Mitchell Hashimoto 51cfc355c9 command/bulid: cosmetic, align help text
13 years ago
Mitchell Hashimoto afab2e44d7 command/build,validate: accept -var-file
13 years ago
Mitchell Hashimoto 56c36c12ed command/build,validate: pass user vars to Prepare
13 years ago
Mitchell Hashimoto 229eab0623 common/command: rename BuildFilters to BuildOptions
13 years ago
Mitchell Hashimoto 165ce3b4a8 command/build,validate: use new ParseTemplateFile methods
13 years ago
Mitchell Hashimoto 8507e8098d command/validate: accept -only/-except and use new common stuff
13 years ago
Mitchell Hashimoto 089df41aac common/command: introduce this package for common cmmand stuff
13 years ago
Mitchell Hashimoto 88d274537c command/build,validate: compiles again with latest user var changes
13 years ago
Mitchell Hashimoto e66208c239 command/fix: replace CreateTime with new timestamp
13 years ago
Mitchell Hashimoto 4ddb4ab8d1 command/fix: log fixer to run
13 years ago
Mitchell Hashimoto 64ecc5cad7 command/fix: use strings instead of Fixer for list
13 years ago
Mitchell Hashimoto 8fb4e1ab88 add tests files to everything to test compilation
13 years ago
Mitchell Hashimoto 2227e5ab31 command/build: if any builds fail, exit with 1 exit status
13 years ago
Mitchell Hashimoto 3130fb43a7 command/fix: properly replace the escaped </>
13 years ago
Mitchell Hashimoto 7fc30436d5 command/fix: run the iso-md5 fixer
13 years ago
Mitchell Hashimoto ab2af979fd command/fix: fixer for iso_md5 change
13 years ago
Mitchell Hashimoto aae210f12d command/fix: boilerplate for the fix command
13 years ago
Jason A. Beranek 13c733a3db Add support for -force flag on builds [GH-119]
13 years ago
Brandon Liu 9a82910f9a Command helpText indicates that options must come before template.
13 years ago
Mitchell Hashimoto a000934154 command/build: include the build name in the err/success output
13 years ago
Mitchell Hashimoto bd6f176bf0 packer: Builds use their own UI [GH-21]
13 years ago
Mitchell Hashimoto bb5b12d77e command/build: output <nothing> properly if no artifact
13 years ago
Mitchell Hashimoto 4912b485e2 command/build: Say if no artifacts were created
13 years ago
Mitchell Hashimoto 6873999620 command/validate: lol spelling error
13 years ago
Mitchell Hashimoto 0efabb66dd command/validate: better logging
13 years ago
Mitchell Hashimoto 75b2fab7b5 command/build, command/validate: Setup proper components to avoid nil
13 years ago
Mitchell Hashimoto 218692950b packer: Build can return multiple artifacts
13 years ago
Mitchell Hashimoto 8f097399bf command/build: only output artifacts if we have some
13 years ago
Mitchell Hashimoto 47dcd47376 command/build: Improved output when builds error
13 years ago
Mitchell Hashimoto 22e7345148 packer: Ui requires input for Ctrl-C
13 years ago
Mitchell Hashimoto 4c1873d1f3 command/build: Redo interrupt handling to be more robust
13 years ago
Mitchell Hashimoto e0f2bcf8a2 packer: Add "Ask" method to Ui to ask for input
13 years ago
Mitchell Hashimoto 45566feb75 command/build: Say we're in debug mode if we're in it
13 years ago
Mitchell Hashimoto bd843cfc16 command/build: -debug flag enables debug mode
13 years ago
Mitchell Hashimoto 4daefc2588 fmt
13 years ago
Mitchell Hashimoto 57725da852 command/validate: Validate configuration
13 years ago
Mitchell Hashimoto a35feebe70 packer: Build no longer takes Ui for Prepare
13 years ago
Mitchell Hashimoto c8120bc2eb TODO in command/validate
13 years ago
Mitchell Hashimoto 0b896a0ce2 command/validate: validates templates
13 years ago
Mitchell Hashimoto d6b0ff6a7f command/build: Add -except flag
13 years ago
Mitchell Hashimoto a0a78b68e8 builder/common: Create a downloader
13 years ago
Mitchell Hashimoto 521b59a6fa Make everything support the new builder interface
13 years ago
Mitchell Hashimoto 2de0238f10 command/build: Change default colors
13 years ago
Mitchell Hashimoto 0f98852d4d packer: Ui error output is red
13 years ago
Mitchell Hashimoto 62309cb6de Build/Builder take a Cache object now
13 years ago
Mitchell Hashimoto 8641215581 command/build: Much improved artifact output
13 years ago
Mitchell Hashimoto 05e047a355 command/build: Say the build is finished when it is finished
13 years ago
Mitchell Hashimoto bfbc3e376c command/build: add more logging
13 years ago
Mitchell Hashimoto bc670323c7 command/build: Fix scoping again
13 years ago
Mitchell Hashimoto 81595258be command/build: Lexical scoping bug to get the right build
13 years ago
Mitchell Hashimoto 009b509138 command/build: Output nothign if artifact is nil
13 years ago
Mitchell Hashimoto 87e7f17aa7 command/build: Add -only flag
13 years ago
Mitchell Hashimoto 2dd5a982e5 command/build: Cleanly exit after being interrupted
13 years ago
Mitchell Hashimoto 3956b3a515 command/build: Cancel builds when interrupted
13 years ago
Mitchell Hashimoto e21d389fd2 packer: Fixin bugs in PrefixUi calling the wrong method
13 years ago
Mitchell Hashimoto 3a61196f15 command/build: Wrap the onion the right way
13 years ago
Mitchell Hashimoto aee0799988 command/build: Colors!
13 years ago
Mitchell Hashimoto c5d539ef13 command/build: Better prefixes
13 years ago
Mitchell Hashimoto edab952a68 packer: Add Message method to Ui
13 years ago
Mitchell Hashimoto 6bcd5de6f5 command/build: Help text
13 years ago
Mitchell Hashimoto bbafcfa938 packer, etc: added Help method to Command interface
13 years ago
Mitchell Hashimoto 33f8d29571 builder/amazonebs, command/build: use new UI interface
13 years ago
Mitchell Hashimoto 84891701bd go fmt
13 years ago
Mitchell Hashimoto d919f9545a command/build: Specify a provisioner function
13 years ago
Mitchell Hashimoto cb91ca72ac packer: Build.Prepare takes a UI
13 years ago
Mitchell Hashimoto fc0c1a726c command/build: No newlines in output now
13 years ago
Mitchell Hashimoto 09ca5be74f command/build: Newline before results
13 years ago
Mitchell Hashimoto 4011660fc8 command/build: Output artifact info
13 years ago
Mitchell Hashimoto 64ea06d542 command/build; Remove end UI stuff
13 years ago
Mitchell Hashimoto 9a3a3bad55 command/build: properly prefix the build outputs
13 years ago
Mitchell Hashimoto 6a98134682 command/build: Use PrefixedUi for each build
13 years ago
Mitchell Hashimoto 15f215d04f go fmt
13 years ago
Mitchell Hashimoto 779f489894 packer: Template takes a component finder
13 years ago
Mitchell Hashimoto 44bd56c3a8 go fmt
13 years ago
Mitchell Hashimoto 185d2765be command/build: Run the builds in parallel
13 years ago
Mitchell Hashimoto c580faa1a5 packer/rpc: error interface wrapper to RPC errors around
13 years ago
Mitchell Hashimoto 9600bf5b4b packer: Build.Name
13 years ago
Mitchell Hashimoto 8ffbc2efe7 packer: Start pulling out the global config stuff
13 years ago
Mitchell Hashimoto 4b665e39bd Fix the UI
13 years ago
Mitchell Hashimoto fd2d8480e1 Lots more logging everywhere
13 years ago
Mitchell Hashimoto bc01d28857 command/build: More complete error handling
13 years ago
Mitchell Hashimoto 95153413a6 packer: Ui has Error method
13 years ago
Mitchell Hashimoto a803af7016 Move the build command into the actual build command
13 years ago
Mitchell Hashimoto adb533fd3e Properly defer a client cleanup in case of a pnic
13 years ago
Mitchell Hashimoto 8a32494e3f Start working on logging across the board
13 years ago
Mitchell Hashimoto 91ade277a6 Create the build command/plugin
13 years ago
Mitchell Hashimoto 399d8ab028 Build command plugin
13 years ago
Mitchell Hashimoto fefd2ae208 Separate commands into other directories
13 years ago