Commit Graph

475 Commits (d-powershell-generated-docs)

Author SHA1 Message Date
Megan Marsh 6a682aca2e
Merge pull request #9124 from GennadySpb/yandex-export-post-processor
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
Gennady Lipenkov d5a6781fb7 Add new 'yandex-export' post-processor
6 years ago
Megan Marsh 217dcbb97f golang 1.14 doesn't like calling NewFile on existing files. Port solution over from Terraform
6 years ago
Adrien Delorme 2af40c762b
HCL2: pass on builder type and name (#8956)
6 years ago
Jeff Escalante 9165be87da
packer.io prefix removal, html extension remove for in-code errors
6 years ago
Vaijanath Angadihiremath fd21b669db Fixing the linting errors now required for merging
6 years ago
Vaijanath Angadihiremath c815a5df67 Fixing the Make Ci errors
6 years ago
Vaijanath Angadihiremath 645cdf1a59 Updating the modules to include update to autorest 12.4
6 years ago
Megan Marsh f5c98a7601
make sure cli vars supercede var files (#8964)
6 years ago
Adrien Delorme d068430abf
make sure locals are evaluated only once variables are + test this (#8918)
6 years ago
Adrien Delorme ad8dafa3bd
HCL: add tests and fixes around var-file and var args (#8914)
6 years ago
Adrien Delorme 88297c796d Merge branch 'master' into hcl2_singular_blocks
6 years ago
Adrien Delorme 94a1f0bcb6 go fmt
6 years ago
Adrien Delorme 0a46bb9525 more precise docs
6 years ago
Adrien Delorme b5e8750f5f Change key/value to name/value to remain consistent with Terraform
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
Wilken Rivera 9ec8b67392
Add golangci-lint to project (#8686)
6 years ago
Sylvia Moss 23fa3107a3
Render variables one time on prepare method (#8727)
6 years ago
Adrien Delorme 193dad46e6
Hcl2 input variables, local variables and functions (#8588)
6 years ago
Megan Marsh 073eda76aa remove extraneous files from when vsphere builder was a plugin, and move README into packer website as separated docs for vsphere-clone and vsphere-iso. Move option descriptions into struct code, and generate documentation directly from those structs as we do inside of the other builders
6 years ago
Megan Marsh 5bacd37014 fix pps
6 years ago
Megan Marsh dca2c03cdb
Merge pull request #7866 from hashicorp/sharing_info
6 years ago
nywilken 3d56f8ac80 command/build: Fix URL to HCL2 syntax guide
6 years ago
Adrien Delorme 4b7132c87c Merge remote-tracking branch 'origin/master' into sharing_info
6 years ago
Adrien Delorme 0785c2f6fc
build using HCL2 (#8423)
6 years ago
Megan Marsh 0f6d1beccf add an extra string array to the Prepare() return values in the builder interfaces; this sets up the ability for builders to give the provisioners custom user-accessible build-time variables.
6 years ago
Moss a0329ef196 Simplify testing template
6 years ago
Moss 7466c4fdca Return exit code 1 when builder type is not found
6 years ago
mingsheng.su 2c513fce64 update ucloud packer
6 years ago
mingsheng.su 61f9d3a9fe add ucloud import
6 years ago
Paul Meyer 7297d74c98 Add azure-chroot builder plugin
6 years ago
Megan Marsh 59efa0faee rename option to error-cleanup-privisoner, which I think is clearer
7 years ago
Megan Marsh 0683bc409b add test for error-cleanup provisioner, and fix tests by fixing null builder to use an actual none communicator instead of skipping communicator generation altogether
7 years ago
Megan Marsh 6688f436dd
Merge pull request #7960 from guidodobboletta/master
7 years ago
xiaohan.liang f4fc9dd09a Rewrite all files, remove sensitive information
7 years ago
Guido Dobboletta e79d62d006 Fix text
7 years ago
Thomas Meckel d3202497ae First working version of virtualbox/vm builder
7 years ago
Thomas Meckel 2a531f8ad6 Merged changes from local branch
7 years ago
Brendan Devenney 2b16b5cae4
Move fixer test to fix package
7 years ago
Brendan Devenney 6520814a6c
Ensure help output is consistently formatted
7 years ago
Brendan Devenney 75d8d7fce5
Update and futureproof fix command usage
7 years ago
Brendan Devenney 91b7d8c572
Add test to ensure all fixers are enabled
7 years ago
Brendan Devenney 9f0bc29db5
Test that Fixers and FixerOrder are equal length
7 years ago
Marin Salinas 80dadaf3f1 feature: add bsuvolume builder and acceptance test
7 years ago
Marin Salinas 0c47ee55e6 feature: add chroot builder structure
7 years ago
Marin Salinas c4e69d3169 wip: add bsu plugin acc testing
7 years ago
Marin Salinas 1281f28f6d add prevalidate step
7 years ago
Marc Falzon 00c2df24df Add Exoscale Import post-processor
7 years ago
mingsheng.su 6109ad79a3
Merge branch 'master' into feature/ucloud_builder
7 years ago
Adrien Delorme 5efab58ed8 allow to have timestamped colorless ui messages
7 years ago
mingsheng.su d1b9ad90c8 Merge remote-tracking branch 'origin' into feature/ucloud_builder
7 years ago
mingsheng.su c8bab9b382 add ucloud packer
7 years ago
Megan Marsh f7bf80724c document what a REPL is
7 years ago
Megan Marsh 53a5e90d78
Update command/console.go
7 years ago
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