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