Alessio Treglia
b380bde9f3
Add small test suite for events logging
2015-06-30 12:05:35 +01:00
Alessio Treglia
69aba06361
Handle log rotation
...
As requested by @josegonzalez.
2015-06-28 23:25:50 +01:00
Alessio Treglia
16e4001677
Restart rsyslog once installed
...
Seems that a mere reload doesn't work.
2015-06-27 10:20:07 +01:00
Alessio Treglia
fb5d3a06f0
Attempt to fix SC2046
2015-06-26 18:01:40 +01:00
Alessio Treglia
da3b00a894
Get rid of cruft leftover
2015-06-26 17:57:43 +01:00
Alessio Treglia
466670d804
Quote `find' statement to prevent word splitting
...
This should fix ShellCheck SC2046 error.
2015-06-26 16:37:01 +01:00
Alessio Treglia
8e7916131c
Double quote $@ in plugins/20_events/install too
2015-06-26 15:25:57 +01:00
Alessio Treglia
a858bc8f81
Double quote $@ array expansions
2015-06-26 15:18:38 +01:00
Alessio Treglia
f5e213e390
Add missing DOKKU_RSYSLOG_FILTER in install script
...
It had gone lost while porting the original 3rd party plugin.
2015-06-26 15:12:55 +01:00
Alessio Treglia
e9a73442e2
Fix missing 'fi' in plugins/20_events/install
2015-06-26 15:11:42 +01:00
Alessio Treglia
783bb02b2c
Implement events logging feature
...
Record events (i.e. pluginhook's calls) as syslog entries and
provide a shortcut command to display the last part of the log
file.
A brief summary of the changes follows:
dokku:
- New DOKKU_EVENTS_LOGFILE envvar to hold logfile location.
plugins/20_events/commands:
- events output log entries, a tail's follow-like mode is
provided too.
- events:[on|off] enables/disables logging.
- events:list lists events that are logged.
plugins/20_events/hook:
- Generic hook that writes log entries. All the events are
registered via symlink to this script.
plugins/common/functions:
- dokku_log_event() writes log entries via logger.
- dokku_log_pluginhook_call() formats log entries and writes
them via dokku_log_event().
2015-06-26 14:47:18 +01:00
Jose Diaz-Gonzalez
48eca101f1
Merge pull request #1252 from progrium/1139-vagrant-docs-fix
...
Fix ssh port for vagrant installation. Closes #1139 . [ci skip]
2015-06-25 11:22:36 -04:00
Jose Diaz-Gonzalez
0e63b4e069
Fix ssh port for vagrant installation. Closes #1139 . [ci skip]
2015-06-25 11:22:17 -04:00
Jose Diaz-Gonzalez
cd8292f7fa
Merge pull request #1251 from progrium/nginx-restarts
...
Fallback to using /etc/init.d/nginx reload directly to restart nginx
2015-06-25 11:15:39 -04:00
Jose Diaz-Gonzalez
626cd958a5
Fallback to using /etc/init.d/nginx reload directly to restart nginx. Closes #1165 . Refs #1247
2015-06-25 10:38:47 -04:00
Jose Diaz-Gonzalez
15bd9db79c
Merge pull request #1250 from progrium/1201-sglebs
...
SSL documentation is misleading
2015-06-25 10:08:25 -04:00
Marcio Marchini
114cecc911
SSL documentation is misleading
...
fixes #1194
[ci skip]
2015-06-25 10:07:25 -04:00
Jose Diaz-Gonzalez
2a469df5e4
Merge pull request #1207 from rockymadden/client-appname-as-arg-bug
...
Fixed bug with client commands taking verb, appname, and also arguments.
2015-06-25 10:06:02 -04:00
Michael Hobbs
4d162aa209
Merge pull request #1245 from arthurschreiber/patch-1
...
Support config variables containing `\n`
2015-06-24 12:32:47 -07:00
Arthur Schreiber
b40a86a2fc
Add a testcase
2015-06-24 11:22:48 +02:00
Jose Diaz-Gonzalez
cc8b1fccc1
Release 0.3.19
v0.3.19
2015-06-23 21:40:45 -04:00
Jose Diaz-Gonzalez
e674591567
Merge pull request #1246 from progrium/call-apt-get
...
Ensure we call apt-get before installing packages
2015-06-23 21:37:57 -04:00
Jose Diaz-Gonzalez
b39b0d4c78
Ensure we call apt-get before installing packages
2015-06-23 20:59:34 -04:00
Arthur Schreiber
0da389e8af
Further fixes for config values containing newlines.
2015-06-23 23:53:10 +02:00
Arthur Schreiber
182ae4a50a
Support config variables containing \n
2015-06-23 23:41:34 +02:00
Michael Hobbs
1aee972a82
Merge pull request #1237 from zyegfryed/patch-1
...
Typo (at at -> at)
2015-06-19 07:44:33 -07:00
Sébastien Fievet
b3269e3c95
Typo (at at -> at)
2015-06-19 10:23:44 +02:00
Michael Hobbs
c0f8764292
[ci skip] clarify phases in docker-options plugin
2015-06-17 08:12:46 -07:00
Michael Hobbs
6ebb897150
Merge pull request #1232 from progrium/1231_mh-dockerfile-build-cache-control
...
allow passing of docker build options and document dockerfile deployment. closes #1231
2015-06-15 16:22:31 -07:00
Michael Hobbs
ba4e87cb8b
[ci skip] clean up documentation language
2015-06-15 09:09:49 -07:00
Michael Hobbs
ea66619f3c
allow passing of docker build options and document dockerfile deployment. closes #1231
2015-06-15 09:00:33 -07:00
Michael Hobbs
62906cd542
Merge pull request #1227 from Flink/dockerfile-build-without-cache
...
Use --no-cache when building Dockerfile
2015-06-11 13:37:45 -07:00
Loïc Guitaut
9a71fff3f1
Use --no-cache when building Dockerfile
...
Since `docker build` is only invoked when actually building a new image
from a Dockerfile, using `--no-cache` allows to have an updated image
even if the Dockerfile hasn't changed.
This works well with Dockerfiles using `git` or packages referencing
latest versions instead of "static" ones.
2015-06-11 12:05:07 +02:00
Jose Diaz-Gonzalez
8880a9ce84
Merge pull request #1224 from lmars/docs-update
...
Update plugin-creation.md
2015-06-10 12:46:19 -04:00
Lewis Marshall
e61e6e94af
Update plugin-creation.md
...
Signed-off-by: Lewis Marshall <lewis@lmars.net >
2015-06-09 23:34:54 +01:00
Jose Diaz-Gonzalez
d08cec5913
Merge pull request #1218 from progrium/mh-add-logspout-plugin
...
add dokku-logspout plugin
2015-06-06 14:37:54 -04:00
Michael Hobbs
473f28b0c3
[ci skip] add dokku-logspout plugin
2015-06-05 15:58:07 -07:00
Michael Hobbs
dda2ac03ee
Merge pull request #1217 from kirushanth-sakthivetpillai/fix_broken_ssl_wildcard_redirect
...
Fix broken ssl wildcard redirect
2015-06-05 13:33:36 -07:00
Kirushanth Sakthivetpillai
db6e71b7d6
Update nginx.ssl.conf.template
...
use nginx $host variable intead of $ssl_server_nam (which may be *.example.com) which does bogus redirects
2015-06-05 15:01:22 -04:00
Michael Hobbs
daeea6ba13
Merge pull request #1206 from rockymadden/patch-1
...
Handle for installs in /usr/local/bin and the like.
2015-06-02 10:45:41 -07:00
Jose Diaz-Gonzalez
0bfa25f73e
Merge pull request #1212 from progrium/mh-dont-install-docker-in-ci
...
let circleci dictate docker install (fixes master)
2015-05-27 18:03:29 -04:00
Michael Hobbs
b35190101c
let circleci dictate docker install
2015-05-27 13:19:28 -07:00
Jose Diaz-Gonzalez
2ceed0cbdf
Merge pull request #1210 from cddr/split-nginx-logs
...
[Fixes #1158 ] Split nginx logs by $APP
2015-05-25 23:23:52 -04:00
Andy Chambers
eedb05d656
[ Fixes #1158 ] Split nginx logs by $APP
...
* nginx access logs to /var/log/nginx/${APP}-access.log
* nginx error logs to /var/log/nginx/${APP}-error.log
2015-05-24 23:59:17 -07:00
Rocky Madden
587de65441
When parsing args when handling verbs, appname can be included as an argument causing bugs with commands that accept a verb, appname, and also arguments.
2015-05-22 18:21:54 -06:00
Rocky Madden
7a6450f0f0
Fixed lint issue.
2015-05-22 17:07:54 -06:00
Rocky Madden
a90090bacd
Handle for installs in /usr/local/bin and the like.
2015-05-22 16:58:26 -06:00
Jose Diaz-Gonzalez
3bf68616ad
Merge pull request #1204 from 3onyc/bootstrap-fix
...
Fix bootstrap.sh, install curl when it's missing, make curl follow redirects, don't suppress stderr
2015-05-22 04:04:23 -04:00
3onyc
450f9f19b2
Make curl follow redirects, and don't suppress its output in bootstrap.sh
2015-05-22 08:50:37 +02:00
3onyc
f17b799638
Ensure curl is installed by bootstrap.sh if it's missing
2015-05-22 08:50:23 +02:00