Commit Graph

81 Commits (dc38fadeebccf2bc294faaa91b67a9df705bda23)

Author SHA1 Message Date
Megan Marsh 00cc425b84 docs tweaks
5 years ago
James Cradock 153d4111fa
Fix typo in build argument description (#10066)
5 years ago
Chris Gilmer 04f952a2f4
Pretty print build durations
6 years ago
Adrien Delorme 44616d3bff
refactor initialization out from packer configs + tests (#9627)
6 years ago
Megan Marsh 42e98f15ae make sure the no-op progress bar gets used for machine readable uis
6 years ago
Moss 4f26534072 add on-error flag option to run cleanup provisioner
6 years ago
Adrien Delorme bac9c74447
packer console for HCL2 (#9359)
6 years ago
Megan Marsh 3dc4ba2d68
Json vs HCL2 parity refactor (#9301)
6 years ago
Megan Marsh ee5635722b enable force, debug, and on-error for hcl2 builds
6 years ago
Megan Marsh 533fbc1381
Merge pull request #9139 from hashicorp/hcl2_commands_refactor
6 years ago
Adrien Delorme 52b2151b21 go generate ./packer
6 years ago
Adrien Delorme 22a36ef97a Move vars from Meta to cla args; this forces us to use it in GetConfigFromJSON which in turn forces us into updating console and validate
6 years ago
Adrien Delorme 534e98c4ef pass Meta command line arguments around
6 years ago
Adrien Delorme b35ec44d06 Update build.go
6 years ago
Adrien Delorme efcc6af06c fix tests
6 years ago
Adrien Delorme 42a05e1e80 more refactoring
6 years ago
Adrien Delorme 2f63e4e79d refactor term interrupts & have RunContext take a conf struct now
6 years ago
nqb be08eddd8d
remove useless comment
6 years ago
Adrien Delorme 4047113746 Update build.go
6 years ago
Adrien Delorme 2c556ed8c0 remove clarified comment
6 years ago
Adrien Delorme c71a792186 simplify/refactor core for build & validate
6 years ago
Adrien Delorme 7aaee62970 command/build: don't reset error code in case an error hapened
6 years ago
Adrien Delorme 5c2b8da63b get builds from PackerConfig instead of parser
6 years ago
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