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
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
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
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
0cc9e42c59
fix: check IS_HEROKUISH_CONTAINER value check
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
Jose Diaz-Gonzalez
06a7cb2a3d
fix: check correct variable
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
f71d147a8f
fix: add missing argument
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
dfad37ba23
fix: cleanup issues retrieving the port and ipaddr for a container
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
054a1328f7
fix: thren => then
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
6fbd148597
fix: properly name variable to avoid reference issues
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
d7d5d373c9
feat: refactor to retrieve listeners from network plugin
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
a9e0f8b7be
fix: ensure we write the ipaddr and port
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
1835b04809
feat: refactor to use network plugin
...
- Add proxy-build-config hook to rebuild network and proxy settings for an application
- Scope nginx:build-config to work only when it is the configured proxy for an application
- Refactor deploy code to interact with network plugin for computed and actual ipaddr/port settings
- Ensure the proxy-build-config plugin trigger is called on ps:restore
- Expose a few plugin triggers for retrieving networking information for a given APP/PROC_TYPE/CONTAINER_ID combination
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
ec9b8be5f8
feat: implement first-pass at networking plugin
...
Implements help, `rebuild`, and `rebuildall` command.
Refs #2403
2017-10-02 15:05:13 -07:00