Commit Graph

333 Commits (e51e9cd56e06fb2e2fb7462cde224e9ec0e9f24d)

Author SHA1 Message Date
Jack Pearkes d9ab4e210d builder/digitalocean: display friendler API error messages
13 years ago
Steven Merrill 8f72a06ef6 Incorporate code review feedback.
13 years ago
Steven Merrill eb905d30e3 Add a method to get the VMware Tools ISO path.
13 years ago
Steven Merrill 3cda96f9a6 Upload the linux.iso to /tmp/linux.iso.
13 years ago
Mitchell Hashimoto 5ad40dd184 builder/virtualbox: add more logging to version detection
13 years ago
Mitchell Hashimoto 86df78a7be builder/vmware: delete unnecessary files from artifact
13 years ago
Mitchell Hashimoto 958502bbdc builder/vmware: populate files properly in artifact [GH-63]
13 years ago
Justin Campbell 4b2b23c32f Add AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
13 years ago
Jack Pearkes c3363e48ed builder/amazonebs: sleep between checks for ami create
13 years ago
Mitchell Hashimoto e4ad595c90 builder/vmware: default boot_wait
13 years ago
Mitchell Hashimoto 0691bf7657 builder/common: Fix nil deref on race condition [GH-52]
13 years ago
Mitchell Hashimoto 0c20949ed9 builder/virtualbox,vmware: work if port range for HTTP is 0 [GH-53]
13 years ago
Mitchell Hashimoto 5786f6ad5a builder/virtualbox: Tests for the defaults [GH-44]
13 years ago
Mitchell Hashimoto e920c49e8f builder/virtualbox: Set the default boot_wait [GH-44]
13 years ago
Justin Campbell 9c9c60aabf Default to AWS_ env vars for key and secret
13 years ago
Krzysztof Wilczynski 8201b7f6e1 Fix a typo.
13 years ago
Mitchell Hashimoto 66fac2e82f builder/virtualbox: close the input source ISO
13 years ago
Mitchell Hashimoto 39aea8c5ee builder/virtualbox: check the proper file path
13 years ago
Mitchell Hashimoto 358e71d98e builder/vmware: properly test file URLs
13 years ago
Mitchell Hashimoto 13bff7e353 builder/virtualbox: return if cancelled, to avoid nil deref
13 years ago
Mitchell Hashimoto 9a318ceddc builder/virtualbox, vmware: delete output dir if cancelled
13 years ago
Mitchell Hashimoto 213cfb3dad builder/vmware: error if output directory exists
13 years ago
Mitchell Hashimoto 73a2e52a75 builder/virtualbox: Error if output directory already exists
13 years ago
Mitchell Hashimoto 6d87e6aa76 builder/amazonebs: Wait for instance to terminate during cleanup
13 years ago
Mitchell Hashimoto 2e0a051539 builder/*: Fail if provisioning fails [GH-33]
13 years ago
Mitchell Hashimoto 227ab55617 builder/amazonebs: Artifact ID works
13 years ago
Mitchell Hashimoto 32e319920c fmt
13 years ago
Mitchell Hashimoto d7ec646506 builder/virtualbox: "stopping" is still running [GH-30]
13 years ago
Mitchell Hashimoto f0255837d4 builder/digitalocean: Make tests pass again
13 years ago
Mitchell Hashimoto 7c2475e886 builder/virtualbox: remap versions that don't have guest additions
13 years ago
Jack Pearkes b06b8e67f5 website: update digitalocean state_timeout default
13 years ago
Jack Pearkes 3fb6fa2444 builder/digitalocean: raised state_timeout default to 6 minutes [GH-26]
13 years ago
Mitchell Hashimoto 777c869c61 builder/virtualbox: checksum the guest additions
13 years ago
Mitchell Hashimoto 3259bd7e23 builder/virtualbox: treat guest_additions_path as a template
13 years ago
Mitchell Hashimoto 9e8b1b424b builder/virtualbox: upload guest additions to VM
13 years ago
Mitchell Hashimoto 4fb31f1cab builder/virtualbox: Download guest additions for the VM
13 years ago
Mitchell Hashimoto c51a233970 website: update docs for virtualbox_version_file
13 years ago
Mitchell Hashimoto fc5c63d697 builder/virtualbox: Upload version to a "virtualbox_version_file"
13 years ago
Mitchell Hashimoto d4cdccb51b builder/virtualbox: only power off the machine if it isrunning
13 years ago
Mitchell Hashimoto f6113de170 builder/virtualbox: Message for vboxmanage command, not say
13 years ago
Mitchell Hashimoto f68639c5fa builder/virtualbox: recognize <tab>
13 years ago
Mitchell Hashimoto 688be43811 builder/virtualbox: Copy ISO because VirtualBox can't recognize
13 years ago
Mitchell Hashimoto 1e6fd243b1 builder/virtualbox: Output VBoxManage stderr in error
13 years ago
Mitchell Hashimoto 436d796689 builder/virtualbox: add "vboxmanage" to run custom commands
13 years ago
Mitchell Hashimoto 2ac81bfc4d fmt
13 years ago
Mitchell Hashimoto fb139b2925 builder/virtualbox: Ability to set DiskSize
13 years ago
Mitchell Hashimoto cf2fb01edb builder/vmware, builder/virtualbox: Don't continue if ISO error
13 years ago
Mitchell Hashimoto 4d41d90c97 builder/vmware: Try SSH handshake multiple times
13 years ago
Mitchell Hashimoto e082abea28 builder/vmware: support the <tab> special in boot commands
13 years ago
Mitchell Hashimoto 7411e8dc41 builder/common: set the proper finalPath if downloading
13 years ago
Mitchell Hashimoto 456aec3390 builder/vmware: configurable disk size (default 40 GB)
13 years ago
Mitchell Hashimoto 62406b5ab5 builder/vmware: Ability to specify the SSH port with "ssh_port"
13 years ago
Jack Pearkes 7c98be0e52 builder/digitalocean: add configurable state_timeout
13 years ago
Mitchell Hashimoto 1ced19c3ce builder/digitalocean: Reattempt SSH handshake a few times
13 years ago
Mitchell Hashimoto 95da55c0fa builder/vmware: Log the output of various commands
13 years ago
Mitchell Hashimoto d1c69048ed fmt
13 years ago
Mitchell Hashimoto 8b9263d38f builder/vmware: properly handle errors
13 years ago
Mitchell Hashimoto 848985b200 builder/virtualbox: proper artifact [GH-23]
13 years ago
Mitchell Hashimoto 0028563253 builder/virtualbox: properly handle errors
13 years ago
Mitchell Hashimoto 7db824f457 builder/digitalocean: Properly return errors
13 years ago
Mitchell Hashimoto c490911eb6 builder/amazonebs: Get rid of TODO since we can specify source states
13 years ago
Mitchell Hashimoto cac0f49bb8 builder/amazonebs: Return proper errors
13 years ago
Mitchell Hashimoto 6d57e0c530 builder/digitalocean: timeout TCP connections to SSH
13 years ago
Mitchell Hashimoto 0235a00545 builder/digitalocean: compile with scrub changes
13 years ago
Mitchell Hashimoto 0770e2ddec builder/digitalocean: Scrub sensitive information out of logs
13 years ago
Mitchell Hashimoto 221281b714 builder/digitalocean: fmt
13 years ago
Mitchell Hashimoto 72f5d84cb7 fmt
13 years ago
Mitchell Hashimoto 91253c4f32 builder/digitalocean: Implement Artifact destroy
13 years ago
Mitchell Hashimoto 0edeb49467 builder/amazonebs: If only one error on destroy, just return it
13 years ago
Mitchell Hashimoto 4f229dea09 builder/amazonebs: Implement Artifact.Destroy
13 years ago
Mitchell Hashimoto 0f354c79d1 packer: Add Destroy method to artifact
13 years ago
Mitchell Hashimoto e1c0616a14 builder/amazonebs: Tests for invalid AMI name
13 years ago
Jack Pearkes 8d41363085 builder/digitalocean: only execute the snapshotname template if parsed
13 years ago
Jack Pearkes e0a4e72be5 builder/amazonebs: check for err parsing template for ami name
13 years ago
Jack Pearkes 1a6f410257 builder/digitalocean: check for err parsing template for snapshot name
13 years ago
Mitchell Hashimoto 7127ad967b Merge pull request #17 from mitchellh/b-digital-ocean-fixup
13 years ago
Jack Pearkes 46d3e7c1a4 builder/digitalocean: print bad status code as string
13 years ago
Jack Pearkes 1e6780e496 builder/digitalocean: improve error messages from DO api
13 years ago
Jack Pearkes 031b20f197 builder/digitalocean: use text/template for the snapshot name
13 years ago
Jack Pearkes 54e8eaab1c builder/digitalocean: add configurable "event_delay" for sleeps
13 years ago
Jack Pearkes 875ee0a871 builder/digitalocean: implement artifacts with the snapshot name
13 years ago
Mitchell Hashimoto 676041dc15 packer: Ui can return an error for Ask, returns one for interrupt
13 years ago
Jack Pearkes 7f8cd0caf7 builder/digitalocean: generate temp rsa keypairs for ssh communication
13 years ago
Mitchell Hashimoto 793877568f builder/digitalocean: Make tests pass
13 years ago
Mitchell Hashimoto ba1c7101c5 builder/digitalocean: Add support for -debug mode
13 years ago
Mitchell Hashimoto d0dc0a769e fmt
13 years ago
Mitchell Hashimoto 5b31c2f073 builder/digitalocean: Adhere to new interface, make default in Packer
13 years ago
Mitchell Hashimoto a6eea4642a Merge pull request #15 from pearkes/f-do-builder
13 years ago
Mitchell Hashimoto f754c171e8 builder/*: Add support for debug
13 years ago
Mitchell Hashimoto 21b6d2a435 builder/common: multistep debug fn gracefully exits during an interrupt
13 years ago
Mitchell Hashimoto ac029d9ed0 builder/vmware: Use proper pausefn
13 years ago
Mitchell Hashimoto cbd3f59578 builder/vmware: Enable the debug runner
13 years ago
Mitchell Hashimoto a6194467ac builder/*: Adhere to the new interface
13 years ago
Jack Pearkes 8ba8932552 builder/digitalocean: No need for destroy steps, builder works!
13 years ago
Jack Pearkes a774e2b444 builder/digitalocean: completed initial pass at all steps.
13 years ago
Mitchell Hashimoto 4daefc2588 fmt
13 years ago
Jack Pearkes dd6e4e4933 builder/digitalocean: connect_ssh, create_droplet, droplet_info
13 years ago
Jack Pearkes 4e6993909c builder/digitalocean: builder config tests and create_ssh_key step
13 years ago
Jack Pearkes 787a3178b3 builder/digitalocean: WIP commit of api interface and initial config
13 years ago
Mitchell Hashimoto 760995dba1 builder/virtualbox: say when forcefully shutting down
13 years ago
Mitchell Hashimoto 6516e5a627 builder/virtualbox: export
13 years ago
Mitchell Hashimoto 48a3892ce6 builder/virtualbox: graceful shutdown
13 years ago
Mitchell Hashimoto 52391bb1f3 builder/virtualbox: Use the common downloader
13 years ago
Mitchell Hashimoto a0a78b68e8 builder/common: Create a downloader
13 years ago
Mitchell Hashimoto 521b59a6fa Make everything support the new builder interface
13 years ago
Mitchell Hashimoto e101b031fc builder/virtualbox: Cancel mid-type if we can
13 years ago
Mitchell Hashimoto 574286bdd6 builder/virtualbox: provision step
13 years ago
Mitchell Hashimoto c58d5ab3af builder/virtualbox: time out on SSH handshake for retry
13 years ago
Mitchell Hashimoto 5c0d8ecd72 builder/virtualbox: Wait for SSH to become available
13 years ago
Mitchell Hashimoto e7cc350536 builder/virtualbox: scancode reference
13 years ago
Mitchell Hashimoto 7344d9e52c builder/virtualbox: type boot command
13 years ago
Mitchell Hashimoto c7071b3bd2 builder/virtualbox: http server for local files
13 years ago
Mitchell Hashimoto e7aa9b409c builder/virtualbox: add boot_command
13 years ago
Mitchell Hashimoto 9e4a5a227b builder/virtualbox: support boot_wait
13 years ago
Mitchell Hashimoto 4d351edadf builder/virtualbox: improved validation
13 years ago
Mitchell Hashimoto 24895069aa builder/virtualbox: start the VM
13 years ago
Mitchell Hashimoto 70df8c8c8b builder/virtualbox: add the ssh host port to state
13 years ago
Mitchell Hashimoto ad1c59f34e builder/virtualbox: Create forwarded port mapping
13 years ago
Mitchell Hashimoto 081b0d6853 builder/virtualbox: Attach ISO
13 years ago
Mitchell Hashimoto 54057b7b49 builder/virtualbox: download ISO
13 years ago
Mitchell Hashimoto c1c9204ee8 builder/virtualbox: actually attach the hard drive
13 years ago
Mitchell Hashimoto 7a9499e1f0 builder/virtualbox: Attach the hard drive, not quite working yet
13 years ago
Mitchell Hashimoto b9cd48bbc6 builder/virtualbox: Create a virtual disk
13 years ago
Mitchell Hashimoto 7fe40cfce1 builder/virtualbox: Create the VM
13 years ago
Mitchell Hashimoto 07cacb6dda builder/virtualbox: Add GuestOSType config
13 years ago
Mitchell Hashimoto 4c18b0ae5b builder/virtualbox: more comprehensive message suppression
13 years ago
Mitchell Hashimoto e14b00c818 builder/virtualbox: Look for virtualbox on the path
13 years ago
Mitchell Hashimoto d31d54366a builder/virtualbox: Suppress some messages
13 years ago
Mitchell Hashimoto 99af93f86a foundation for virtualbox builder
13 years ago
Mitchell Hashimoto dc641324de builder/amazonebs: Create temporary security group as well
13 years ago
Mitchell Hashimoto 3b3efab805 builder/amazonebs: Tell the user if the termination failed
13 years ago
Mitchell Hashimoto ccc95e7e5c builder/amazonebs: Slight slepe between connection attempts to SSH
13 years ago
Mitchell Hashimoto 352f875dbf builder/amazonebs: Handle interrupts while waiting for SSH
13 years ago
Mitchell Hashimoto 417f7e7f47 fmt
13 years ago
Mitchell Hashimoto de9c4ace9e builder/amazonebs: Timeouts while waiting for SSH to connect
13 years ago
Mitchell Hashimoto cbbc8de8b2 builder/vmware: Properly check MD5
13 years ago
Mitchell Hashimoto 520a2706ea builder/vmware: Validate MD5
13 years ago
Mitchell Hashimoto 4b46181f69 builder/vmware: require an MD5 for ISO
13 years ago
Mitchell Hashimoto 896c727097 builder/vmware: Basic support for downloading an ISO
13 years ago
Mitchell Hashimoto 657c3fd87d builder/vmware: better tests around iso_url, test files
13 years ago
Mitchell Hashimoto 62309cb6de Build/Builder take a Cache object now
13 years ago
Mitchell Hashimoto a23500e0a4 builder/vmware: downloadIso step, although not functional yet
13 years ago
Mitchell Hashimoto e39965e32a builder/vmware: validate iso_url more strictly
13 years ago
Mitchell Hashimoto c29d754fa8 builder/vmware: break out the proper loop
13 years ago
Mitchell Hashimoto ccfb4664cf builder/vmware: Make vmx path absolute when checking if running
13 years ago
Mitchell Hashimoto 174ae65a12 builder/vmware: Handle interrupts while waiting for SSH
13 years ago
Mitchell Hashimoto be1e60aa26 builder/amazonebs: Validate region exists
13 years ago
Mitchell Hashimoto 4fa27e6a30 builder/amazonebs: Finish basic validation
13 years ago
Mitchell Hashimoto 4223e5bcca builder/amazonebs: Additional validation
13 years ago
Mitchell Hashimoto 6a23cb726c builder/amazonebs: Config validation, testing
13 years ago