Commit Graph

17 Commits

Author SHA1 Message Date
Michael Schurter
450e347708 Add support for go-getter modes
Fixes #2678
2017-07-06 10:45:44 -07:00
Michael Schurter
68db2aa814 Fix getter tests
And use an interface for ReplaceEnv since its all getter needs.
2017-05-26 16:52:47 -07:00
Michael Schurter
ace00980a1 Refactor TaskEnvironment into Builder and TaskEnv 2017-05-23 13:53:33 -07:00
Michael Schurter
ae9d49502a Recoverable struct field must be exported 2017-03-28 12:18:57 -07:00
Michael Schurter
774cb8dd9b Improve artifact download error message
Fixes #2289

Unfortunately took more RecoverableError hijinx than I would have liked.
There might be a better way.
2017-03-24 15:26:05 -07:00
Alex Dadgar
637aff7819 Handle git ssh artifacts
This PR adds handling for downloading git artifacts using ssh with the
format git@github.com:hashicorp/go-getter.git

Fixes https://github.com/hashicorp/nomad/issues/2430
2017-03-11 15:12:41 -08:00
Alex Dadgar
2a683cddea Update go-getter and add support for git and hg
Fixes https://github.com/hashicorp/nomad/issues/2042
2017-03-01 14:46:04 -08:00
Kenjiro Nakayama
dd269abeb5 Update GetArtifact by removing unused logger 2016-08-06 23:37:32 +09:00
Sean Chittenden
29be52f762 Speling police 2016-05-15 09:41:34 -07:00
Alex Dadgar
6bf2b21ddb interpet the artifact source 2016-04-11 18:46:16 -07:00
Alex Dadgar
0b15e8da29 download to relative destination 2016-03-18 15:33:01 -07:00
Alex Dadgar
bdc7fdebe1 Download artifacts and remove old code for drivers 2016-03-15 13:28:57 -07:00
Alex Dadgar
afc9b6afbc update the getter 2016-03-15 13:28:57 -07:00
Alex Dadgar
5ee75e2fa5 Limit the set of downloaders 2016-02-23 10:33:58 -08:00
Alex Dadgar
c7661b1ca2 Copy local files 2016-02-23 10:27:47 -08:00
Clint Shryock
add12a6a00 refactor drivers to use new getter 2015-11-05 08:55:30 -06:00
Clint Shryock
741965e6d7 add getter package, a thin wrapper of go-getter 2015-11-05 08:53:11 -06:00