Michael Hobbs
d1b87bd7b7
cleanup shellcheck SC2086
2016-02-23 07:50:06 -08:00
Michael Hobbs
48f2dc074c
support scripts.dokku in app.json. closes #1824
2016-02-19 13:29:42 -08:00
Michael Hobbs
9842d7498b
nginx-vhosts rewrite
2016-02-18 18:38:54 -08:00
Michael Hobbs
fae4d8b8bf
fix dokku run --rm regression. add test. fixes #1906
2016-02-11 07:20:26 -08:00
Michael Hobbs
16544a77e2
Merge pull request #1828 from dokku/mh-label-dokku-containers
...
label all dokku containers
2016-01-05 12:39:24 -08:00
Michael Hobbs
d7b5d6e904
[ci skip] implement dokku report command
2016-01-05 12:24:07 -08:00
Michael Hobbs
17e7869150
label all dokku containers
2016-01-05 11:55:07 -08:00
Jose Diaz-Gonzalez
5a74d5c247
Create the proper init file in a distribution-agnostic way
...
From http://unix.stackexchange.com/a/164092/105389
2016-01-02 04:08:54 -05:00
Jose Diaz-Gonzalez
89d96dfee1
Only trigger systemctl if that command exists
2016-01-02 02:30:34 -05:00
Jose Diaz-Gonzalez
80dc4cc3b6
Update all links to dokku repo
...
[ci skip]
2015-12-06 04:55:11 -05:00
Jose Diaz-Gonzalez
9d3c856afd
Merge pull request #1727 from louisbl/enable-redeploy-service
...
Enable dokku-redeploy systemd service.
2015-12-02 14:07:49 -05:00
Michael Hobbs
606036a50f
[ci skip] use ps:restore on instance boot
2015-12-01 11:54:36 -08:00
louisbl
2f95fa0a95
Fix #1726 . Enable dokku-redeploy systemd service.
2015-11-29 22:26:40 +01:00
Michael Hobbs
2c34a60a8d
filter incompatible docker option when building dockerfile vs herokuish apps. closes #1609
2015-11-25 09:09:11 -08:00
Michael Hobbs
2ed0424860
app/global override for DOKKU_RM_CONTAINER. closes #1704
2015-11-19 10:40:14 -05:00
Justin Clark
ef7d49bafc
Fix App tls has not been deployed error
2015-11-13 16:40:22 -08:00
Michael Hobbs
75b8953799
set nullglob when looking for PORT files. closes #1678
2015-11-11 12:01:56 -08:00
Justin Clark
4f6843104c
Add trace to help output
2015-10-27 17:15:38 -07:00
Jose Diaz-Gonzalez
18d6e1be3b
Add special case commands for instances where we are running dokku in debian
...
Refs #976
2015-10-24 23:12:38 -04:00
Jose Diaz-Gonzalez
9878c0b6fa
Ensure we have a directory for the dokku motd message. Refs #976
2015-10-24 22:11:27 -04:00
Michael Hobbs
4accec2ac9
trigger docker-args-build for dockerfile deployments. closes #1588
2015-10-21 17:27:30 -07:00
Loïc Guitaut
03dee47d69
Colorize logs
...
Move logs into a dedicated plugin.
2015-09-28 12:34:58 +02:00
Michael Hobbs
fd44635e74
Merge remote-tracking branch 'origin/reduce-trace-output' into 1123_mh-nginx-novhost
2015-09-18 17:34:32 -07:00
Michael Hobbs
3e18d9aff9
create functions for app/global vhost detection. make VHOST setting more explicit
2015-09-18 16:48:18 -07:00
Jose Diaz-Gonzalez
70511c340d
Check if command is implemented in a plugin before executing plugin code
...
Because of how plugin commands are implemented, their output can be incredibly verbose. Rather than executing even the `set -eo pipefail` parts of a plugin, we immediately check if the command is implemented by a plugin. If it is not, then we continue on as normal.
One side-effect of this change is that plugin commands need to be duplicated again:
- once in the command array
- once for the actual body of the command
- once in the help output
This is also quite hackish, and probably not the best way to decrease trace output. Note that we drop approximately 2k lines worth of logs with this change.
2015-09-18 16:09:59 -04:00
Michael Hobbs
4dd4d7c567
initial pass at nginx proxy without VHOST. closes #1123
2015-09-17 19:09:38 -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
b3ddcbed53
Remove deprecated calls
2015-09-15 02:17:27 -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
KernelMadness
7eb8da5302
limit amount of lines in "dokku logs -t"
2015-09-14 23:59:19 +03:00
Michael Hobbs
01525e3164
set TRACE=true when DOKKU_TRACE is set
2015-09-10 14:07:07 -07:00
Jose Diaz-Gonzalez
95161a2a9f
Use dokku_log_fail in all cases where there is an exit 1
2015-09-04 00:17:45 -04:00
Michael Hobbs
495b1d2ba0
refactor to explicitly set IMAGE via get_app_image_name()
2015-09-03 16:12:36 -07:00
Michael Hobbs
04a4da7fc5
allow tagging and deployment of tagged app images
2015-09-02 11:18:01 -07:00
Jose Diaz-Gonzalez
646fd467ab
use config_set function in domains and 00_dokku-standard
2015-09-01 00:55:05 -04:00
Jose Diaz-Gonzalez
a62f914646
Remove the need for temp files
2015-09-01 00:13:29 -04:00
Jose Diaz-Gonzalez
e08f02aca7
Use a custom temporary directory for dokku-related files
...
Also fix the trap call
2015-08-31 15:17:04 -04:00
Jose Diaz-Gonzalez
fa5fe2efd6
Use a trap to remove the TMPFILE
2015-08-31 14:36:00 -04:00
Jose Diaz-Gonzalez
7979751d71
Use $DOKKU_ROOT/$APP/.dokku_config for tempfile path
2015-08-31 12:55:32 -04: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
cddc4afcea
Remove last outer calls to ENV files in release command
2015-08-30 01:26:01 -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
Randall Leeds
183edc9839
Remove uses of (un)set-norestart
2015-08-24 15:57:34 -07:00
Michael Hobbs
d21caa4811
Merge branch 'master' into 1091_mh-switch-to-herokuish
2015-07-28 10:55:44 -07:00
Michael Hobbs
b30db17def
use column to format help output
2015-07-28 09:31:56 -07:00