Commit Graph

423 Commits

Author SHA1 Message Date
Chris Bednarski 1831a09055 Fix compress crash
- Changed config from pointer to value to fix crash
- Removed acceptance flag from compress tests since they would have
caught this
2015-06-24 17:47:00 -07:00
Mitchell Hashimoto d429b75fcc post-processor/vagrant: fix interpolation 2015-06-23 08:39:57 -07:00
Vasiliy Tolstov 2b36bcc502 allow import qemu builded artifacts
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-06-23 14:28:03 +03:00
Mitchell Hashimoto 5db4d7c01f fmt 2015-06-22 12:37:52 -07:00
Mitchell Hashimoto 5241d8c6d6 post-processor/*: fix interpolation context 2015-06-22 12:24:55 -07:00
Salvador Girones 6cb51f21de Make ResourcePool optional 2015-06-22 10:13:49 -07:00
Mitchell Hashimoto 259dba38da Merge pull request #2269 from mitchellh/b-vagrant-cloud-retry
post-processor/vagrant-cloud: retry uploads [GH-2167]
2015-06-19 06:05:53 +02:00
Chris Bednarski 2d92fd8733 Added test case for gzip that expands the data and compares to what we put in 2015-06-18 19:08:13 -07:00
Chris Bednarski 801e5aaa30 Move test configs into the test func 2015-06-18 18:25:46 -07:00
Chris Bednarski d02f6644d2 Refactored test so it's more DRY and also rearranged things so the test cases and configs are at the top of the file 2015-06-18 18:21:03 -07:00
Chris Bednarski 7497db67b4 Tweaked some of the UI/UX around GOMAXPROCS 2015-06-18 14:22:26 -07:00
Chris Bednarski 0880d448f0 Cleanup some debug code and reorganize config struct 2015-06-18 14:01:00 -07:00
Chris Bednarski 9cd572461d Updated docs, fix artifact bug 2015-06-18 05:13:48 -07:00
Chris Bednarski e81378ac39 Fix test case 2015-06-18 04:46:39 -07:00
Chris Bednarski d8f78d9174 Cleanup 2015-06-18 04:41:05 -07:00
Chris Bednarski b767aa7f99 Change to compression_level, fix and add tests for format detection 2015-06-18 03:55:51 -07:00
Mitchell Hashimoto f6660e8a4f post-processor/vagrant-cloud: retry uploads [GH-2167] 2015-06-18 10:25:47 +02:00
Chris Bednarski 8fdb4f77e0 WIP 2/4 tests passing, still need to re-implement ZIP and bare compression files and do some cleanup 2015-06-18 00:47:33 -07:00
Chris Bednarski 47bb5ae899 Re-added benchmark and license 2015-06-16 20:23:40 -07:00
Chris Bednarski 2d6f8279e6 Restore configuration structure from vtolstov's branch 2015-06-16 19:08:22 -07:00
Chris Bednarski b2ad92f414 Merged changes from f-file-builder and master 2015-06-16 19:07:29 -07:00
Chris Bednarski ddbc145d29 Implemented acceptance test for compress 2015-06-16 16:31:09 -07:00
Chris Bednarski f5067e9736 Merge branch 'f-file-builder' of github.com:mitchellh/packer into f-file-builder 2015-06-16 12:11:33 -07:00
Chris Bednarski fe105107d2 Removed extra files -- will re-add later 2015-06-16 12:11:11 -07:00
Chris Bednarski 12cf6650a0 Revert compress post-processor to master to get baseline test 2015-06-16 12:10:28 -07:00
Chris Bednarski fe0c548619 Added acceptance test for file builder 2015-06-16 11:30:49 -07:00
Chris Bednarski 946abd99d8 Merge branch 'master' into f-vtolstov-compress 2015-06-15 10:19:03 -07:00
Chris Bednarski 9c5845e3c7 Merge branch 'master' into f-file-builder 2015-06-15 10:18:42 -07:00
Emil Hessman 1999c83a0c post-processor/atlas: adjust test for cross-platform filepath separator
Make TestLongestCommonPrefix cross-platform friendly by defining
the test cases with filepath.Separator.

Fixes test failure on Windows.
2015-06-13 18:58:19 +02:00
Chris Bednarski 53e4688529 Renamed some things to be more consistent with existing modules 2015-06-12 17:25:09 -07:00
Chris Bednarski 3ac74bbae8 Remove redundant aliases 2015-06-10 14:07:13 -07:00
Chris Bednarski e294db8ede Revert to original BuilderId 2015-06-10 14:04:24 -07:00
Chris Bednarski 42d749ab5f Light style and typo cleanup 2015-06-10 13:46:21 -07:00
Chris Bednarski c4fc365c65 Updated to reflect changes to template code 2015-06-10 13:33:50 -07:00
Chris Bednarski 52269b66b9 Added new compress post-processor, contributed by Vasiliy Tolstov 2015-06-10 12:30:18 -07:00
Mitchell Hashimoto 23a48d6619 go fmt 2015-06-08 21:34:20 -07:00
Mitchell Hashimoto 10e35a5e8c Merge pull request #1959 from ryanuber/h-atlas
post-processor/atlas: fix index out of range panic
2015-06-08 21:20:31 -07:00
James G. Kim 5bd2d4e6e0 Fix a problem preventing `tag` or `save` from docker-tag artifacts 2015-06-05 22:01:29 +09:00
Mitchell Hashimoto 6109c51115 post-processor/docker-tag: fix failing test 2015-05-29 16:35:41 -07:00
Mitchell Hashimoto 350aa4e522 Merge pull request #2055 from FGtatsuro/docker_tag_force
Support force option for docker-tag.
2015-05-29 16:05:00 -07:00
Mitchell Hashimoto e728c09301 post-processor/vagrant-cloud: in error, don't delete version [GH-2014] 2015-05-29 13:30:52 -07:00
Mitchell Hashimoto 76e9045bc0 post-processor/atlas: find common prefix on Windows [GH-1874] 2015-05-29 11:26:07 -07:00
Mitchell Hashimoto 1a15371c7a post-processor/docker-tag: remove decodeconfig usage 2015-05-27 14:57:57 -07:00
Mitchell Hashimoto dc1e67b6d2 post-processor/*: interpolation 2015-05-27 14:56:22 -07:00
Mitchell Hashimoto 5b343ca98c post-processor/vagrant: interpolation 2015-05-27 14:36:15 -07:00
Mitchell Hashimoto cbe6e83b60 post-processor/docker-*: fix compilation errors 2015-05-27 14:27:11 -07:00
FGtatsuro 09f379a928 Support force option for docker-tag. 2015-04-18 13:12:28 +09:00
Ryan Uber f9c14aee90 post-processor/atlas: fix index out of range panic when artifacts are present 2015-03-02 11:59:18 -08:00
Emil Hessman 8144c92dd0 post-processor/vagrant-cloud: fix incorrect printf verb types
Fixes the following vet reports:

post-processor/vagrant-cloud/client.go:81: arg resp for printf verb %s of wrong type: *net/http.Response
post-processor/vagrant-cloud/client.go:99: arg resp for printf verb %s of wrong type: *net/http.Response
post-processor/vagrant-cloud/client.go:131: arg resp for printf verb %s of wrong type: *net/http.Response
post-processor/vagrant-cloud/client.go:156: arg resp for printf verb %s of wrong type: *net/http.Response
post-processor/vagrant-cloud/client.go:175: arg resp for printf verb %s of wrong type: *net/http.Response
2015-02-25 05:43:18 +01:00
Emil Hessman 9c31822a2b post-processor/vagrant: address vet report
Fixes the following vet report:

post-processor/vagrant/post-processor_test.go:135: possible formatting directive in Fatal call
2015-02-25 05:43:18 +01:00
Seth Vargo 06e73691d1 Merge pull request #1885 from ceh/fix-win-test
post-processor/vagrant: fix test failure on Windows
2015-02-24 20:06:00 -05:00
lalyos a9648be580 Clarify error message in case of an atlas client connection failure
When a packer json contains an atlas postprocessor, and `packer validate` runned locally
in case of the missing ATLAS_TOKEN env var, the following error message is displayed:

* Error initializing client: authentication failed

It wasn't clear which plugin produced this message, so the amazon-ebs builder was the suspect
2015-02-11 11:25:30 +01:00
Seth Vargo 444fe40588 Do not use Unsetenv 2015-02-04 13:30:40 -05:00
Seth Vargo 08ba23f10f Unset the ATLAS_TOKEN environment variable before that test 2015-02-04 13:30:40 -05:00
Emil Hessman 345d3751b0 post-processor/vagrant: fix test failure on Windows
Close temporary file created in test before trying to remove it.
Fixes test failure on Windows, which cannot remove the file unless
it has been closed.
2015-01-30 20:43:19 +01:00
Rickard von Essen 798458481a Fixes #1881 Don't include Windows Disks when packaging boxes for prl
This excludes the directory "Windows Disks" present in the VM data
directory if you hava a Windows VM with Parallels tools installed.
2015-01-30 10:30:42 +01:00
Johannes Graf 277632ad99 Removed version.number / vagrant-cloud post-processor
A few weeks ago ... the version.number changed from an integer to a
semver based string.

I guess version.number and version.version are equals now. So
version.version can be used.

This commit should fix #1735
2014-12-27 15:30:34 +01:00
Seth Vargo ef9cceca06 Merge pull request #1748 from BlackIkeEagle/constant-4294967295-overflows-int
atlas post-processor on 32bit uint32 overflows int
2014-12-11 12:02:31 -08:00
BlackEagle 272ef5a6ba atlas post-processor on 32bit uint32 overflows int
post-processor/atlas/util.go:16: constant 4294967295 overflows int

Signed-off-by: BlackEagle <ike.devolder@gmail.com>
2014-12-11 20:14:16 +01:00
BlackEagle ddb966061f atlas post-processor unknown atlas.UploadartifactOpts field BuildId
in https://github.com/hashicorp/atlas-go/blob/master/v1/artifact.go
we can see it is BuildID and not BuildId

Signed-off-by: BlackEagle <ike.devolder@gmail.com>
2014-12-11 13:51:59 +01:00
Mitchell Hashimoto 0ffd184be6 post-processor/atlas: proper package 2014-12-09 16:14:05 -08:00
Mitchell Hashimoto f3c1132f23 post-processor/atlas: make it 2014-12-09 16:14:04 -08:00
Seth Vargo 64397f2116 Merge pull request #1730 from ceh/issue-801
post-processor/vagrant: check if vagrantfile_template exists
2014-12-08 11:28:18 -08:00
Armon Dadgar fdeb2bc8a2 Merge pull request #1694 from ceh/issue-1125
Test for user variables in vagrantfile_template [GH-1125]
2014-12-08 11:15:12 -08:00
Emil Hessman 53b1db1669 post-processor/vagrant: check if vagrantfile_template exists
Fixes #801
2014-11-25 13:02:32 +01:00
Emil Hessman a65dc929f2 post-processor/vagrant: test if vagrantfile_template exists
Test for #801
2014-11-25 12:41:24 +01:00
Emil Hessman 3a8e02110e post-processor/vagrant: process templates in Configure 2014-11-25 07:04:17 +01:00
Emil Hessman 1de1350ee2 post-processor/vagrant: test for user variables in vagrantfile_template [GH-1125]
Previously fixed in a47610879f

Closes #1125
2014-11-24 23:45:49 +01:00
Ryan Breed 514b5f52f1 consistent escaping for ovftool uri creds
I got thrown for a loop since the username is uri-escaped but the password was not.

I got thrown for another couple of loops due to the multiple levels of interpretation involved:
1) JSON syntax requires backslashes to be slash-escaped. Some vCenter deployments use windows domain-style usernames DOMAIN\user
2) the OVFTOOL docs specify that "all special characters" be uri-encoded when part of the user name or password
3) different shell interpretations on windows/linux

I'd say escape both or neither.
2014-11-12 23:03:14 -06:00
Mitchell Hashimoto 06144cf287 fmt 2014-10-28 08:43:19 -07:00
Mitchell Hashimoto 98a52c296c Merge pull request #1597 from petrhosek/enable-custom-vagrant-providers
Extract Vagrant provider processing logic to a method
2014-10-28 08:43:12 -07:00
Mitchell Hashimoto 0db6cd3533 Merge pull request #1330 from qur/qemu-vagrant
Qemu vagrant
2014-10-28 08:42:17 -07:00
Mitchell Hashimoto e422a45449 fmt 2014-10-28 08:35:21 -07:00
Mitchell Hashimoto 6a1744a1d2 Merge pull request #1385 from Mayflower/vagrantcloud_selfhosted
Vagrantcloud selfhosted
2014-10-27 17:12:21 -07:00
Mitchell Hashimoto 24d641ea32 Merge pull request #1615 from hkhkhk1987/patch-1
post-processor/vsphere: fix object address by appending "/"
2014-10-27 16:46:36 -07:00
Jason A. Beranek a47610879f Merge pull request #1514 from briandowns/master
Added struct to be passed to the Process function to render the vagrant ...
2014-10-27 16:11:58 -05:00
hkhkhk1987 f61cc3f99c Update post-processor.go
the ovftool can't refer to an object vi address without a "/" at the end of the address
2014-10-24 15:21:57 +08:00
Petr Hosek 3992f4472b Extract Vagrant provider processing logic
This change extracts the provider processing logic to a separate method
which can be invoked from a subtype, providing a custom provider.
2014-10-17 11:16:26 +01:00
Mitchell Hashimoto b6238ec7f0 Update CHANGELOG 2014-10-14 16:04:37 -07:00
Mitchell Hashimoto 333506f54c Merge pull request #1526 from askholme/fix-docker-push
make docker-push work with docker-tag artifacts
2014-10-14 16:03:52 -07:00
Mikhail Zholobov 7b50de33da post-processor/vagrant/parallels: Removed unnecessary filling the Vagrantfile 2014-10-05 11:30:33 +04:00
Brian Downs dabf34a458 Replaced struct call with nil per @jsonberanek. Ran go fmt. 2014-10-03 12:34:07 -07:00
Ask Holme 173237ba45 make docker-push work with docker-tag artifacts 2014-09-24 22:22:39 +02:00
Julian Phillips 60e608dfdb Add support for vagrant with qemu
Once we have produced a qemu VM, we now have the option of using
the vagrant post-processor to create a .box file that can be used with
the vagrant-libvirt plugin.

This uses the new State method of the Artifact API to get necessary
information from the builder.
2014-09-22 11:15:47 +01:00
Julian Phillips 90a57c411f Expand Artifact API to expose build state
In order that something consuming an artifact can have access to extra
builder specific data add the State method which allows the caller to
ask for arbitary values by name.
2014-09-22 11:15:47 +01:00
Brian Downs bf5ec1f985 Ran go fmt 2014-09-19 15:55:05 -07:00
Brian Downs 1303329a91 Added struct to be passed to the Process function to render the vagrant file path. Resolves Issue #1125. 2014-09-19 15:46:07 -07:00
Mitchell Hashimoto b2255751a1 post-processor/compress: style 2014-09-08 10:28:16 -07:00
Mitchell Hashimoto b5f9528738 Merge pull request #1081 from johnbellone/compress-post-processor
post-processor/compress Add support for artifact compression.
2014-09-08 10:26:50 -07:00
Mitchell Hashimoto 56d22ac99e post-processor/docker-push: can login [GH-1243] 2014-09-05 14:43:15 -07:00
Mitchell Hashimoto cb2c405d88 Merge branch 'feature/docker-image' of github.com:andytson/packer into andytson-feature/docker-image
Conflicts:
	config.go
2014-09-04 17:56:47 -07:00
Mitchell Hashimoto 7c11d2a313 post-processor/vagrant: style 2014-09-02 09:54:55 -07:00
Mitchell Hashimoto 986394292f Merge pull request #1371 from alevkin/master
post-processor/vagrant: Change creating boxes for customizing metadata.json
2014-09-02 09:53:06 -07:00
Chris Farmiloe 51f55dda48 fix panic when vagrant cloud response fails 2014-08-12 18:11:27 +02:00
Tristan Helmich 7816fc0bf9 vagrantcloud post-processor selfhosted box feature 2014-08-02 15:02:12 +02:00
Andrey Levkin e0c6285088 Change creating boxes for customizing metadata.json 2014-07-24 17:39:21 +04:00
Andrey Levkin dc555d6b5b Change creating boxes for customizing metadata.json. 2014-07-24 15:16:57 +04:00
Andy Thompson ed446782f9 Add a docker save post processor 2014-07-21 20:42:24 +01:00
Andy Thompson bf16683140 Add a docker tag post processor 2014-07-21 20:42:23 +01:00
Jack Pearkes e62e122625 post-processor/vagrant-cloud: fix multi-part corruption 2014-07-21 10:30:51 -04:00
Mitchell Hashimoto 1cf6948089 Merge pull request #1284 from MSOpenTech/master
post-processor/vagrant: hyper-v
2014-07-19 09:35:41 -07:00
Misha Brukman c75a671c1e Cleaned up Go formatting with gofmt. 2014-07-17 15:33:09 -04:00
Jack Pearkes e528cd7c8c post-processor/vagrant-cloud: fix artifact 2014-06-25 12:49:44 -04:00
Jack Pearkes 46535e3a3c post-processor/vagrant-cloud: better logging, document vcloud url 2014-06-25 12:46:25 -04:00
Jack Pearkes 450ba0bd9d post-processor/vagrant-cloud: improve error for upload failures 2014-06-25 11:54:49 -04:00
Jack Pearkes 6a3c9921d2 post-processor/vagrant-cloud: better errors in box verifcation 2014-06-25 11:29:25 -04:00
Jack Pearkes a0c153824f post-processor/vagrant-cloud: tests for configuration 2014-06-25 10:56:09 -04:00
Jack Pearkes f384806821 post-processor/vagrant-cloud: add no_release and version_description 2014-06-25 10:32:17 -04:00
Jack Pearkes 979752cc57 post-processor/vagrant-cloud: remove extra log statement 2014-06-24 16:11:56 -04:00
Jack Pearkes 26abac6999 post-processor/vagrant-cloud: steps for create, upload and release 2014-06-24 15:58:45 -04:00
Jack Pearkes c899051c9c post-processor/vagrant-cloud: use multistep 2014-06-23 15:48:51 -04:00
v-vlshch abc4350f75 Hyper-V support added 2014-06-23 11:19:06 -07:00
Jack Pearkes a678362701 post-processor/vagrant-cloud: add api items 2014-06-20 11:20:27 -04:00
Jack Pearkes 7d4efdc236 post-processor/vagrant-cloud: initial commit 2014-06-16 15:53:37 -04:00
John Bellone a492ca7424 Fix warnings about not utilizing test module.
Make these tests green adn them figure out how to test the actual post-processor.
2014-06-12 16:45:37 -04:00
John Bellone 7da7623d38 Fix user variables to properly evaluate. 2014-06-12 16:36:37 -04:00
John Bellone a4de58b5f6 [post-processor/compress] Add support for compress.
This commit adds support for a post-processor that produces a compressed
archive that can be uploaded to an OpenStack cluster through either
the Horizon web interface or Glance.
2014-06-12 16:36:37 -04:00
Michael Kuzmin 2dd538ced8 post-processor/vsphere: url-escape username to accept DOMAIN\account values 2014-05-15 16:04:27 +04:00
Michael Kuzmin b05129e52e post-processor/vsphere: logging for upload parameters 2014-05-15 15:53:17 +04:00
Mitchell Hashimoto d925331902 fmt 2014-05-10 10:19:35 -07:00
Mikhail Zholobov 493c8d9580 builder/parallels: fixed Builder ID
Caused by changing namespace to 'packer.*' (3a68c8a)
2014-05-02 14:46:11 +04:00
Rickard von Essen d08ee4adfd Added support for Parallels Desktop for Mac [GH-233] in the vagrant post-processor.
Fixes https://github.com/rickard-von-essen/packer-parallels/issues/3
2014-05-01 20:29:22 +02:00
YungSang 75e26ee955 Added support for Parallels Desktop for Mac [GH-233] in the vagrant post-processor.
The code originate from https://github.com/YungSang/packer-parallels
2014-05-01 20:29:22 +02:00
Mitchell Hashimoto 3c2df9a132 post-processor/vsphere: comments and style 2014-04-30 15:52:01 -07:00
Michael Kuzmin fce2fc526f Optional parameters in vSphere post-processor.
datastore, vm_folder, and vm_network options can be omitted.
2014-04-30 16:02:09 +04:00
Mitchell Hashimoto 5fac6c79c4 fmt 2014-04-26 11:12:43 -07:00
Seth Vargo abe9bf8581 Ensure parent directories are created for base boxes 2014-04-24 23:32:42 -04:00
Mitchell Hashimoto c19a5c6bb7 post-processors/vsphere: disk mode 2014-04-21 21:10:20 -07:00
Mitchell Hashimoto b5e551d930 Merge pull request #778 from aspring/vmware-post-processor-disk-mode
post-processor/vsphere: Add disk mode configuration to allow users to specify the desired diskMo...
2014-04-21 21:07:58 -07:00
Mitchell Hashimoto 6fe0cb76ea post-processor/docker-push: allow repo with ports [GH-923] 2014-03-12 21:30:13 -07:00
Mitchell Hashimoto 42b6f3e1ea post-processor/vagrant: tests on input artifact 2014-02-21 20:04:03 -08:00
Mitchell Hashimoto 20d7f74fc4 post-processor/vagrant: AWS/DO keep input artifacts [GH-55] 2014-02-21 20:02:49 -08:00
Mitchell Hashimoto c18b74e9cc post-processor/docker-push 2014-01-19 20:34:20 -08:00
Mitchell Hashimoto 4e4a6ffd4b post-processor/docker-import: use the repo tag as the ID 2014-01-19 20:20:00 -08:00
Mitchell Hashimoto 1de226c748 post-processor/docker-import: verify proper builder ID 2014-01-19 19:56:50 -08:00
Mitchell Hashimoto 8635085665 builder/docker: make Import part of this Driver for reuse 2014-01-19 19:55:01 -08:00
Mitchell Hashimoto 34dbf72142 post-processor/docker-import: have an Artifact
/cc @mmckeen
2014-01-19 19:48:06 -08:00
Mitchell Hashimoto ebd2407890 post-processor/docker-import: refactor
/cc @mmckeen - Did a refactor here, CC'd in case you're curious
or want to learn :)
2014-01-19 19:15:25 -08:00
Matthew McKeen c0174309c1 docker-push: add code to handle seperate registry, push a specific repository/tag #774 2014-01-13 13:37:09 -08:00
Matthew McKeen 358b0078c9 docker-import + docker-push: Add some beginning tests. #774 2014-01-13 13:22:43 -08:00
Matthew McKeen 00d3ee42e5 docker-import: finish up Dockerfile provisioning, Add TODO for next section #774 2014-01-06 15:12:08 -08:00
Matthew McKeen 208b330b84 docker-import post-processor, add TODO #774 2014-01-06 13:43:30 -08:00
Matthew McKeen 8147ad66ec Start adding dockerfile provisioning to docker-import post-processor #774 2014-01-06 13:42:32 -08:00
Anthony Spring 41b009dcf1 Add disk mode configuration to allow users to specify the desired diskMode to ovftool: eagerZeroedThick , seSparse, thin and think. Defaults to thick per current ovftool default. 2014-01-03 02:07:36 -05:00
Matthew McKeen 3d60bfb312 Add docker-import post-processor.
Implemented initial working version
of Docker image importing code. #774
2014-01-02 14:49:14 -08:00
Matthew McKeen 0ec18a723a Finish up parameter parsing and validation.
Login to a docker index now works, ready for
implementation of the actual push logic.
2014-01-01 23:29:27 -08:00
Matthew McKeen a0e533db41 Rename docker post processor to docker-push.
Implement login to a docker registry, error handling
2014-01-01 22:30:28 -08:00
Matthew McKeen 8bdb723264 Do some forward porting of the old work of
mitchellh/packer's docker branch. #774
2014-01-01 21:18:09 -08:00
Mitchell Hashimoto 51735cc895 post-processor/vagrant: fix alternate providers 2013-12-25 11:01:59 -07:00
Mitchell Hashimoto 9b579a9dd7 post-procssor/vagrant: return proper artifact 2013-12-20 09:52:50 -08:00
Mitchell Hashimoto 5e2f08de70 post-processor/vagrant: do overrides 2013-12-19 14:44:15 -08:00
Mitchell Hashimoto 6518c92e25 post-processor/vagrant: more tests 2013-12-19 14:04:45 -08:00
Mitchell Hashimoto 7b6bbbf42f post-procssor/vagrant: don't export some things 2013-12-19 13:52:48 -08:00
Mitchell Hashimoto 2f09eb5bba post-processor/vagrant: vmware 2013-12-19 13:44:18 -08:00
Mitchell Hashimoto 23e73b1226 post-processor/vagrant: DigitalOcean 2013-12-19 13:41:48 -08:00
Mitchell Hashimoto c1a9728448 post-processor/vagrant: transition aws over 2013-12-19 13:37:09 -08:00
Mitchell Hashimoto 3dd4c08f2d post-processor/vagrant: start new format 2013-12-19 13:22:46 -08:00
Mitchell Hashimoto fb5d1708c5 post-processor/vagrant: include files 2013-12-19 09:28:19 -08:00
Mitchell Hashimoto eaf76618cb post-processor/vagrant: compression_level is an int 2013-12-19 09:16:57 -08:00
Mitchell Hashimoto fa410f5a1a post-processor/vsphere: template process in prepare phase 2013-12-11 14:01:14 -08:00
mheidenr 9df6b8f0c8 post-processor-vsphere: user variables for datastore 2013-12-02 13:53:13 +01:00
mheidenr 129749a2e4 post-processor-vsphere: user variables for vm_name, username, password 2013-12-02 12:39:52 +01:00
mheidenr 2aaec946b3 fix post-processor vsphere 2013-11-29 17:33:26 +01:00
Mitchell Hashimoto 6867c4f3e3 website: vsphere endpoint docs 2013-11-18 16:23:28 -08:00
Mitchell Hashimoto b52132c650 post-processor/vsphere: cleanups
/cc @mheidenr - Some basic cleanups. :)
2013-11-18 16:04:38 -08:00
Mitchell Hashimoto 7d9b48e7f8 fmt 2013-11-18 15:57:31 -08:00
Mitchell Hashimoto 6232d06440 Merge pull request #613 from mheidenr/master
added post-processor-vsphere
2013-11-18 15:57:12 -08:00
Mitchell Hashimoto 7831e0c08c post-processor/vagrant: style nitpicks
/cc @rasa
2013-11-18 15:38:54 -08:00
Ross Smith II 7d33d39da3 Skip gzip compression if compression_level=0 2013-11-18 10:38:19 -08:00
mheidenr 15766602c7 added post-processor-vsphere 2013-11-11 09:56:51 +01:00
Mitchell Hashimoto 29a22591f9 post-processor/vagrant: support compression level for DO 2013-11-05 14:30:03 -08:00
Ross Smith II 2cad46aa1f post-processor/vagrant: Adds vagrant support for digitalocean
Conflicts:
	post-processor/vagrant/post-processor.go
2013-11-05 14:27:28 -08:00
Mitchell Hashimoto 7537eeae74 Merge pull request #506 from maspwr/compression_level
post-processors/vagrant: add compression_level option
2013-10-20 17:44:26 -07:00
Recai Oktaş 4fcf0d6d5b post-processor/vagrant: fix bug in ova support caused by wrong file path 2013-10-19 01:39:12 +03:00
Mark Aaron Shirley e5c5f685b9 Add compression_level option to vagrant post-processors 2013-10-07 21:59:26 -07:00
Jonas Pfenniger a30426731f Use the same vagrant post-processor for amazon instances than EBS. Fixes #502 2013-10-05 23:32:41 +01:00
Jason A. Beranek 229d790eba post-processor/vagrant: pass PackerConfig to sub post-processors 2013-09-18 22:56:00 -05:00
Mitchell Hashimoto aa694072d7 post-processor/vagrant: simplify logic, only send overrides to PP
[GH-413] /cc @jasonberanek
2013-09-18 15:01:06 -07:00
Mitchell Hashimoto 6fc89e9584 post-processor/vagrant: set output path always in a new raw 2013-09-18 14:51:51 -07:00
Mitchell Hashimoto 2e9dbb72b0 post-processor/vagrant: fix slice copy to actually work for override
[GH-426]
2013-09-18 14:43:42 -07:00
Mitchell Hashimoto f75856188c post-processor/vagrant: don't error if unused 2013-08-23 15:31:21 -07:00
Mitchell Hashimoto 2302e90aae Merge pull request #329 from jasonberanek/vagrant-output-fix
post-processor/vagrant: proper output ConfigTemplate validation [GH-324]
2013-08-23 15:15:55 -07:00
Mitchell Hashimoto aeb395fe90 post-processor/vagrant: nitpick format 2013-08-23 15:14:58 -07:00
Jason A. Beranek c5d2b791df post-processor/vagrant/virtualbox: support ova artifacts [GH-315] 2013-08-22 21:47:50 -05:00
Jason A. Beranek 0e3365782a post-processor/vagrant: fix output ConfigTemplate validation [GH-324]
-apply same output validation steps found in builder specific Configure
functions
2013-08-22 20:19:03 -05:00
Mitchell Hashimoto faf6eb1c67 post-processor/vagrant: show file being compressed [GH-314] 2013-08-19 22:38:32 -07:00
Mitchell Hashimoto fcb24f6896 post-processor/vagrant: process output path properly 2013-08-18 20:37:04 -06:00
Mitchell Hashimoto 64d87bfaf3 *: switch to packer ConfigTemplate 2013-08-15 19:17:23 -07:00
Mitchell Hashimoto 063adf4bbb post-processor/vagrant: process user variabels [GH-295] 2013-08-15 17:46:41 -07:00
Mitchell Hashimoto 4f568a0afe post-processor/vagrant: use common.PackerConfig 2013-08-15 17:46:41 -07:00
Mitchell Hashimoto 89e07b875d post-processor/vagrant: properly close file handles [GH-100] 2013-07-07 17:44:13 -07:00
Mitchell Hashimoto 553800b362 post-processor/vagrant: provider PPs get properly configured 2013-07-05 11:11:54 -07:00
Mitchell Hashimoto 1a2e4f9d0b fmt 2013-07-05 11:00:18 -07:00
Mitchell Hashimoto a9f63871fb post-processor/vagrant: properly forward config into provider [GH-129] 2013-07-05 10:50:57 -07:00
Mitchell Hashimoto eba9834bb1 post-processor/vagrant: Extra logging 2013-07-05 10:41:54 -07:00
Mitchell Hashimoto 857beb6167 post-processor/vagrant: check for error when tarring earlier 2013-07-02 08:46:20 -07:00
Mitchell Hashimoto 223f573dbb fmt 2013-07-01 15:07:37 -07:00
Mitchell Hashimoto 39095e48ea post-processor/vagrant: make output contain build name by default
[GH-92]
2013-07-01 15:07:09 -07:00
Mitchell Hashimoto 807896d63b packer: PostProcessor can take multiple configs 2013-07-01 14:59:23 -07:00
Mitchell Hashimoto f78cbb45a6 packer: PostProcessor API change so they can keep artifacts [GH-55] 2013-07-01 11:30:39 -07:00
Mitchell Hashimoto bd8f89410b post-processor/vagrant: use proper provider type for VMware boxes 2013-06-29 13:52:39 -07:00
Mitchell Hashimoto b11b2739a9 post-processor/vagrant: rename OVF to box.ovf [GH-64] 2013-06-29 12:52:22 -07:00
Mitchell Hashimoto 8e46cd5c22 post-processor/vagrant: provider-specific config works 2013-06-28 10:16:38 -04:00
Mitchell Hashimoto 4cab266eb3 fmt 2013-06-28 09:44:03 -04:00
Mitchell Hashimoto 2a49088785 post-processor: recognize vmware and build vmware boxes 2013-06-27 19:21:03 -04:00
Mitchell Hashimoto bfba7d2d0f post-processor/vagrant: virtualbox output finds and sets up the mac addr 2013-06-27 19:05:47 -04:00
Mitchell Hashimoto 1585f3fef1 post-processor/vagrant: virtualbox box provider should be "virtualbox" 2013-06-27 17:21:15 -04:00
Mitchell Hashimoto c0d690209c post-processor/vagrant: Only tar files 2013-06-27 14:06:14 -07:00
Mitchell Hashimoto 838abe4069 post-processor/vagrant: validate the template 2013-06-27 10:53:43 -07:00
Mitchell Hashimoto 6f3d0f6bcd post-processor/vagrant: compile the output path 2013-06-27 10:51:13 -07:00
Mitchell Hashimoto a7c12fadc6 Remove the "compress" post-processor for now 2013-06-27 08:32:15 -07:00
Mitchell Hashimoto f38ed0c608 post-processor: Can specify VF template for AWS 2013-06-27 07:40:33 -07:00
Mitchell Hashimoto e5e002138a post-processor: Recognize the virtualbox builder 2013-06-27 07:39:11 -07:00
Mitchell Hashimoto e44fa1ab90 post-processor/vagrant: Ability to specify Vagrantfile template 2013-06-27 07:38:33 -07:00
Mitchell Hashimoto e0ab81aee3 post-processor/vagrant: VirtualBox post-processor 2013-06-27 07:33:32 -07:00
Mitchell Hashimoto c190a5cec4 post-processor/vagrant: more Ui output 2013-06-27 07:17:08 -07:00
Mitchell Hashimoto 637bcbc943 post-processor/vagrant: allow config of individual pp's 2013-06-27 07:14:15 -07:00
Mitchell Hashimoto face87d1f1 fmt 2013-06-26 19:09:39 -07:00
Mitchell Hashimoto c9748b8e70 post-processor/vagrant: the proper post-processor is actually run 2013-06-26 19:09:24 -07:00
Mitchell Hashimoto f4c9f96085 post-processor/vagrant: Can make AWS boxes! 2013-06-26 18:55:11 -07:00
Mitchell Hashimoto 2df2598631 post-processor/vagrant: boilerplate 2013-06-26 17:37:46 -07:00
Mitchell Hashimoto b98df11cbf fmt 2013-06-18 21:54:33 -07:00
Mitchell Hashimoto 0a90d3e791 post-processor/compress: Boilerplate for the compress PP 2013-06-18 21:18:41 -07:00