packer-cn/builder/googlecompute
Scott Crunkleton 7190fbeed8 Adding support for googlecompute startup scripts.
- Startup scripts can be provided through the instance creation metadata field 'startup-script'.
- Script log can be copied to a GCS location by setting the metadata field 'startup-script-log-dest'.
Added Retry method to googlecompute package.
Added GetSerialPortOutput to googlecompute Drivers.
Added StepWaitInstanceStartup (and associated test) which waits for an
instance startup-script to finish.
Changed the instance service account to use the same service account as the one provided in the Packer config template. It was the project default service account.

Tested googlecompute package with 'go test' and also performed builds
with a startup script and without a startup script.
2016-07-20 14:54:36 -07:00
..
account.go account_file can be verbatim JSON string 2015-10-08 02:40:18 -04:00
artifact.go Adding support for googlecompute startup scripts. 2016-07-20 14:54:36 -07:00
artifact_test.go builder/googlecompute: artifact tests 2013-12-13 19:08:27 -08:00
builder.go Adding support for googlecompute startup scripts. 2016-07-20 14:54:36 -07:00
builder_test.go Use the same license as Packer core 2013-12-12 21:53:04 -08:00
common.go Adding support for googlecompute startup scripts. 2016-07-20 14:54:36 -07:00
common_test.go Adding support for googlecompute startup scripts. 2016-07-20 14:54:36 -07:00
config.go Adding support for googlecompute startup scripts. 2016-07-20 14:54:36 -07:00
config_test.go builder/googlecompute: validate image_family 2016-05-13 15:24:02 -07:00
driver.go Adding support for googlecompute startup scripts. 2016-07-20 14:54:36 -07:00
driver_gce.go Adding support for googlecompute startup scripts. 2016-07-20 14:54:36 -07:00
driver_mock.go Adding support for googlecompute startup scripts. 2016-07-20 14:54:36 -07:00
private_key.go builder/googlecompute: fix all sorts of zone issues 2013-12-12 22:23:19 -08:00
private_key_test.go builder/googlecompute: private key tests 2013-12-12 21:53:04 -08:00
ssh.go helper/communicator: make host more generic 2015-06-13 19:23:33 -04:00
startup.go Adding support for googlecompute startup scripts. 2016-07-20 14:54:36 -07:00
step_check_existing_image.go Check if image already exists before doing anything else on GCE. 2014-12-09 08:42:34 -08:00
step_check_existing_image_test.go Check if image already exists before doing anything else on GCE. 2014-12-09 08:42:34 -08:00
step_create_image.go Adding support for googlecompute startup scripts. 2016-07-20 14:54:36 -07:00
step_create_image_test.go Adding support for googlecompute startup scripts. 2016-07-20 14:54:36 -07:00
step_create_instance.go Adding support for googlecompute startup scripts. 2016-07-20 14:54:36 -07:00
step_create_instance_test.go Delete GCE disk on SIGINT. 2015-04-21 18:02:05 +00:00
step_create_ssh_key.go Adding support for googlecompute startup scripts. 2016-07-20 14:54:36 -07:00
step_create_ssh_key_test.go builder/googlecompute: tests for #867 2014-02-21 15:10:09 -08:00
step_instance_info.go Adding support for googlecompute startup scripts. 2016-07-20 14:54:36 -07:00
step_instance_info_test.go Adds support for using the internal IP rather than NAT IP in GCE 2015-05-29 14:50:11 -07:00
step_teardown_instance.go Adding support for googlecompute startup scripts. 2016-07-20 14:54:36 -07:00
step_teardown_instance_test.go builder/googlecompute: fix formatting directives 2015-02-25 05:29:53 +01:00
step_test.go builder/googlecompute: driver and create instance tests 2013-12-12 21:53:05 -08:00
step_wait_instance_startup.go Adding support for googlecompute startup scripts. 2016-07-20 14:54:36 -07:00
step_wait_instance_startup_test.go Adding support for googlecompute startup scripts. 2016-07-20 14:54:36 -07:00