Commit Graph

1092 Commits

Author SHA1 Message Date
Mitchell Hashimoto ec2e347f46 Update CHANGELOG 2013-07-14 16:07:08 +09:00
Mitchell Hashimoto 569ec0a2bb builder/vmware: generic checksum types [GH-175] 2013-07-14 15:58:56 +09:00
Mitchell Hashimoto 3007498282 builder/virtualbox: support generic hash types [GH-175] 2013-07-14 15:50:34 +09:00
Mitchell Hashimoto c62d7e2a3d Update CHANGELOG 2013-07-14 12:30:09 +09:00
Mark Peek 86db4eaa57 Move AWS auth decisions to goamz [GH-160]
Currently the passed in AWS auth or AWS environment variables are
interpreted by packer. This change moves that logic into goamz in
order to support both the existing and instance based IAM role
authentication. This requires a corresponding change to goamz.
2013-07-14 12:29:43 +09:00
Mitchell Hashimoto 0d71024450 website: add PACKER_LOG_PATH docs 2013-07-14 11:20:31 +09:00
Mitchell Hashimoto 5c00f2f50f Clean up some of the log path detection code
/cc @markpeek I think this is much cleaner. Also, I made it so it
doesn't append by default... I like the idea of appending but it scares
me that for a bug report someone might put like a multi-megabyte gist of
logs at me. HAHA. We'll see.
2013-07-14 11:00:44 +09:00
Mitchell Hashimoto c1aa059df4 Merge pull request #168 from markpeek/markpeek-filelogging
Add ability to send log output to a file using PACKER_LOG_PATH
2013-07-13 18:55:12 -07:00
Mitchell Hashimoto 0e9c0edade Error if unknown root level key in template [GH-180] 2013-07-14 10:29:14 +09:00
Mitchell Hashimoto 3b4ef72e47 Unused keys are invalid in templates [GH-104] 2013-07-14 09:28:56 +09:00
Mark Peek 1d22f2efd6 Add PACKER_LOG_PATH for logging to a file
When the environment variables PACKER_LOG and PACKER_LOG_PATH are both
set the log output will be appended to the PACKER_LOG_PATH file.
2013-07-13 15:51:27 +00:00
Mitchell Hashimoto 245deaf599 buidler/virtualbox,vmware: only stat if not force
/cc @jasonberanek - Swapped this because why even bother doing a stat
if we're forcing anyways.
2013-07-13 14:47:08 +09:00
Mitchell Hashimoto 276428a330 Merge pull request #179 from jasonberanek/force-build
builder/virtualbox, vmware: Remove output directory in a step when "-force" flag step [GH-178]
2013-07-12 22:45:42 -07:00
Jason A. Beranek 9c31c69a7b Remove output directory in a step when "-force" flag step [GH-178] 2013-07-12 21:23:00 -05:00
Mitchell Hashimoto 1dad4749d8 Merge pull request #176 from smerrill/better-contributor-notes
Add instructions on how to get Go set up to contribute.
2013-07-12 18:04:59 -07:00
Mitchell Hashimoto 2981da4eef fmt 2013-07-13 10:01:27 +09:00
Mitchell Hashimoto aaf024514f Update CHANGELOG 2013-07-13 10:01:19 +09:00
Mitchell Hashimoto 2e492fd747 Merge pull request #173 from jasonberanek/force-build
packer, builder/*: Add support for -force flag on builds [GH-119]
2013-07-12 18:00:21 -07:00
Steven Merrill df69721b8b Add instructions for how to get Go set up to contribute. 2013-07-12 14:40:03 -04:00
Mitchell Hashimoto 60ee20f308 website: add docs for new security_group_id 2013-07-12 17:27:03 +09:00
Mitchell Hashimoto 2fdcf85510 Merge pull request #162 from brendanhay/persistent-security-group
builder/amazonebs: Ability to specify a pre-existing SecurityGroupId for the AmazonEBS Builder
2013-07-12 01:19:25 -07:00
Mitchell Hashimoto 6bdd9e821c Update CHANGELOG 2013-07-12 17:01:38 +09:00
Mitchell Hashimoto 13182d97b5 Merge pull request #164 from mitchellh/do-env-vars
builder/digitalocean: use detected env variables for credentials
2013-07-12 01:00:50 -07:00
Jack Pearkes 490279c6b9 builder/digitalocean: add tests for credentials via env vars 2013-07-12 09:47:45 +02:00
Jason A. Beranek 13c733a3db Add support for -force flag on builds [GH-119] 2013-07-11 23:43:23 -05:00
Mitchell Hashimoto e52f8e0486 fmt 2013-07-12 07:01:30 +09:00
Mitchell Hashimoto bdac2a87ef Update CHANGELOG 2013-07-12 07:01:23 +09:00
Mitchell Hashimoto 7a9109d2a9 Merge pull request #172 from MattSurabian/feature/ebs-builder-bug
builder/amazonebs: Validate that instance exists and is EBS based before trying to launch it
2013-07-11 14:59:02 -07:00
Matt Surabian 0505fb4a0a Validate that instance exists and is EBS based before trying to launch it. 2013-07-11 17:41:17 -04:00
Mitchell Hashimoto 2f35d54104 Merge pull request #170 from markpeek/markpeek-awsinstancedebugging
builder/amazonebs: Add AWS instance id to normal output
2013-07-11 13:32:49 -07:00
Mark Peek 9d4d854fe1 Add AWS instance id to normal output
The AWS instance id is only output when logging is occurring. If an
error happens it is useful to know the AWS instance id of the instance
spun up by packer in case further cleanup or forensics are needed.
2013-07-11 20:27:44 +00:00
Mark Peek 1c062aee61 Add ability to send log output to a file
Using PACKER_LOG=1 causes all the log output to be sent to Stderr. This
change maintains that backward compatility. Anything other than "1" will
be treated as a filename which will have logging appended to that file.
This is useful, for example, to always have debugging available without
cluttering up stdout (and without having to redirect stderr all the time).
2013-07-11 19:42:30 +00:00
Jack Pearkes d701adb3e0 builder/digitalocean: use detected env variables for credentials 2013-07-11 11:31:09 +02:00
Brendan Hay d74125d5d0 Adding the ability to specify a security_group_id for the amazonebs builder 2013-07-10 09:32:50 +02:00
Mitchell Hashimoto 0fdf9b09c9 builder/vmware: error if shutdown command failed 2013-07-09 14:39:02 -07:00
Mitchell Hashimoto 56aff48143 scripts: add -e to build.sh again 2013-07-09 12:42:54 -07:00
Mitchell Hashimoto 3dbd220472 Update CHANGELOG 2013-07-09 12:41:36 -07:00
Mitchell Hashimoto 2ad30e1ea1 builder/virtualbox: paused is still running 2013-07-09 12:41:36 -07:00
Mitchell Hashimoto dbad270d27 builder/virtualbox: remove floppy drive before exporting 2013-07-09 12:41:36 -07:00
Mitchell Hashimoto 3a420478f9 website: document the floppy_files feature 2013-07-09 12:41:36 -07:00
Mitchell Hashimoto 45c47e64fa builder/virtualbox: support floppy_files 2013-07-09 12:41:36 -07:00
Mitchell Hashimoto c2236e9bfd packer: Only trim whitespace on the right of prefixed UI 2013-07-09 12:41:36 -07:00
Mitchell Hashimoto 074d2bf937 builder/common: continue after creating floppy 2013-07-09 12:41:36 -07:00
Mitchell Hashimoto d7ecf57b06 script: build completes 2013-07-09 12:41:36 -07:00
Mitchell Hashimoto 9ec94fc6a1 builder/vmware: support floppy_files for mounting a floppy disk 2013-07-09 12:41:36 -07:00
Mitchell Hashimoto c8019f10e6 builder/common: step to create floppy disks 2013-07-09 12:41:36 -07:00
Mitchell Hashimoto 6e1aff9ad5 Merge pull request #157 from rvoicilas/master
Fix typo in packer.go
2013-07-08 23:37:18 -07:00
Radu Voicilas 4ca564f73c Fix typo 2013-07-09 09:28:07 +03:00
Steven Merrill 6a79d797d2 Don't allow a dirty Git tree to fail the make command. 2013-07-09 01:24:19 -04:00
Mitchell Hashimoto aef602d0e9 packer: only show git commit in version output for prerelease 2013-07-08 15:38:14 -07:00