Jose Diaz-Gonzalez
329e849894
fix: do not allow shadowing of the CACHE_DIR variable
...
Closes #2901
2017-12-13 01:27:29 -05:00
Jose Diaz-Gonzalez
5e82b37147
Merge branch 'master' into feature-config-golang
2017-10-04 19:04:31 -04: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
81ddef04ff
refactor: drop direct access to PORT files
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
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
c43a3edfc6
fix: ensure ports are set to an array
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
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
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
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
Alex Quick
8e8b6d60f0
fix: Declare and assign separately to avoid masking return values.
2017-09-27 23:56:42 -04:00
Alex Quick
686428a41a
[config] lint fixes
2017-09-27 23:56:40 -04:00
Alex Quick
73e85b7df5
[config] preliminary Dockerfile support
2017-09-27 23:56:40 -04:00
Jose Diaz-Gonzalez
1a5bea6dde
refactor: extract app name validation
2017-08-19 19:16:16 -04:00
Michael Hobbs
a0e05eaef0
add optional PROC_TYPE and CONTAINER_INDEX to docker-args-deploy plugn trigger
2017-07-26 09:04:14 -07:00
Jose Diaz-Gonzalez
7df06fb2f6
fix: ensure tests pass
2017-07-22 15:17:40 -06:00
Domonkos Czinke
0efb690992
Fix URL error and add test
2017-07-22 15:15:54 -06:00
Domonkos Czinke
5af42dc678
url command should return https if it's configured
2017-07-22 15:15:54 -06:00
Jose Diaz-Gonzalez
72491257c3
fix: use python2.7 binary instead of python2 binary
...
On hosts where python3 is the system default python env and there is a minimal server installation, Dokku will silently fail to return the values of json keys.
2017-07-08 17:54:12 -06:00
Jose Diaz-Gonzalez
85f7f22520
fix: add missing space
2017-07-02 17:20:04 -06:00
Jose Diaz-Gonzalez
79f8c1581c
refactor: allow skipping cleanup on a per-application basis
...
Also move all cleanup-related logic into docker_cleanup method
2017-07-02 16:54:26 -06:00
Jose Diaz-Gonzalez
ed48542fd8
fix: quote variables
2017-05-01 23:20:28 -06:00
fzerorubigd
4ab147a8a5
add support for set DOKKU_IMAGE per app
...
fixes #2745
2017-05-02 09:21:58 +04:30
Jose Diaz-Gonzalez
b8cde503c2
SC2178: Variable was used as an array but is now assigned a string
2017-03-26 05:03:16 -06:00
Jose Diaz-Gonzalez
89c8e1c6a5
SC2086: Double quote to prevent globbing and word splitting
2017-03-26 05:02:03 -06:00
Jose Diaz-Gonzalez
e2bbdc968d
SC2162: read without -r mangle backslashes
2017-03-26 04:59:10 -06:00
Jose Diaz-Gonzalez
ed7d5623ad
fix: attempt to pass shellcheck on os x
2017-03-26 04:38:35 -06:00
Jose Diaz-Gonzalez
06d2ffaa14
feat: redirect warnings to stderr
...
Having warnings on stdout doesn’t convey to a user that it is a warning.
2017-03-15 02:44:38 -06:00
Jose Diaz-Gonzalez
2bcad2014b
chore: unify error output when an app is not declared
2017-03-12 21:26:19 -06:00
Jose Diaz-Gonzalez
594b41cc70
fix: properly handle argument parsing when skip is set to true
...
Previously, using the --app flag would mean that we would stop properly parsing all proceeding flags, so the --app flag would only work when set last.
2017-01-09 02:13:52 -07:00
Jose Diaz-Gonzalez
970647b4ae
Merge pull request #2378 from knjcode/skip_finish_process_when_checks_disabled
...
Skip container finish processing when zero downtime is disabled
2016-11-20 16:46:14 -07:00
Jose Diaz-Gonzalez
180582df2e
Merge pull request #2407 from dokku/2367-core-post-deploy
...
Move core post-deploy triggers to core-post-deploy
2016-10-29 21:16:45 -06:00
Michael Hobbs
ef2bbc60df
add force option on docker tag when available. closes #2425
2016-09-22 09:33:20 -07:00
PWAckerman
da2d00cf46
Fixed double quotations in 'plugins/common/functions' dokku_deploy_cmdwhere DYNO environment variable is set
2016-09-15 17:11:20 -04:00
Jose Diaz-Gonzalez
2fc3a09b41
Move post-deploy trigger to core-post-deploy. Refs #2367
...
This avoids issues where community plugins may break core commands because of issues in the command output.
2016-09-05 00:04:06 -04:00
knjcode
8200348f3c
Skip container finish processing when zero downtime is disabled
2016-08-29 20:26:49 +09:00
swg
8f9c003a9f
Use python2 in functions/get_json_*
...
On hosts where python3 is the system default python env, Dokku will silently fail to return the values of json keys.
2016-08-26 22:54:04 -04:00
Michael Hobbs
a9358eaed7
hide stderr when using find
2016-08-26 13:46:05 -07:00
Mirko Geissler
36ee71cb0a
Put hyphen at the end of group expression
2016-08-12 09:43:15 +02:00
Mirko Geissler
6f9662af50
Allow multiple hyphens in domain names
2016-08-11 13:08:20 +02:00
Mirko Geissler
83a8cd2f53
Allow hyphen in last host path part
2016-08-09 10:50:35 +02:00
Jose Diaz-Gonzalez
12360639bb
Merge pull request #2273 from dokku/2218-checks-run-command
...
Add the ability to manually execute checks against an application
2016-07-30 15:13:47 -04:00
Jose Diaz-Gonzalez
1d08888234
Merge pull request #2283 from xadh00m/multiple_global_domains
...
Multiple global domains
2016-07-30 15:12:29 -04:00
Jose Diaz-Gonzalez
cb9c5b6988
Merge pull request #2317 from dokku/jg-cert-remap-http-to-https
...
Properly remap http port 80 mappings to https 443 when adding an ssl certificate
2016-07-30 15:09:53 -04:00
Jose Diaz-Gonzalez
115b939071
Cleanup deploying image name retrieval
...
Rather than try to shim in the logic from the existing get_app_image_name method, simply duplicate it to make the method name more readable
2016-07-29 04:51:36 -04:00