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
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
Mitchell Hashimoto
76e9045bc0
post-processor/atlas: find common prefix on Windows [GH-1874]
2015-05-29 11:26:07 -07:00
Mitchell Hashimoto
dc1e67b6d2
post-processor/*: interpolation
2015-05-27 14:56:22 -07: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
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
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