Commit Graph

106 Commits (f4eda950c2e1ec5a9f6c4e3a3d4e78bd7499583f)

Author SHA1 Message Date
hashicorp-copywrite[bot] b7df3ca36f
[COMPLIANCE] Add Copyright and License Headers (#12254)
3 years ago
Lucas Bajolet ec1d2e68f5 hcp: generate fingerprints on each new build
3 years ago
Lucas Bajolet ca197afe9b hcp: remove superfluous return value on GetBuilds
3 years ago
Wilken Rivera 57cbe4e203
core: Update validation options for undeclared variables (#12104)
3 years ago
Wilken Rivera 606e6c48f1 internal: reorganise registry/HCP code
3 years ago
Lucas Bajolet 1cee460d0d hcp: extract all HCP-related code to hcp package
3 years ago
Lucas Bajolet dad07c6097 hcp: keep map of build names for hcp tracking
3 years ago
Lucas Bajolet f3e4c2c3bb tmp: move HCP logic to unwrap builds/post
3 years ago
Lucas Bajolet 61c810e720 command: rework HCP-related error messages
3 years ago
Lucas Bajolet 73af77aeed command: enhance error message on no build to run
3 years ago
Lucas Bajolet e94b8766cb build: exit immediately if no builds and diags
3 years ago
Lucas Bajolet a298617ecb command/build: warn and exit when nothing to build
3 years ago
Lucas Bajolet 7cd095062a parser: extract HCP logic out of the HCL parser
4 years ago
Lucas Bajolet 4be7e38474 command: move GetConfig methods to meta
4 years ago
Megan Marsh b763b79d9f implement contextual variable packer.iteration_id
4 years ago
Wilken Rivera a534c743cf
HCP Packer registry enabled Packer client (#11154)
5 years ago
Megan Marsh 00e503388e
change template parsing error to include warning about file extensions (#10652)
5 years ago
Adrien Delorme ed091163be
HCL2 Parse packer.required_plugins block + packer init (#10304)
5 years ago
Sylvia Moss 291121dd55
(2) Implement datasources (#10440)
5 years ago
Megan Marsh 88b7b0e14a remove sdk
5 years ago
Megan Marsh 39ab646236
move plugin and rpc code into sdk; other minor tweaks (#10359)
5 years ago
Megan Marsh 14bdb9516c move Artifact and artifact mock to the sdk
5 years ago
Megan Marsh 001886670d move Ui definition into the packer plugin sdk.
5 years ago
Megan Marsh 6402362018 create packer-plugin-sdk directory and begin moving the relevant folders into it.
5 years ago
Megan Marsh bc85854a53 refactor packer version out of hcltemplate code.
5 years ago
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