Commit Graph

66 Commits (2bdfd53756611eafed685a4edced00aa1011de4e)

Author SHA1 Message Date
Adrien Delorme d1e0214bec avoid panic debugging ssh key
5 years ago
Adrien Delorme 536421efaf debug mode: don't dump the ssh key if its from a file
5 years ago
Adrien Delorme f4f731b83c Refactor google compute's temporary ssh keygen genertion to use the sshkey package
6 years ago
Megan Marsh 61c6085651
final fix to make service account impersonation work with iap tunnels (#10054)
6 years ago
upodroid f13099edfb rebase the branch
6 years ago
upodroid 2faacfd5d7 add service account impersonation
6 years ago
Wei Cheng e5606d483d
builder/googlecompute: add support for oslogin (#9339)
6 years ago
Megan Marsh 850303b8b8 get gcloud integration working on Windows
6 years ago
Megan Marsh f67a8ab431 revert unneeded changes to driver roles
6 years ago
Megan Marsh e6073bcec7 implement iap proxy for googlecompute. ssh-only so far
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
Adrien Delorme 17c069baa5 builder.google:
7 years ago
Megan Marsh 3c14c50aba Allow user to real oauth token from properly configured Vault instance
7 years ago
Megan Marsh a87ce366b3
Merge pull request #7835 from hashicorp/google_oauth
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
Adrien Delorme a4bf94dd3c change Builder to be passed a context for cancellation
7 years ago
Adrien Delorme 9f82b75e57 Use the hashicorp/go-getter to download files
7 years ago
Megan Marsh 38cc525ec7 new option allowing user to clean up the ephemeral ssh key from the authorized_keys file
8 years ago
Adrien Delorme 050a98e8bb googlecompute builder: use config from statebag
8 years ago
Adrien Delorme 4982627dd2 builder.gcp: use c.Comm for ssh
8 years ago
Adrien Delorme 51d2aac9f6 SSHPrivateKey => SSHPrivateKeyFile
8 years ago
Adrien Delorme 41f6e0334d refactor all copy pasted sshConfig with into communicator.Config.SSHConfigFunc
8 years ago
Matthew Hooker 366dc3da0a
move multistep imports to helper.
8 years ago
Atsushi Ishibashi 210dd08326 Change args of NewConfig
9 years ago
Atsushi Ishibashi 5310d5629b Modify clean_image_name not defined error
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Matthew Hooker 5d0892bd37 Merge pull request #4101 from lwander/f-googlecompute-ssh-private-key-file
10 years ago
Scott Crunkleton 85210afe92 googlecompute: conditionally omit the wait for startup script step if no startup script is provided.
10 years ago
Lars Wander d70e783455 builder/googlecompute: Use ssh_private_key_file if provided
10 years ago
Pieter Lazzaro 5db1c1f503 Create a password for windows instances when using WinRM communicator and no password is provided.
10 years ago
Orivej Desh 6762965696 Add -on-error command line argument to allow preserving artifacts on builder errors
10 years ago
Scott Crunkleton b54b82d3ac Some googlecompute fixes and cleanup. Addresses https://github.com/mitchellh/packer/issues/3829. Changes:
10 years ago
crunk1 55b5a45ae4 Created googlecompute-export post-processor. Modified the googlecompute builder to pass a few configuration values to its resulting artifact. These values can then be used in googlecompute-export post-processor.
10 years ago
Scott Crunkleton 7190fbeed8 Adding support for googlecompute startup scripts.
10 years ago
Mitchell Hashimoto 115d583cff helper/communicator: make host more generic
11 years ago
Mitchell Hashimoto 502076c92e builder/googlecompute: use helper/comm
11 years ago
Mitchell Hashimoto 9dff0adfb1 builder/google: don't hardcode SSH timeout [GH-1781]
11 years ago
Dustin Carlino 7c67228912 Check if image already exists before doing anything else on GCE.
11 years ago
Dustin Carlino 23c947acf0 Create GCE image from persistent disk instead of from a tarball.
11 years ago
Evan Brown ff149df30f Use golang/oauth2, no longer require client_secrets.json, and use
11 years ago
Mitchell Hashimoto b5c0c63ebc builder/googlecompute: use new auth scheme
12 years ago
Misha Brukman 4a85aefe0f Rename "Gsutil" to "Gcloud" now that we're updating "gcloud" and not "gsutil".
12 years ago
Prasanna Santhanam d4c9ed43c9 Formatted googlecompute builder as per `make format`
12 years ago
Prasanna Santhanam 0e98b2a269 Fixes #867: save private key when debugging gce builder
12 years ago