Vít Ondruch
7187e6f909
Use Integer instead of Fixnum for Ruby 2.4+ compatibility.
2017-10-23 10:57:36 -07:00
Chris Roberts
72d0eb497d
Isolate push deprecation to atlas strategy only
2017-03-21 15:08:17 -07:00
Seth Vargo
76e7a980a8
Use a hash for directory lookups
2016-03-17 20:48:08 -05:00
Phivos Stylianides
a27e7e106a
push via sftp issue when file parent directory does not exist
...
Overcomes exception Net::SFTP::StatusException (2, "no such file") when using: "vagrant push" via sftp and a file parent directory does not exist. Function "upload" does not create the directory before uploading a file ('mkdir: true' seems to have no effect as zero directories are created while files are uploaded normally).
2016-03-17 20:46:47 -05:00
Seth Vargo
1166800b65
Use SSL and HTTPS links where appropriate
2016-01-25 13:14:54 -05:00
Hasyimi Bahrudin
77031a79b7
pushes/local-exec: add args config
2015-12-10 17:00:35 +08:00
Seth Vargo
20940d1a2f
Use subprocess as a poor-man's exec for local-exec
...
Fixes GH-5307
2015-11-19 17:03:39 -08:00
Mitchell Hashimoto
f5273c5409
push/heroku: use correct current branch [GH-6123]
2015-11-19 11:17:48 -08:00
ctammes
0556b3b040
Update push.rb
...
https://github.com/mitchellh/vagrant/issues/5570
When uploading from Windows to Linux, the Windows filepath was added to the Linux path.
2015-10-06 14:02:45 +02:00
Mitchell Hashimoto
33d4f4d2a9
push/local-exec: close temp script, fix inline [GH-5695]
2015-07-06 23:42:07 -06:00
Mitchell Hashimoto
d03b1f6930
push/atlas: ATLAS_TOKEN env var works [GH-5489]
2015-07-06 11:01:50 -06:00
Seth Vargo
13d4899d16
Cleanup style
2015-04-02 10:11:41 -04:00
wucheng
ca3cb385d4
fix ftp push check bug
...
list method is not safe to check if a dir exist or not on remote.
2015-04-02 14:44:11 +08:00
Seth Vargo
7d25a687ca
Add tests for sending metadata
2015-02-04 11:45:02 -05:00
Seth Vargo
257ff57772
Remove message for now
2015-02-03 21:06:51 -05:00
Seth Vargo
82b24e9a8f
Pass in a message to the command as well
2015-02-03 19:20:27 -05:00
Seth Vargo
d29a474fbb
Cleanup that syntax
2015-02-03 19:20:12 -05:00
Seth Vargo
edbc3e74d4
Pass metadata to push command
2015-02-03 19:19:51 -05:00
Seth Vargo
5e0f91f592
ENV returns nil, not empty strings
2015-01-05 16:04:00 -05:00
Seth Vargo
2bd22c9663
Turn on Atlas debug logging if Vagrant is logging
2015-01-05 15:51:19 -05:00
Seth Vargo
f11ec8ff1a
Make parent directories when uploading to FTP
2015-01-04 18:06:51 -05:00
Seth Vargo
6a3d99a9a2
Output to the UI when uploading via FTP
2015-01-04 18:06:32 -05:00
Seth Vargo
50c1c0756e
Expand file paths relative to the root_path
2015-01-04 18:06:22 -05:00
Seth Vargo
fd3c1c6ebb
Add a logger when uploading to FTP
2015-01-04 18:06:05 -05:00
Seth Vargo
e330875303
Exclude certain directories by default
2015-01-04 18:05:46 -05:00
Seth Vargo
e7391359e8
Remove duplicate #parse_host method
2015-01-04 18:05:17 -05:00
Seth Vargo
944853ab47
Use 21 for the default port
2015-01-04 16:24:26 -05:00
Mitchell Hashimoto
84ae22e976
kernel/v2: fix push strategy config lookup
2014-12-12 01:36:39 -08:00
Seth Vargo
0506e17778
Update Atlas Push to use new vagrant-login API
2014-12-10 15:11:04 -08:00
Seth Vargo
bb7b954a5f
Use the new namespace in Atlas config
2014-12-08 22:06:41 -08:00
Seth Vargo
fa7cd37e42
Send the Atlas token
2014-12-08 16:54:19 -08:00
Mitchell Hashimoto
4a64da5663
Fix some issues around push, fix tests, add missing translations
2014-12-08 11:35:15 -08:00
Mitchell Hashimoto
44e6ec6df8
pushes/atlas: support custom server address
2014-12-08 11:35:15 -08:00
Mitchell Hashimoto
998c5688e8
pushes/atlas: Look for the uploader bin in the embedded dir
2014-12-08 11:35:15 -08:00
Seth Vargo
ede14d7daa
Separate local-exec push `script` from `inline`
2014-12-08 11:35:14 -08:00
Seth Vargo
612eeb2265
Add local-exec push
2014-12-08 11:35:14 -08:00
Seth Vargo
9d1a43c766
Interpret the app from the CWD
2014-12-08 11:35:14 -08:00
Seth Vargo
7e3de3951e
Do not check for a branch until after we have found git
2014-12-08 11:35:14 -08:00
Seth Vargo
b9e8f6e892
Interpret the current branch to push to Heroku
2014-12-08 11:35:14 -08:00
Seth Vargo
1f49b7ef62
Remove branch option (it should be interpreted)
2014-12-08 11:35:14 -08:00
Seth Vargo
ce380a3b12
Remove safe_exec (not being used)
2014-12-08 11:35:13 -08:00
Seth Vargo
4282fcf55e
Add heroku push plugin file
2014-12-08 11:35:13 -08:00
Seth Vargo
c16dc5c9c9
Add heroku push implementation
2014-12-08 11:35:13 -08:00
Seth Vargo
d4058130e4
Add heroku config
2014-12-08 11:35:13 -08:00
Seth Vargo
fb05563762
Load the translations in Atlas
2014-12-08 11:35:13 -08:00
Seth Vargo
1d7f4f26be
Provide a better error message for the FTP push
2014-12-08 11:35:13 -08:00
Seth Vargo
dc8b36b31d
Allow = methods for include and exclude
2014-12-08 11:35:13 -08:00
Seth Vargo
ed605c9aac
Rename Harmony to Atlas, minor config changes
2014-12-08 11:35:13 -08:00
Seth Vargo
c8bdf53c7e
Rename push environment to env
2014-12-08 11:35:12 -08:00
Seth Vargo
8aaf5dc578
Add the FTP push
2014-12-08 11:35:12 -08:00