Alex Quick
b84635baf7
[config] remove old code
2017-10-12 22:49:44 -04:00
Alex Quick
ad8bcecb5b
[config] clean up PlugnTrigger and NewShellCmd
2017-10-12 22:38:18 -04:00
Jose Diaz-Gonzalez
b16c2876c4
Merge branch 'master' into feature-config-golang
2017-10-06 11:13:15 -04:00
Jose Diaz-Gonzalez
3f50097619
Merge pull request #2932 from znz/fix-comment
...
Fix comment
2017-10-06 11:12:58 -04:00
Kazuhiro NISHIYAMA
aeba3f2269
Fix comment
...
[ci skip]
2017-10-06 20:01:35 +09:00
Jose Diaz-Gonzalez
a9a9d0a898
Merge pull request #2926 from vtavernier/issue-2915
...
Fix #2915
2017-10-05 22:05:55 -04:00
Jose Diaz-Gonzalez
2851f2c63f
fix: remove duplicate logging functions
2017-10-05 13:26:20 -04:00
Jose Diaz-Gonzalez
5e82b37147
Merge branch 'master' into feature-config-golang
2017-10-04 19:04:31 -04:00
Jose Diaz-Gonzalez
ad732bd42b
feat: add network:report command
2017-10-04 00:58:29 -04:00
Michael Hobbs
8654783131
style tweaks
2017-10-02 16:50:05 -07:00
Michael Hobbs
b099d2c389
add more tests
2017-10-02 16:49:54 -07:00
Jose Diaz-Gonzalez
edfec35177
feat: add symlinks to all network and proxy hooks
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
419d687c50
fix: remove proxy enabled checks when retrieving a container's ip and port
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
3ca5503b74
fix: actually echo the property
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
acde3d60a7
feat: allow users to bind to all interfaces when a proxy is enabled
...
- use a plugin trigger to see whether we should bind to all interfaces
- create a generic way of setting properties for a plugin
- migrate proxy-enabled to the new network property "bind-all-interfaces"
- add network:set subcommand
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
7a4464a8ae
feat: more loggers
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
096ba83f41
refactor: alphabetize more functions
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
04cd5eeb91
refactor: move all logging functions to their own file
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
9d287d0a5d
refactor: alphabetize functions
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
af13d1247f
refactor: consolidate DOKKU_DISABLE_PROXY usage into the proxy plugin
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
81ddef04ff
refactor: drop direct access to PORT files
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
9ef7c385d4
refactor: drop extra sub-shell
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
dc00542b6f
refactor: remove use of IP and PORT files from core-post-deploy plugin
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
7fe2f8593c
refactor: remove unused IS_HEROKUISH_CONTAINER argument
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
20dca9fd46
fix: convert the containerIndex to a string to ensure it is properly passed to the plugn trigger
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
647efab2dd
fix: ensure we always call proxy-build-config when calling ps_start
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
44282fd857
fix: Declare and assign separately to avoid masking return values.
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
1372522258
fix: Declare and assign separately to avoid masking return values.
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
27f247eabd
fix: do not shadow id variable
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
a3abf8016b
fix: correct lint errors
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
3b9f4ba63f
fix: correct lint errors
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
6f008d6643
fix: use correct conditional check for isHerokuishContainer
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
6e76831b5d
fix: use correct flag parameter for app name
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
31333452c8
fix: refactor retrieval of network and docker inspect information
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
25759bcbb4
fix: use correct flag positional argument
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
72eb8a06f0
fix: respond to all review comments
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
1e8831d9a0
chore: remove unused nullglob
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
c788659b63
refactor: rewrite network plugin in golang
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
e74346f0dc
fix: call correct command
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
5b592575e7
fix: call correct command
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
c43a3edfc6
fix: ensure ports are set to an array
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
94149c8445
fix: properly pass PROC_TYPE
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
7fd32fb3e8
fix: properly retrieve ports list
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
006eb452f1
fix: do not generate network config if there is no generated scale file
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
2c5190bf63
fix: set IS_HEROKUISH_CONTAINER=false to false by default
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
0cc9e42c59
fix: check IS_HEROKUISH_CONTAINER value check
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
b409af602a
fix: call network-get-ipaddr correctly
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
b0afa778fb
chore: minor cleanup
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
b8a4152e10
fix: call the correct method in the proxy-build-config hook
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
4949d1e33e
fix: always pass in IS_HEROKUISH_CONTAINER
2017-10-02 15:05:13 -07:00