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
Jose Diaz-Gonzalez
06a7cb2a3d
fix: check correct variable
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
aee88d081d
fix: add missing proxy/functions source call
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
901ec7c213
refactor: retrieve ip and port for checks from the network plugin triggers
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
Jose Diaz-Gonzalez
c25ef5dc4c
fix: Declare and assign separately to avoid masking return values
2017-10-02 11:57:50 -04:00
Vincent Tavernier
c9af7e4cfa
Fix #2915
...
Add forward slash cleanup of the app name for the git-upload-pack
command. Prevents is_valid_app_name from removing the application folder
on `git fetch`.
2017-10-02 09:29:30 +02:00
Alex Quick
5d72f145df
[config] restore dokku config functionality and fix docs
2017-10-01 22:50:01 -04:00
Jose Diaz-Gonzalez
5b3506584a
Release 0.10.5
...
# History
## 0.10.5
### Bug Fixes
- #2912 : @josegonzalez Add missing depends statement for rsyslog
- #2906 : @manuel-colmenero Check the location of nginx in a central way
- #2895 : @josegonzalez cd to app directory when calling git worktree add
### Documentation
- #2922 : @axilleas Clarify the minimum Nginx version for HTTP/2 support
- #2919 : @wootwoot1234 Update nginx documentation surrounding file uploading for php buildpack users
- #2913 : @znz Fix a typo in the rpm release script
- #2910 : @buckle2000 Add a note about using the full git url for non-compliant toolchains
2017-10-01 15:12:30 -04:00
Alex Quick
60e3b37d39
[config] trigger app restart through plugn rather than exec
2017-09-27 23:56:43 -04:00
Alex Quick
a8563489e7
[common] fix PlugnTrigger
2017-09-27 23:56:42 -04:00
Alex Quick
a86c037a91
[config] upgrade to godotenv 1.2.0
2017-09-27 23:56:42 -04:00
Alex Quick
a13722eec1
[config] update glide dependencies
2017-09-27 23:56:42 -04:00
Alex Quick
8e8b6d60f0
fix: Declare and assign separately to avoid masking return values.
2017-09-27 23:56:42 -04:00
Alex Quick
4808c047ee
[config] make HasKey more idiomatic
2017-09-27 23:56:42 -04:00
Alex Quick
be5e81b246
[config] config:get exit with status 1 if key is not set in env
2017-09-27 23:56:42 -04:00
Jose Diaz-Gonzalez
a137ed64dc
fix: Declare and assign separately to avoid masking return values.
2017-09-27 23:56:42 -04:00
Alex Quick
4f5c747c99
[config] add config:export --format shell
2017-09-27 23:56:41 -04:00
Alex Quick
e7a81a8f8b
[config] error message when no key is given for config:get
2017-09-27 23:56:41 -04:00
Alex Quick
32414b343a
[config] show empty config when ENV file doesn't exist yet
2017-09-27 23:56:41 -04:00