Commit Graph

221 Commits (4f2653407264c21b17d04097ee0e272dfd99476a)

Author SHA1 Message Date
Adrien Delorme 40947c2bf6
HCL2: generate hcl tags with go-cty tags too (#9306)
6 years ago
Megan Marsh 26d05abd4f
Merge pull request #9182 from hashicorp/fix_9131
6 years ago
Adrien Delorme 62556c464c
Update builder/docker/artifact_import.go
6 years ago
Megan Marsh 02c1cf5b28 support pushing multiple tags
6 years ago
Megan Marsh 7e0cfd8b77 add undocumented tag to struct-markdown generator so that we can leave internal-use-only fields out of docs
6 years ago
Adrien Delorme 840e67f775
HCL2: when we see a map generate an attribute spec instead of a block spec (#9035)
6 years ago
Jeff Escalante 9165be87da
packer.io prefix removal, html extension remove for in-code errors
6 years ago
Jeff Escalante 4afd107eeb
patch source files for extensions changes
6 years ago
Jeff Escalante bcc848a83d
were rendering yay
6 years ago
r_takaishi f50ff1d270 make generate
6 years ago
Wilken Rivera e1a46ec293
Fix gosimple S1025 linting errors (#8838)
6 years ago
Megan Marsh d252a24b82 allow user to set winrm_host override like we do ssh_host override
6 years ago
Sylvia Moss dc31bad539
Sharing info with post-processors via artifact (#8632)
6 years ago
Wilken Rivera a72242cd70
Merge pull request #8498 from hashicorp/f-builder_docker-typeassertion-check
6 years ago
nywilken 9403d55549 builder/docker: Add type assertion check when reading config from state bag
6 years ago
nywilken 0ba6b22fee builder/docker: Update type of config stored in state bag
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
Megan Marsh 84063d2132 implement ID and Type values in the provisioner template info sharing
6 years ago
henry-aj-jones d317d7f3d1 post-processor/docker-tag: Allow to tag an artifact with multiple tags (#8392)
6 years ago
Adrien Delorme 078ba7c8c3 commit old code generation tool
6 years ago
Megan Marsh de8e8557ae make config dir if it doens't exist.
6 years ago
Megan Marsh 7f040dfed8 update tests
6 years ago
Megan Marsh 7c41244e15 use a unique temp dir for each build to prevent concurrent builds from stomping on each other
6 years ago
Adrien Delorme 5517d41468 make sure all documentation fields are there
7 years ago
Adrien Delorme 4cb7c30987 Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
Megan Marsh 773e76c1ce remove unused import
7 years ago
Megan Marsh b6f3742425 check container os, not host os, when creating container dir default
7 years ago
Megan Marsh 140785f088 make sure we create the temp dir explicitly when we are setting up the config dir in docker. Otherwise, we create it with root later on and it causes permissions failures.
7 years ago
Megan Marsh eb8c74bf85 allow ssh_host config option to override host logic for all builders
7 years ago
Megan Marsh 8d5ecb9514 fix bug where ReadAll on the stderr pipe was causing an infinite hang because there was no stderr to report
7 years ago
Adrien Delorme 696fce9739 docker: rewrap struct comments for documentation generation
7 years ago
Adrien Delorme 4399684372 make fmt autogenerated docs
7 years ago
Adrien Delorme e6cbb013ba add // go:generate struct-markdown to all previously edited files
7 years ago
Adrien Delorme f1917edd34 generate the comments for config struct of builders scraping doc website
7 years ago
Adrien Delorme 2da36b7374 builder/docker: default container dir to "c:/packer-files" on windows
7 years ago
Megan Marsh 71f2017209 read stderr before we try to read the artchive.
7 years ago
Adrien Delorme 63f5bbbc73 use our own copy of iochan.LineReader
7 years ago
Adrien Delorme 6ff392d713 Update windows_container_communicator.go
7 years ago
Adrien Delorme f555e7a9f2 allow a provisioner to timeout
7 years ago
Adrien Delorme a81abd297b Merge remote-tracking branch 'origin/master' into context_provisioner
7 years ago
Adrien Delorme c4f3dccc14 rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts
7 years ago
Adrien Delorme a4bf94dd3c change Builder to be passed a context for cancellation
7 years ago
Megan Marsh af06334114 fix tests
7 years ago
Megan Marsh 6407a579f0 Document why we need windows communicator in code
7 years ago
Megan Marsh 12b9004c76 reduce duplicated code
7 years ago
Megan Marsh 0860edeed8 fix mocks
7 years ago
Megan Marsh 70150ffa0f set powershell entrypoint for windows containers
7 years ago
Megan Marsh 36f2634352 can't use docker cp so call powershell to do this natively. Fix implementation for upload, uploadDir, and download in windows container communicator
7 years ago