Commit Graph

264 Commits (1ec68cac23be19ecb8aff4e84dfbef00117bcd17)

Author SHA1 Message Date
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
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
Megan Marsh 6f418d0e54 get data sharing to a working state with the powershell provisioner
6 years ago
Megan Marsh 601007e3e2 pas data into provisioners well
6 years ago
Lars Lehtonen 3571c585bb builder/googlecompute: fix dropped error (#8385)
6 years ago
Megan Marsh 6c704f7046 Revert "fix template imports"
6 years ago
Megan Marsh 517834d528 Revert "Revert "remove clean_ami_name and clean_image_name; complete the deprecation for these functions in favor of clean_resource_name""
6 years ago
Adrien Delorme 819329228a Change back to make sure all durations are a time.Duration
6 years ago
Adrien Delorme bf3d9841c6 Force durations to be passed a strings
6 years ago
Adrien Delorme 078ba7c8c3 commit old code generation tool
7 years ago
Adrien Delorme 17c069baa5 builder.google:
7 years ago
Megan Marsh 0e70e0e5a4 fix template imports
7 years ago
Megan Marsh 44f91c9afc Revert "remove clean_ami_name and clean_image_name; complete the deprecation for these functions in favor of clean_resource_name"
7 years ago
Adrien Delorme d4600a7716 fix go imports
7 years ago
Megan Marsh 0026792d2f remove clean_ami_name and clean_image_name; complete the deprecation for these functions in favor of clean_resource_name
7 years ago
Lars Lehtonen ad860bf1a8
builder: remove deprecated context usage
7 years ago
Megan Marsh 3c14c50aba Allow user to real oauth token from properly configured Vault instance
7 years ago
Adrien Delorme 3fe9d52e3f Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
Megan Marsh 35357616e0
Merge pull request #8112 from milescrabill/packer-googlecompute-validate-imagename
7 years ago
Miles Crabill 2bff60bac8
address review feedback
7 years ago
Miles Crabill 328baced05
add some test cases for image names
7 years ago
Miles Crabill c11a444f77
googlecompute: fail fast when image name is invalid, replace unusable characters w/ -'s
7 years ago
Megan Marsh a6e263adb6 don't fall for nil pointer dereference in account file
7 years ago
Adrien Delorme 2db109d55b Merge branch 'master' into scrape_doc_to_builder_struct_config
7 years ago
Megan Marsh fcef7e2d85 this timeout regularly flakes on Travis, I suspect because the instances running the tests are brutally underpowered. Increase the fudge factor.
7 years ago
Adrien Delorme 4cb7c30987 Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
Mason, Elliot ee484f2dd9 Updated public gcp cloud images
7 years ago
Megan Marsh 7c93a5c51e code changed recently so that sometimes the conf is nil.
7 years ago
Megan Marsh a87ce366b3
Merge pull request #7835 from hashicorp/google_oauth
7 years ago
Megan Marsh 617fd18255 supply complete dummy data for googlecompute tests
7 years ago
Megan Marsh 0dfb3cc56f replace some bespoke google auth code with code from golang's oauth2 library
7 years ago
Megan Marsh c03c3f4410 replace duplicate commHost functions with a single communicator helper that checks for ssh_host and does a statebag lookup for a given key
7 years ago
Megan Marsh eb8c74bf85 allow ssh_host config option to override host logic for all builders
7 years ago
Megan Marsh ad8a88e366 allow ssh_host to override the host ip gathered from the instance for GCP builder
7 years ago
Adrien Delorme a3e3c313a9 docs: use partials in googlecompute after master merge
7 years ago
Adrien Delorme 6e3dc1aa9a Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
Pratyush singhal 92af5847a7 refactor: replace *packer.MultiError from type signature of createInstanceMetadata with generic error interface
7 years ago
Pratyush singhal 6ce6bd8ad3 refactor: add multiError in createInstanceMetadata method to capture multiple errors
7 years ago
Pratyush singhal 4a369b4ef1 chore: add test for MetadataFiles option
7 years ago
Pratyush singhal 99a3e9cf0a chore: update tests for createInstaceMetadata
7 years ago
Pratyush singhal 529dff0abb refactor: add error handling in createInstanceMetadata method
7 years ago
Adrien Delorme 4399684372 make fmt autogenerated docs
7 years ago
Pratyush singhal 1e1af35341 refactor: replace userdata_files with generic metadata_files map
7 years ago
Pratyush singhal 3845186c4c feat: add feature to import user-data from a file
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