Commit Graph

332 Commits (df913f596b796d32cfec217faef048e7d3c52875)

Author SHA1 Message Date
Matthew Hooker ee5d13611f
update ssh client usage for new crypto/ssh version
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Matthew Hooker bce03492d9
remove references to ServiceAccountEmail
9 years ago
Rickard von Essen 77dc8b84c1
builder/googlecompute: Revert to using default service account
9 years ago
Matthew Hooker d1b20b3d9c
remove a bunch of dead code.
9 years ago
Rickard von Essen eac5b6392d googlecompute: Correct values for on_host_maintenance
9 years ago
Matthew Hooker 2381bfa8ad Merge pull request #4518 from AlexLov/bugfix_image_family
9 years ago
Dimitri Rudnev 2009fcd9df OnHostMaintenance, googlecompute updating documenation , additional option for validation and setting defaults
9 years ago
Dimitri Rudnev bab590c177 Adding OnHostMaintenance option for googlecompue builder
9 years ago
Alex Lov cfa8f8c215 fix bug of creating image from custom image_family
9 years ago
Troy Toman 12f279fa79 add ability to set a different project-id for a network in the googlecloud builder
10 years ago
Rickard von Essen 6947a74151 Merge pull request #4162 from classmarkets/google-source-image-family
10 years ago
Rickard von Essen d18da5e679
Added printout of select source_image
10 years ago
Rickard von Essen 96e9a8e6e9 Removed default value for ssh_username
10 years ago
Peter Schultz bcb319640e builder/googlecompute: support source image family
10 years ago
Matthew Hooker 5d0892bd37 Merge pull request #4101 from lwander/f-googlecompute-ssh-private-key-file
10 years ago
Lars Wander 583e341ae7 builder/googlecompute: Store empty public_key
10 years ago
Lars Wander 7f474d8f78 builder/googlecompute: Tests added
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
Matthew Hooker d920b3fbf4 run gofmt
10 years ago
YAMADA Tsuyoshi da7d317e46 googlecompute: Run instance with custom scopes
10 years ago
Rickard von Essen 924c0bc461 Merge pull request #3932 from pieter-lazzaro/googlecompute-createpassword
10 years ago
Rickard von Essen c0a4067151
builder/googlecompute: Print out WinRM password in debug mode.
10 years ago
Matthew Hooker a8e57d83d2 gofmt project.
10 years ago
Matthew Hooker a9abe43325 builder/amazon: add retry login when creating tags.
10 years ago
Pieter Lazzaro 5db1c1f503 Create a password for windows instances when using WinRM communicator and no password is provided.
10 years ago
Valentin Tjoncke ef1517064c googlecompute/builder: Always show message when checking image exists
10 years ago
nouney 4605f9559f Fix unreachable code
10 years ago
Valentin Tjoncke 6f545af7f7 builder/googlecompute: -force
10 years ago
Rickard von Essen 9ce70bfce0 Merge pull request #3338 from yuki-takeichi/gce-nvme
10 years ago
Yuki Takeichi 04078c5c48 Enable to select NVMe images for googlecompute builder
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
Ingo Gottwald 0c1051a017 GCE builder: Switch to google.DefaultClient (#3655)
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
Evan Brown a5c598264f builder/googlecompute: Support provisioning VM without external IP address
10 years ago
Scott Crunkleton 7190fbeed8 Adding support for googlecompute startup scripts.
10 years ago
Chris Bednarski 2f0e1218dc Move regexp to package scope so it will be validated by the compiler instead of at runtime
10 years ago
Peter Schultz a99a417db9 builder/googlecompute: validate image_family
10 years ago
Peter Schultz 8546aafec5 builder/googlecompute: support image family
10 years ago
Christopher Boumenot 2d1347c1ec Insert Packer's version into the User Agent. (#3465)
10 years ago
Chris Bednarski 1b1bbb604e Merge branch 'googlecompute-disk-type' of https://github.com/meatballhat/packer into f-google-disk-type
10 years ago
Chris Bednarski 4458de4ea0 Reformat
10 years ago
Matt Morrison daf57c7632 Add tests and documentation for subnetwork attribute
10 years ago
Matt Morrison 942aaa7a85 Add support for Google subnetworks. Closes #3062. Fixes an issue with how packer populates instances metadata. Closes #3181
10 years ago
Ryan Uber 7732cf45a0 builder/googlecompute: fix image name defaults
10 years ago
Caius Howcroft 069c3c21b1 Added support for GCE external static IPs
10 years ago
YAMADA Tsuyoshi 18d79cfb3d added test
11 years ago
YAMADA Tsuyoshi afd314959b supported `preemptible` in googlecompute builder
11 years ago
Dan Buch cac93d311c builder/googlecompute: accept disk type, default pd-standard
11 years ago
Dave Cunningham 1fea962a3a account_file can be verbatim JSON string
11 years ago
Rickard von Essen 9cf99289c5 Fixed GCE builder after dependency change.
11 years ago
Chris Bednarski 32b714e085 Update code.google.com/gosshold/ssh to point to golang.org/x/crypto/ssh, since this has been moved into core now
11 years ago
Chris Bednarski 1c71eaaa91 Change panic to multierror
11 years ago
Chris Bednarski 775450f46a Merge branch 'fix_gce_image_name' of https://github.com/samitpal/packer into b-google-image-name
11 years ago
Chris Bednarski bd6c31c2d9 Added TestImageName and moved private methods to the bottom of the file
11 years ago
Samit Pal 6d6b3e1ac2 The default image name in the code has a bug. It is being set to packer-{{timestamp}}, the {{timestamp}} part needs to be interpolated. Without the interpolation the GCE builder fails with
11 years ago
Mitchell Hashimoto 6c7a7b6068 builder/googlecompute: default SSH settings properly [GH-2340]
11 years ago
Mitchell Hashimoto 84189f7a28 builder/*: properly save interpolation context
11 years ago
Mitchell Hashimoto 9bb7d0a2d5 Merge pull request #2152 from abayer/gce-optional-internal-ip
11 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
Mark Peek f398352996 Fix a bug where interpolation was broken in some builders
11 years ago
Mitchell Hashimoto 23a48d6619 go fmt
11 years ago
Mitchell Hashimoto 9dff0adfb1 builder/google: don't hardcode SSH timeout [GH-1781]
11 years ago
Andrew Bayer ebdd0d991a Adds support for using the internal IP rather than NAT IP in GCE
11 years ago
jszwedko b1497b951c code.google.com/p/go.crypto/ssh -> golang.org/x/crypto/ssh
11 years ago
Mitchell Hashimoto 5aa30caa64 builder/googlecompute: new interpolation
11 years ago
duftler 6d28ee931c Delete GCE disk on SIGINT.
11 years ago
Dave Cunningham 982934dfb9 Use new Google API and OAuth libs, add UserAgent string
11 years ago
Emil Hessman 002e50f493 builder/googlecompute: fix formatting directives
11 years ago
Ross Smith II 10dee1bd68 Temporarily fix build by forking golang.org/x/oauth2 @ b3f9a68
12 years ago
Eric Johnson 24a774f0d3 Merge pull request #1737 from dcarlino/failfast_gce
12 years ago
Dustin Carlino fe47f45800 Remove bucket_name from GCE config.
12 years ago
Dustin Carlino 7c67228912 Check if image already exists before doing anything else on GCE.
12 years ago
rhapsodhy dd547af0c4 fix googlecompute oauth dependency
12 years ago
Dustin Carlino 23c947acf0 Create GCE image from persistent disk instead of from a tarball.
12 years ago
Eric Johnson 87001dba60 Merge pull request #1679 from evandbrown/gce-service-accounts
12 years ago
Evan Brown ff149df30f Use golang/oauth2, no longer require client_secrets.json, and use
12 years ago
Misha Brukman 74e1be7469 Added the Ubuntu image project for GCE.
12 years ago
Mitchell Hashimoto 0db6cd3533 Merge pull request #1330 from qur/qemu-vagrant
12 years ago
Mitchell Hashimoto e422a45449 fmt
12 years ago
Matt Page 0fe61fa1e0 fix: Respect metadata supplied for GCE builders.
12 years ago
Julian Phillips 90a57c411f Expand Artifact API to expose build state
12 years ago
Mitchell Hashimoto b9f82ef17e fmt
12 years ago
Mitchell Hashimoto b5c0c63ebc builder/googlecompute: use new auth scheme
12 years ago
Mitchell Hashimoto 752162c234 fmt
12 years ago
Matt Page 8f237b7b94 Allow specifying project for source images in GCE
12 years ago
Jessica Frazelle 8bc696ce9e add disk size to google compute, so as to avoid disk size errors on exporting the image
12 years ago
Misha Brukman 4a85aefe0f Rename "Gsutil" to "Gcloud" now that we're updating "gcloud" and not "gsutil".
12 years ago
Eric Johnson 7f38936596 Merge pull request #1350 from mbrukman/googlecompute-driver-vm-images
12 years ago
Misha Brukman 5b56970b09 Added CoreOS, OpenSUSE, and Windows projects for searching images.
12 years ago
Misha Brukman 01130da729 builder/googlecompute: added support for all standard VM images
12 years ago
Carlos Sanchez 80fa018a36 [GCE] gsutil update fails in newer images, use gcloud
12 years ago
Mitchell Hashimoto 5fac6c79c4 fmt
12 years ago
Mitchell Hashimoto e84e5e4f2c Merge branch 'update-ssh-package' of github.com:higebu/packer into higebu-update-ssh-package
12 years ago
Mitchell Hashimoto 0da1f2d8c6 builder/googlecompute: template process instance name
12 years ago
Brett Porter e169013527 builder/googlecompute: configure instance name
12 years ago
Ross Smith II e9c84ef449 Merge pull request #1001 from zshenker/update-gce-builder-to-v1-api
12 years ago
higebu f087ce16dc Fix the build problem by updating ssh package
12 years ago
Ross Smith II 27491f93f8 use old ssh code until higebu's branch is ready, see #1019
12 years ago
Zac Shenker 139e498962 Changing to the v1 google-api-go-client. Now creates a persistent disk as the boot disk, and sets it to auto delete
12 years ago
Mitchell Hashimoto e3c0715eab fmt
12 years ago
Mitchell Hashimoto 5f01415fb7 builder/googlecompute: tests for #867
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
Mitchell Hashimoto a91b8f6853 builder/googlecompute: only load secrets/private key if given
13 years ago
Mitchell Hashimoto bde4b02d2b builder/googlecompute: artifact tests
13 years ago
Mitchell Hashimoto 637968f2dd builder/googlecompute: artifact uses Driver, no more api
13 years ago
Mitchell Hashimoto 33a84c0938 builder/googlecompute: StepRegisterImage
13 years ago
Mitchell Hashimoto 587f057bf6 builder/googlecompute: StepUploadImage
13 years ago
Mitchell Hashimoto 20a074b4ee builder/googlecompute: StepCreateImage
13 years ago
Mitchell Hashimoto 37903337ea builder/googlecompute: update gsutil
13 years ago
Mitchell Hashimoto a2cf4cae25 builder/googlecompute: enable provisioning
13 years ago
Mitchell Hashimoto 1055f470e6 builder/googlecompute: enable SSH
13 years ago
Mitchell Hashimoto a72d31fb5b builder/googlecompute: get instance info
13 years ago
Mitchell Hashimoto 57f707dfcc builder/googlecompute: delete instance
13 years ago
Mitchell Hashimoto f72f7a37d1 builder/googlecompute: fix all sorts of zone issues
13 years ago
Mitchell Hashimoto b676058144 builder/googlecompute: better logging
13 years ago
Mitchell Hashimoto 54d59fc79f builder/googlecompute: get rid of all client stuff for now
13 years ago
Mitchell Hashimoto 52f51a1dcd builder/googlecompute: disable other steps for now
13 years ago
Mitchell Hashimoto 2bd6f1e2d7 builder/googlecompute: driver and create instance tests
13 years ago
Mitchell Hashimoto 3657f33a4d builder/googlecompute: StepCreateSSHKey tests
13 years ago
Mitchell Hashimoto 2091dffe40 builder/googlecompute: cancel works
13 years ago
Mitchell Hashimoto fbc07942f0 builder/googlecompute: test config basics
13 years ago
Mitchell Hashimoto 46d297c7bd builder/googlecompute: client secrets tests
13 years ago
Mitchell Hashimoto 6507afd3ad builder/googlecompute: private key tests
13 years ago
Mitchell Hashimoto ee9ea170af builder/googlecompute: move config out to seperate file
13 years ago
Mitchell Hashimoto a78b10c06d builder/googlecompute: set ID to packer namespace now thats in core
13 years ago
Kelsey Hightower cc1130962b Use the same license as Packer core
13 years ago
Kelsey Hightower 58c73727e5 builder/googlecompute: Add new googlecompute builder
13 years ago