Commit Graph

377 Commits (ceb96d061a00bae13eb4e34bfd37dc2c7f4cbde7)

Author SHA1 Message Date
upodroid 9b121e85f9 fix dodgy pointers
6 years ago
upodroid 2faacfd5d7 add service account impersonation
6 years ago
Megan Marsh 883339be25
Set project via project flag, not setting in the config (#9662)
6 years ago
Megan Marsh b40490c3c1
Merge pull request #9610 from chilversc/winrm-via-iap-tunnel
6 years ago
Megan Marsh a687d6fe12
ci/tech-debt: Fix vmware acceptance tests (#9636)
6 years ago
Chris Chilvers 63eedf841e Fix failing tests due to IAP communicator host name
6 years ago
Chris Chilvers 37544f4d5f Support using WinRM over an IAP tunnel
6 years ago
Megan Marsh 8bb2cb44c0 rename launch timeout to launch wait
6 years ago
Megan Marsh 6e9eaa1edd generate code
6 years ago
Megan Marsh af009c2aa0 make tunnel timeout configurable
6 years ago
Roger Hu 28f8241a05 update generated files
6 years ago
Wei Cheng e5606d483d
builder/googlecompute: add support for oslogin (#9339)
6 years ago
Megan Marsh 673858a63c
Merge pull request #9513 from hashicorp/undocument_ssh_temp_key
6 years ago
Wilken Rivera 4462c0b5ab builder/googlecompute: Add WrapStartupScriptFile configuration option
6 years ago
Moss 8ea64c5b35 undocument ssh_keypair_name and ssh_agent_auth
6 years ago
Moss 41edd09d3c undocument temporary_key_pair_name and ssh_private_key_file
6 years ago
Megan Marsh a96194081a
Merge pull request #9453 from hashicorp/fix_ssh
6 years ago
Wilken Rivera ce6284f760 docs/builder/google: Add note about boolean values for compute instance metadata
6 years ago
Megan Marsh 4f77bb0c4a add new ssh_ciphers option
6 years ago
Megan Marsh 4178625afb re-add winrm_no_proxy option. Winrm code needs to be modified in order to read no_proxy env var when client is created rather than when net/http library is instantiated.
6 years ago
Svetlin 49bf9c9d37
[gcp] Fixup for the deprecated Secure Boot guest OS feature (#9371)
6 years ago
Megan Marsh 02590f6c44
Merge pull request #9329 from hashicorp/je.website-maintenance-5-29-20
6 years ago
Jeff Escalante f4d7b5f493
fix some stuff
6 years ago
Wei Cheng e0cfb404fb
builder/googlecompute: add support to specify storage location for GCP images (#9326)
6 years ago
Adrien Delorme 40947c2bf6
HCL2: generate hcl tags with go-cty tags too (#9306)
6 years ago
Megan Marsh 9476aa03de
Merge pull request #9105 from hashicorp/google_iap
6 years ago
Megan Marsh a55b73473a fix logic
6 years ago
Megan Marsh dde162622d use local port in listener config, when set
6 years ago
Megan Marsh 81e043f2b0 fix windows tests
6 years ago
Megan Marsh 60600e6cf6 make windows work with account files containing spaces
6 years ago
Megan Marsh dae60799bc fix tests
6 years ago
Megan Marsh fda55fe928 deduplicate excess code
6 years ago
Megan Marsh 54b33ad8d1 fix tests
6 years ago
Megan Marsh 850303b8b8 get gcloud integration working on Windows
6 years ago
Megan Marsh c578afc62c working on windows
6 years ago
Megan Marsh 32752d4577 fix linting and tests
6 years ago
Megan Marsh b5744efb42 add config prepare tests
6 years ago
Megan Marsh f583674cd6 linding
6 years ago
Megan Marsh 4fc92d7858 add tests
6 years ago
Megan Marsh 937a4859d4 Make retries a bit smarter, clean up language to be gentler, and give up on parsing stdout for tunnel launch
6 years ago
Megan Marsh 3e1ddad0c7 fix behavior when not using IAP, try to use more sophisticated streaming than buffer.String()
6 years ago
Megan Marsh 9353635b43 send sigint instead of sigkill; we can at least ask the tunnel nicely to shut down.
6 years ago
Megan Marsh f67a8ab431 revert unneeded changes to driver roles
6 years ago
Megan Marsh 80ecd2013d basic untested implementation for Windows. May leave zombie processes lying around
6 years ago
Megan Marsh 3cd28e98a7 linting
6 years ago
Megan Marsh 365eb09842 import context
6 years ago
Megan Marsh eb05f6ff88 fix windows
6 years ago
Megan Marsh d713f7ec64 add conditional building becasue windows support is still forthcoming
6 years ago
Megan Marsh e6073bcec7 implement iap proxy for googlecompute. ssh-only so far
6 years ago
Markus Liljedahl d807e81adb
Changed default disk size for when using googlecompute to match minimum disk sice to the google api. Closes https://github.com/hashicorp/packer/issues/9023 (#9071)
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
Svetlin Zamfirov b706f02408 Fixing auto-generated code errors
6 years ago
Svetlin Zamfirov d827f4f757 Adding custom shielded images support (GCP)
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 4afd107eeb
patch source files for extensions changes
6 years ago
Jeff Escalante bcc848a83d
were rendering yay
6 years ago
Megan Marsh 0f9415297f
Merge pull request #8679 from kwibus/gcp-fallback-image
6 years ago
desolatorxxl 87f7160084 [builder/google] Use "ssh-keys" metadata rather than deprecated "sshKeys"
6 years ago
Megan Marsh 6008f911fd
Merge pull request #8847 from takaishi/support-keyboard-interactive
6 years ago
r_takaishi f50ff1d270 make generate
6 years ago
Wilken Rivera 7b705545d9
docs: Various doc clean-ups to fix code block formatting and syntax highlighting (#8868)
6 years ago
Rens Sikma 3d8bda31a4 modify docstring
6 years ago
Rens Sikma c8062cc8b3 fix #8679 with source_image_project_id as list
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
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)
7 years ago
Megan Marsh 6c704f7046 Revert "fix template imports"
7 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""
7 years ago
Adrien Delorme 819329228a Change back to make sure all durations are a time.Duration
7 years ago
Adrien Delorme bf3d9841c6 Force durations to be passed a strings
7 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