Commit Graph

813 Commits (dev_version_changes)

Author SHA1 Message Date
Megan Marsh 7cce3157a8
Update command/console.go
7 years ago
Megan Marsh 668e92f2ca add docs and the option to list variables from inside the console
7 years ago
Megan Marsh df916e805e borrow wrappedreadline workarounds from terraform and implement a similar check for piped commands; this makes the cli experience much cleaner
7 years ago
Megan Marsh b8ac1a800d implement a packer console analogous to the terraform console
7 years ago
Adrien Delorme cb2d89af6f simplify path parsing by making at string instead of an array + add tests
7 years ago
Adrien Delorme a4b8570991 refactor arg parsing into it's own cfg maker & test it
7 years ago
Adrien Delorme 7e8c42d243 BuildCommand: put config in a local struct
7 years ago
Adrien Delorme cdbb742496 add more cancellation tests
7 years ago
Adrien Delorme 73a55631c4 fix testfile call
7 years ago
Adrien Delorme 2890687b2b fix race condition in BuildCommand
7 years ago
Adrien Delorme af15ed3583 nil signals are probably just a cancellation in disguise
7 years ago
Adrien Delorme 583d93790f add tests for cancellation while building
7 years ago
Adrien Delorme dd2785ff08 BuildCommand.Run: avoid triggering a cancellation on termination
7 years ago
Adrien Delorme 0094d2878c Build: move BuildCommand.Run into a RunContext command to allow testing for cancellation, put cancellation in `Run`
7 years ago
Adrien Delorme a2cc2532ea add TestBuildParallel_Timeout to test errors on parallel builds
7 years ago
Adrien Delorme d40d3eca88 swap semaquire and wg.Add to avoid a deadlock
7 years ago
Adrien Delorme 263f318e82 be true to docs
7 years ago
Adrien Delorme 1dca416f87 move the semacquire to the main build loop so that the build order is kept
7 years ago
Adrien Delorme 852af993e6 BuildParallel: test with 3 parallel builds
7 years ago
Adrien Delorme 9281fada2d prevent a breaking change so that we can merge the `-parallel-builds` option first.
7 years ago
Adrien Delorme 14486003a1 fix test to be race free
7 years ago
Adrien Delorme c1527d9b47 fix text
7 years ago
Adrien Delorme ae71a81c1e Merge remote-tracking branch 'origin/master' into pr/7501
7 years ago
Brett Wandel aaf56ffd26 added: testing
7 years ago
Brett Wandel 76b5c1995f fixed: small changes to cancellation on ctrl-c
7 years ago
Marques Johansson 99987c2d56 Add Linode Images builder
7 years ago
Adrien Delorme 97f2914c6a
Merge pull request #7484 from yandex-cloud/yandex-cloud-builder
7 years ago
Brett Wandel 92e75f838a added the ability to limit number of builds running in parallel
7 years ago
Adrien Delorme d2f036ec44 Revert "Revert "Merge pull request #7391 from carlpett/proxmox-builder""
7 years ago
Gennady Lipenkov 8f53ca5e5e Add 'yandex' plugin as Builder
7 years ago
Adrien Delorme 032527ecfe Revert "Merge pull request #7391 from carlpett/proxmox-builder"
7 years ago
Adrien Delorme 0b4ada9690 make sleep provisioner available to packer
7 years ago
Adrien Delorme d7b1b597a7 test provisionning timeout
7 years ago
Adrien Delorme a81abd297b Merge remote-tracking branch 'origin/master' into context_provisioner
7 years ago
Calle Pettersson 9f8fc37fde Implement Proxmox builder
7 years ago
Megan Marsh 217a93fc30 fix build_test.go on windows. This code needs to not be run in parallel, or else there can be race conditions with the post-processors all trying to access the same file at once. Additionally, I changed the test template itself so that it is valid code on either bash or cmd. Finally, I found and fixed a small bug in naming the file extensions in shell local inline scripts.
7 years ago
Adrien Delorme a4bf94dd3c change Builder to be passed a context for cancellation
7 years ago
Adrien Delorme 045f2f41bd display received signal in debug mode
7 years ago
Adrien Delorme 9f82b75e57 Use the hashicorp/go-getter to download files
7 years ago
Andrew Widdersheim a5b753820c
Fix build commands -except help message
7 years ago
Megan Marsh b8510f35fc
Merge pull request #7330 from hashicorp/except_post_processor_tests
7 years ago
Miłosz Smółka 94a7a07c87 Merge branch 'master' into hyperone
7 years ago
Adrien Delorme 7e2d86731e tests: add a post-processor that creates an unnamed.txt file
7 years ago
Adrien Delorme de336ef15e TestBuildOnlyFileMultipleFlags: check that tomato.txt is not created
7 years ago
Adrien Delorme b04b8b3857 test building with `-except=""`
7 years ago
Megan Marsh 75f574bd4b
Merge pull request #7221 from hashicorp/vagrant_builder
7 years ago
Megan Marsh be21850e32
Merge pull request #7060 from andrewsomething/do-post-processor
7 years ago
xinau c207451f7e Merge branch 'master' of https://github.com/hashicorp/packer into packer-provisioner-inspec
7 years ago
Miłosz Smółka 228829139b Merge branch 'master' into hyperone
7 years ago
Megan Marsh ad21367b21 vagrant builder
7 years ago
Adrien Delorme 8621949e01 make generate
7 years ago
Adrien Delorme dd3e2c255c respect a 'only' defined in a post-processor
7 years ago
Adrien Delorme 074a74ec38 make sure 'only' completely ignores post-processor
7 years ago
Miłosz Smółka be30415395 Add HyperOne builder
7 years ago
xinau f5b13e3cb5 added inspec.io provisioner
7 years ago
Adrien Delorme 58245f2557 break a chain of post-processors when one is skipped & make `-only`
7 years ago
Adrien Delorme 61ade0e127 allow to use --only with post-processors
7 years ago
Adrien Delorme 4bf3cd44fc allow to skip a post processor
7 years ago
Adrien Delorme 905db043c4 command.TestBuildOnlyFileCommaFlags: create some files using post processors
7 years ago
Adrien Delorme 7655d2efb2
Add tencent cloud builder (#7135 & #6839)
7 years ago
Megan Marsh 98e933ca54 make packer inspect not print sensitive variables.
7 years ago
Andrew Starr-Bochicchio c0c5c6afac Add DigitalOcean post-processor.
7 years ago
Megan Marsh ba25e68fe0 add a new breakpoint provisioner
7 years ago
Megan Marsh c5b6eff691
Merge pull request #6871 from LKaemmerling/master
7 years ago
Lukas Kämmerling 270110767c
Add hcloud Builder
7 years ago
Josh Soref 66738ccaf4 Try to make help more consistent
7 years ago
Adrien Delorme 626a3cc2a4 have -timestamp-ui match what's in doc
8 years ago
Ashley Lowde 2884f6fab6 improve formatting and documentation for PR#6784
8 years ago
Ashley Lowde 12496e3702 add optional timestamps to build log
8 years ago
Matthew Hooker 8a7d43dd44
bug fix and add test
8 years ago
Megan Marsh cb35829f80
Merge pull request #6411 from jmartin-r7/esxi_compact
8 years ago
Oleg Butuzov 079b317b62 Misaligned help entries
8 years ago
Jeffrey Martin e8f04c34a3
add vmware-compaction fixer help
8 years ago
Megan Marsh c5b346b07b
Merge pull request #6393 from DanHam/fix-hyperv-export
8 years ago
Matthew Hooker ddf23a2c46
Complete Atlas deprecation.
8 years ago
Matthew Hooker 9bb0681586
Merge pull request #6423 from hashicorp/fix5513
8 years ago
DanHam c8f54d5291
Fixer and tests to convert 'clone_from_vmxc_path' -> 'clone_from_vmcx_path'
8 years ago
DanHam 3c5d7aec74
Ensure new fixer appears in 'packer fix' usage message
8 years ago
DanHam 1347f07618
Update 'packer fix' command usage output to include all fixers
8 years ago
Matthew Hooker dde6805ee8
ignore empty top-level config keys when vetting fix
8 years ago
Sean Malloy 3622a669dc Add new post processor googlecompute-import
8 years ago
Matthew Hooker a5e29e68da
cmd/validate: notify user if config is "fixable"
8 years ago
M. Marsh eb557af8bf
Merge branch 'master' into f-autocomplete
8 years ago
Matthew Hooker 3c37aaf4e6
update atlas deprecation language
8 years ago
Josh Soref e7a30b4ba2 spelling: attempt
8 years ago
Edouard BONLIEU 7e36cfcff1
Add Scaleway builder
8 years ago
Matthew Hooker 6205c71f98
Merge pull request #5791 from YuSungDuk/master
8 years ago
Matthew Hooker c03ce222b2
add atlas deprecation warnings.
8 years ago
SwampDragons 997f8e4a2a
Merge pull request #5318 from hashicorp/sigtermcleanup
8 years ago
유성덕 5714108ef9 Merge branch 'master' into support_ncloud
8 years ago
Megan Marsh 7d85b31b29
make fmt
8 years ago
Megan Marsh 46c3113613
it compiles :)
8 years ago
Matthew Hooker 807e88245b
trying to add context to state bag
8 years ago
유성덕 5189d65467 Support Naver Cloud Platform
8 years ago
Krzysztof Wilczynski 0e08640fff
Re-factor version command to use version.FormattedVersion() function.
8 years ago
Jeremy Voorhis bfc75eb9d9 Implement cli.CommandAutocomplete for most commands
9 years ago
Jeremy Voorhis a4cb8ae41b Define methods on *BuildCommand (consistency)
9 years ago
SwampDragons f3c33240fa Merge pull request #5444 from vijayinvites/packer-vhdx
9 years ago
Matthew Hooker fcfdff0efd rerun scripts/generate-plugins.go
9 years ago
Taliesin Sisson efa62e1550 Can specify an iso, vhd or vhdx for download. If it is a vhd or vhdx it is used as the hard drive for spinning up a new machine, importing an exported virtual machine or cloning a virtual machine.
9 years ago
Taliesin Sisson 452fcbd9a1 Only attach dvd drive if there is one
9 years ago
Jearvon Dharrie e918dc89bc Add `/downloads.html` to the outdated version message
9 years ago
Andrew Pryde 6fd2f6701d
Rename Oracle BMCS builder to OCI
9 years ago
Matthew Hooker 624b1e5110 Merge pull request #4554 from prydie/f-oracle-bmcs
9 years ago
Matthew Hooker fdaf4ed8d3
Gracefully clean up on SIGTERM
9 years ago
Megan Marsh 8d24b3930a cleanup imports and rebase artifacts
9 years ago
Michele Catalano f4f0ab9f50 add integrate lxc builder in packer
9 years ago
Chris Lundquist 7366b6c78e [lxd] first pass
9 years ago
Andrew Pryde 630ee5d650 Change imports mitchelh/packer -> hashicorp/packer
9 years ago
Andrew Pryde 9728f890cf Implemented and documented oracle-bmcs builder
9 years ago
bugbuilder 3cc9f204ac Moving vsphere-tpl to vsphere-template, fixed root folder creation and updated docs
9 years ago
bugbuilder dc2124aa2a Initial vSphere-tpl post-processor
9 years ago
Megan Marsh 17d3671601 make sure that flagVars is not a nil map
9 years ago
Matthew Hooker 056104ace4
fix tests
9 years ago
Matthew Hooker d5c228ee98
additional renaming of private to sensitive
9 years ago
Matthew Hooker 01f64009ed
spacing
9 years ago
Matthew Hooker baf31980c7
remove unneeded cast
9 years ago
Megan Marsh 33af49d980 rename private to be in line with tfe
9 years ago
Matthew Hooker cd147e2da4 Merge pull request #4970 from hashicorp/4727_sensitive_vars
9 years ago
Megan Marsh a21870e614 addressing PR comments
9 years ago
Megan Marsh 7ac429b9ca add private to help function
9 years ago
Megan Marsh fdca364f4b allow user to mark variables as sensitive for packer push
9 years ago
Matthew Hooker 8933690e90 Merge pull request #4950 from hashicorp/warn_atlas_users
9 years ago
Megan Marsh dbd7aa6b95 capitalize all the things
9 years ago
Megan Marsh 1c1db91715 add instructions
9 years ago
Megan Marsh b31f8bb0f6 clean up formatting and add warning to packer push.
9 years ago
Matthew Hooker 1a26fbd59c
update changelog
9 years ago
zhuzhih2017 d646e1d035 refactor the code according hashicorp rename the repository
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Matthew Hooker 048e316645
s/TargettedUi/TargetedUI/
9 years ago
Matthew Hooker 230079f73a
spell fixes
9 years ago
Matthew Hooker f0e83beaaa
display version correctly
9 years ago
zhuzhih2017 0400ebae95 Fix the code according PR review
9 years ago
zhuzhih2017 fadfb696dd Add packer plugin which support alicloud ecs images
9 years ago
Matthew Hooker c1480931e2 Merge pull request #4525 from mitchellh/nocolorsay
9 years ago
James Nugent 635aeb765b amazon/ebssurrogate: Add New Builder
9 years ago
Matthew Hooker 11354aa1b7
tidy up new line
9 years ago
Matthew Hooker 60955d8c2c
don't show ui color if we're not colorized
9 years ago
Matthew Hooker 31163f6e96
command/version: don't print extra new line.
9 years ago
Chris Bednarski ee2d636840 Improve delay between key events
9 years ago
Matthew Hooker d0ef866639
don't interpolate atlas variables.
9 years ago
James Nugent e15be036d7 builder: add Triton builder
9 years ago
Taliesin Sisson 335615408a Run go fmt on files
9 years ago
Taliesin Sisson 4721327bf6 Fix duplicate imports
9 years ago
Taliesin Sisson ccf506ee22 Must point to iso hyperv plugin
9 years ago
Taliesin Sisson 25baa26a7a Incude hyperv as part of the plugins
9 years ago
Matthew Hooker d3ddd99721 Merge pull request #4163 from StackPointCloud/packer-builder-oneandone
9 years ago
Matthew Hooker c122a178a9 Merge pull request #4089 from mitchellh/replace3076
9 years ago
Matthew Hooker 93e31168f7
remove print
9 years ago
Jake Champlin 95760462a6
Update help output for build command
9 years ago
jasminSPC 4bcba37f38 Packer Builder 1&1
9 years ago
Justin Campbell fdaa89681a
Update go-atlas.
9 years ago
Justin Campbell 16adc3f7cc
command/push: Add test for var-file push to Atlas
9 years ago
Justin Campbell 56cd8171cc
command/push: Push CLI vars to Atlas
9 years ago
Matthew Hooker 6b7ac8ee90 make generate
9 years ago
James Nugent b1ff8c3bfc builder/amazon: Add `ebs-volume` builder
9 years ago
Matthew Hooker d920b3fbf4 run gofmt
9 years ago
Matthew Hooker 01be917450 Merge pull request #3660 from StackPointCloud/packer-builder-profitbricks
9 years ago
Sander van Harmelen dbf3bf56d4 Add a CloudStack Builder
10 years ago
jasminSPC dca286bf38 Merge remote-tracking branch 'upstream/master' into packer-builder-profitbricks
10 years ago
Matthew Hooker a8e57d83d2 gofmt project.
10 years ago
Doka 4256ab2cc2 add dot to build name regexp
10 years ago
Orivej Desh 4fe86244a5 Improve -on-error descriptions
10 years ago
Orivej Desh 639bf356aa Fail on unknown values of -on-error
10 years ago
Orivej Desh e9cc28565b Document -on-error on the "packer build" page
10 years ago
Orivej Desh 6762965696 Add -on-error command line argument to allow preserving artifacts on builder errors
10 years ago
jasminSPC d84b3af863 Fixed tests
10 years ago
Scott Crunkleton d2e65e6433 Generated command/plugin.go using scripts/generate-plugins.go.
10 years ago
crunk1 55b5a45ae4 Created googlecompute-export post-processor. Modified the googlecompute builder to pass a few configuration values to its resulting artifact. These values can then be used in googlecompute-export post-processor.
10 years ago
Chris Bednarski db593a517d Added manifest post-processor, which creates a manifest of build artifacts
10 years ago
Vasiliy Tolstov d64603e137 initial import of checksum post-processor (#3492)
10 years ago
Christopher Boumenot ad3d674919 Do not use Fprintf, use Fprint.
10 years ago
Alvaro Miranda 6237df566f add -color to build -h command
10 years ago
Chris Bednarski 5b5888b230 Initial import of Microsoft contributed code
10 years ago
Chris Bednarski 6a38303030 Make the build name error message show the original regexp
10 years ago
Chris Bednarski 53176f8cdb Added amazon s3 service to vendor, to support the amazon-import feature
10 years ago
Chris Bednarski 58ebd6a9fd Merge branch 'deps'
10 years ago
Chris Bednarski 93547ad91c Regenerate command/plugin and apply go fmt (now handled by the makefile)
10 years ago
Chris Bednarski 171265c983 Remove generator from command/version because we can't go build ./... -- it also builds vendored stuff
10 years ago
Marat Bakeev c95b2b483f Merge branch ansible-provisioner of https://github.com/dkhenry/packer
10 years ago
Chris Bednarski 1f8ebab4de There's no Warn, only Say
10 years ago
Chris Bednarski d8953e48d4 Change log to Ui.Warn and restore the removed functionality for now
10 years ago
Chris Bednarski 5e34864494 Add deprecation notice for -m/-message
10 years ago
Chris Bednarski 3dfdef4d39 Removed push -m since this is not used
10 years ago
Mark Peek 71ed8e4a38 Fix #2742: Include template line numbers on error
10 years ago
Mark Peek 62fd4df0a7 Merge pull request #2684 from mitchellh/docs-atlas-names
11 years ago
Chris Bednarski 6783bc3fb0 Added generator for command/plugin.go so we don't have to edit it by hand to add new plugins
11 years ago
Chris Bednarski bfe5b5b4b6 Change if/else logic to switch
11 years ago
Chris Bednarski 1641a5e0cb Replace string splitting with a regexp; this is clearer and less code because of the post-processor case
11 years ago
Chris Bednarski e080e73b04 Add some exit codes and use a constant for -PACKERSPACE-
11 years ago
Chris Bednarski 9fa93712a1 Added integrated post-processors
11 years ago
Chris Bednarski d09a9ab0c7 Implemented internal plugins
11 years ago
Mark Peek af055ad3e0 Synchronize access to artifact map to remove race
11 years ago
Chris Bednarski c834a00e22 Added a name validator to the push command
11 years ago
Rickard von Essen 4e20522afd Fixes #2667: Added vmware-rename to fix command help text
11 years ago
Chris Bednarski b3eacc5c2b Updated test to verify expected behavior
11 years ago
Chris Bednarski 78174dae4e Don't override packer's build version from a config file; fixes #2385
11 years ago
Chris Bednarski da20c36454 Removed unused variable breaking gorename
11 years ago
Chris Bednarski 28a13111b8 Add stub for validate test
11 years ago
Zach Zolton 548f2ced1c Fix `packer build` reading from STDIN
11 years ago
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
13 years ago
Mitchell Hashimoto 87e88dc847 command/build: get command passing
13 years ago
Mitchell Hashimoto 5d45d9b728 command/validate: output warnings
13 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