Jose Diaz-Gonzalez
2da58ff351
Release 0.5.7
2016-05-17 03:15:27 -04:00
Jose Diaz-Gonzalez
e9447a26d9
Release 0.5.6
2016-04-29 16:07:58 -04:00
Jose Diaz-Gonzalez
a13a0df35e
Release 0.5.5
2016-04-13 13:32:04 -04:00
Jose Diaz-Gonzalez
f328a9940b
Release 0.5.4
2016-04-05 03:09:29 -04:00
Kazuhiro NISHIYAMA
722564b2da
Fix ignored settings in the CHECKS file
2016-04-01 13:55:25 +09:00
Michael Hobbs
c739c770f7
remove references to global TLS certs. closes #2057
2016-03-31 07:52:19 -07:00
Jose Diaz-Gonzalez
9dfe14fe33
Release 0.5.3
2016-03-30 01:24:14 -04:00
Jose Diaz-Gonzalez
71b040cabe
Merge pull request #2030 from dokku/2029-fix-variable-iteration
...
Fix setting of APPS when $1 is left unspecified
2016-03-30 01:09:36 -04:00
Jose Diaz-Gonzalez
e7e249d1d3
Ensure we release the trap avoid running cleanup twice
2016-03-29 23:31:03 -04:00
Jose Diaz-Gonzalez
af97275139
Rename the cleanup command to make it more readable in logging output
2016-03-29 23:29:41 -04:00
Michael Hobbs
9ce7470b87
remove deprecated mktemp args and name vars more clearly
2016-03-29 19:46:46 -07:00
Michael Hobbs
7e1516bdf5
strip inline comments from CHECKS and Procfile. closes #2044
2016-03-29 16:22:00 -07:00
Michael Hobbs
8c31c8105e
ensure CHECKS file has trailing newline. closes #2037
2016-03-29 11:10:48 -07:00
Jose Diaz-Gonzalez
8c39685ef6
Fix setting of APPS when $1 is left unspecified
...
Closes #2029
2016-03-28 01:50:58 -04:00
Jose Diaz-Gonzalez
12ca7adcd1
Release 0.5.2
2016-03-27 17:09:36 -04:00
Jose Diaz-Gonzalez
668dc0e7a5
Release 0.5.1
2016-03-26 19:54:25 -04:00
Michael Hobbs
de9b1f6273
[ci skip] make help desc local consistent
2016-03-22 13:33:35 -07:00
Justin Clark
14a1d06c03
Collapse help into expandable command topics
2016-03-22 10:50:20 -07:00
Michael Hobbs
987c5cfb9c
use declare for description variable
2016-03-08 15:30:34 -05:00
Michael Hobbs
7dd8d635bc
show container type when printing container output
2016-03-03 22:11:35 -08:00
Michael Hobbs
aa2415eeb8
more style/function tweaks
2016-03-03 22:11:35 -08:00
Michael S. Hobbs
89f289b433
subcommand restructure and bashstyle refactor. closes #1579
2016-03-03 22:11:35 -08:00
Michael Hobbs
d1b87bd7b7
cleanup shellcheck SC2086
2016-02-23 07:50:06 -08:00
Michael Hobbs
9842d7498b
nginx-vhosts rewrite
2016-02-18 18:38:54 -08:00
Ken Ip
bf1e9ddaee
Update log to better reflect what's going on with CHECKS
2016-01-18 19:35:47 -05:00
Michael Hobbs
8b879079e4
updates for moving of dokku sshcommand and plugn repos
2015-12-17 11:40:32 -08:00
Dan Callahan
c389b213b5
Resolve SC2162: 'read without -r mangles backslashes'
...
More information:
https://github.com/koalaman/shellcheck/wiki/SC2162
http://wiki.bash-hackers.org/commands/builtin/read
2015-11-04 20:40:42 -06:00
Jose Diaz-Gonzalez
ab8eb5a727
Handle crashing containers by using restart=on-failure policy
...
Previously a crashed container would stay down, regardless of exit status. In some cases, it may be useful to restart the container. For example, an application may not be correctly implementing their error handling, or the crash may be caused by a transient error.
By setting the restart policy to `on-failure:N` - where N is a number of max restarts - we can help developers guard against crashing applications. Note that this is not a replacement for proper error handling, nor does this include notifications to a developer when a container is restarted. Those patterns should be implemented application side, or via a feature request to docker.
The value is configurable at the app-level by setting DOKKU_RESTART_LIMIT to a number. By default, containers will be restarted a max of 10 times. If a container crashes during the check-deploy plugin trigger, then the deploy will be marked as a failure.
Closes #216
Closes #398
Closes #1327
2015-09-16 23:47:33 -07:00
Jose Diaz-Gonzalez
27a2478a33
Follow bashstyle where possible
2015-09-16 16:06:31 -07:00
Jose Diaz-Gonzalez
c929edfbe5
Source plugins from $PLUGIN_AVAILABLE_PATH when not using common plugin
...
This will allow us to override any core plugin
2015-09-15 02:22:08 -07:00
Michael Hobbs
8095df79f6
implement core plugin mgmt using plugn. add tests.
2015-09-15 02:17:28 -07:00
Jose Diaz-Gonzalez
ad72a137e1
Fix sourcing of functions
2015-09-15 02:16:40 -07:00
Michael Hobbs
7a545759f2
initial pass at switching to plugn
2015-09-15 02:16:40 -07:00
Jose Diaz-Gonzalez
e7c035e207
Use config_export function instead of calling dokku as a subcommand
2015-08-30 01:55:14 -04:00
Jose Diaz-Gonzalez
60c0f56724
Fix lint errors
2015-08-30 01:23:56 -04:00
Jose Diaz-Gonzalez
afe65a86fb
eval the output of "dokku config --export" to get env config
...
This should theoretically be safe, as "--export" forces the `dokku config` command to return 0 in all cases, and it should only output lines that are "valid" environment variables
2015-08-30 01:23:56 -04:00
Jim Myhrberg
d5df6a4190
Use $PLUGIN_PATH instead of $(dirname $0)/..
...
As briefly discussed in #1425 , source the `common/functions` file via an
absolute path, rather than determining the relative path by using
`dirname`. 3rd-party plugins should follow suit and use the new
`$PLUGIN_PATH` convention too.
2015-08-28 14:14:28 +01:00
Michael Hobbs
d2f2bc9ac1
update docs to reflect default checks. rename DOKKU_DEFAULT_WAIT to DOKKU_DEFAULT_CHECKS_WAIT. refs #1323
2015-07-17 07:25:35 -07:00
Michael Hobbs
c7cb014580
convenience functions for app container state
2015-07-13 09:27:42 -07:00
Michael Hobbs
633c595311
use docker inspect instead of docker ps grep pattern. closes #1281
2015-07-13 09:09:38 -07:00
Kilian Ciuffolo
0424d5a744
fixes #1270 faulty default container check
2015-07-13 09:09:38 -07:00
Jose Diaz-Gonzalez
68b12ab46f
Merge pull request #1298 from SonicHedgehog/fix-check-root
...
Fix check-deploy skipping the root path
2015-07-13 10:31:21 -04:00
Jose Diaz-Gonzalez
43b179735b
Merge pull request #1261 from Flink/bypass-checks-on-demand
...
Allows to skip checks (all or default)
2015-07-11 16:31:21 -04:00
Jakob Krigovsky
5f03518ec8
Fix check-deploy skipping the root path
...
The root path, `/`, was treated as an invalid URL because it didn’t
contain any characters after the slash.
2015-07-11 13:46:17 +02:00
Jakob Krigovsky
a60dfd3b5e
Set X-Forwarded-Proto header if TLS is enabled when running checks
2015-07-09 22:03:29 +02:00
Loïc Guitaut
c316f59f4f
Allows to skip checks (all or default)
...
Setting `DOKKU_SKIP_ALL_CHECKS` globally or for a given app will skip
all checks.
Setting `DOKKU_SKIP_DEFAULT_CHECKS` globally or for a given app will skip
default checks only.
2015-06-29 17:21:31 +02:00
Michael Hobbs
0d2e5f1a14
Merge branch 'master' into mh-ps-scale
2015-05-17 17:45:01 -07:00
Jose Diaz-Gonzalez
eac3eba50e
Merge pull request #1179 from trsc/prevent_dismissal_of_urls_in_checks_file
...
prevent dismissal of URLs in CHECKS file that contain query params
2015-05-16 14:30:21 -04:00
Vincent Fretin
2e69ff6041
wait 30 seconds and not 30 minutes
2015-05-16 18:20:50 +02:00
Andreas Follmann
6eefcbb87c
prevent dismissal of URLs in CHECKS file that contain query params
2015-05-11 15:31:28 +02:00