Commit Graph

58 Commits (2df21496b36799b2dbcb96862acd50351030fc92)

Author SHA1 Message Date
Tom Dyas c0a6623ea2
teach HCL mode builds to honor -only and -except options (#8947)
6 years ago
Adrien Delorme c8300b620a allow to use hcl files as var files in HCL mode
6 years ago
Adrien Delorme d2964d59e9 document that the `-var-file` option still expects JSON files for now
6 years ago
Adrien Delorme 193dad46e6
Hcl2 input variables, local variables and functions (#8588)
6 years ago
Megan Marsh 5bacd37014 fix pps
6 years ago
nywilken 3d56f8ac80 command/build: Fix URL to HCL2 syntax guide
6 years ago
Adrien Delorme 0785c2f6fc
build using HCL2 (#8423)
6 years ago
Moss 7466c4fdca Return exit code 1 when builder type is not found
6 years ago
Thomas Meckel d3202497ae First working version of virtualbox/vm builder
7 years ago
Adrien Delorme 5efab58ed8 allow to have timestamped colorless ui messages
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 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 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 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 9281fada2d prevent a breaking change so that we can merge the `-parallel-builds` option first.
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
Brett Wandel 92e75f838a added the ability to limit number of builds running in parallel
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
Josh Soref 66738ccaf4 Try to make help more consistent
7 years ago
Adrien Delorme 626a3cc2a4 have -timestamp-ui match what's in doc
7 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
Oleg Butuzov 079b317b62 Misaligned help entries
8 years ago
M. Marsh eb557af8bf
Merge branch 'master' into f-autocomplete
8 years ago
SwampDragons 997f8e4a2a
Merge pull request #5318 from hashicorp/sigtermcleanup
8 years ago
Matthew Hooker 807e88245b
trying to add context to state bag
8 years ago
Jeremy Voorhis bfc75eb9d9 Implement cli.CommandAutocomplete for most commands
8 years ago
Jeremy Voorhis a4cb8ae41b Define methods on *BuildCommand (consistency)
8 years ago
Matthew Hooker fdaf4ed8d3
Gracefully clean up on SIGTERM
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 11354aa1b7
tidy up new line
9 years ago
Matthew Hooker 60955d8c2c
don't show ui color if we're not colorized
9 years ago
Jake Champlin 95760462a6
Update help output for build command
9 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
Christopher Boumenot ad3d674919 Do not use Fprintf, use Fprint.
10 years ago