alexkruegger
9910fb03da
fix bug in nginx.conf.template getting from /app directory
2015-07-20 14:02:44 +03: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
Matt Walker
d457ffe7ee
Spelling fix: 'comma seperated'=>'comma-separated'
2015-07-14 15:46:32 -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
0a4c22dfea
Merge pull request #1278 from progrium/nginx-template-from-app
...
Nginx template from app
2015-07-13 10:35:42 -04: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
ca1b17ea8d
Use nginx.conf.template as the template name
2015-07-12 20:06:21 -04:00
Jose Diaz-Gonzalez
007946f52a
Use simplified method for retrieving a container id
2015-07-12 20:02:29 -04:00
Michael Hobbs
3e58824377
Merge branch 'master' into kilianc_hotfix-#1259
2015-07-12 16:27:10 -07:00
Michael Hobbs
ee4fca572e
mv dockerfile port logic to common function + tests. closes #1280
2015-07-12 15:57:12 -07: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
Jose Diaz-Gonzalez
6895dd9936
Use get_container_ids method to retrieve container for nginx conf
2015-07-11 16:29:25 -04:00
Assaf Arkin
71b79da262
CHANGED extract nginx.conf.template from project
2015-07-11 15:05:06 -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
Michael Hobbs
4629a9909b
Merge pull request #1291 from progrium/1261_mh-config-args-refactor
...
initial pass at config plugin arguments refactor
2015-07-10 07:55:18 -07:00
Jakob Krigovsky
a60dfd3b5e
Set X-Forwarded-Proto header if TLS is enabled when running checks
2015-07-09 22:03:29 +02:00
Michael Hobbs
64d76724e5
fix typo. good thing we have a test suite. :P
2015-07-09 12:35:43 -07:00
Michael Hobbs
033a267573
fix urls command when NO_VHOST=1 + tests. fixes #1294
2015-07-09 12:12:58 -07:00
Michael Hobbs
710c6f4e88
don't run dokku again on --* args in config plugin
2015-07-07 12:31:57 -07:00
Michael Hobbs
a84397895a
initial pass at config plugin arguments refactor
2015-07-06 19:41:17 -07:00
Kilian Ciuffolo
5f8b2d291c
fixes #1259 now ignores protocol of Dockerfile EXPOSE
2015-07-04 10:37:22 -07:00
Jose Diaz-Gonzalez
5aada53945
Merge pull request #1277 from progrium/gzip-templates
...
Gzip templates
2015-07-03 18:23:50 -04:00
Jose Diaz-Gonzalez
35ff3fa5ca
Merge pull request #1149 from mlebkowski/feature/receive-branch
...
pluginhook to receive branches different than master
2015-07-03 17:07:31 -04:00
Jose Diaz-Gonzalez
2d6054605e
Remove non-standard redirects
2015-07-03 16:41:17 -04:00
krishna rokhale
62d1d41bc5
removing new lines.
2015-07-03 16:40:23 -04:00
krishna rokhale
adfa13235d
added two more cases to SSL template and gzip as default in templates.
2015-07-03 16:40:23 -04:00
Michael Hobbs
0e53a76a1a
[ci skip] ensure we parse the correct section of the string. closes #1271
2015-07-03 07:47:30 -07:00
Alessio Treglia
0ed0201b90
Use d-neg condition to prevent unexpected failures
2015-07-01 19:48:09 +01:00
Alessio Treglia
89d1acaa38
Revert "Fix double negative statement"
...
This reverts commit 54ed3c1f2b .
2015-07-01 19:47:38 +01:00
Alessio Treglia
54ed3c1f2b
Fix double negative statement
...
This is mostly for consistency with its own install script.
2015-07-01 19:20:53 +01:00
Alessio Treglia
91c691a806
Create dokku's /var/log/dokku/ private namespace
...
Rename dokku.log to events.log.
Refresh tests accordingly.
2015-07-01 18:25:11 +01:00
Alessio Treglia
172e71cac6
Merge branch 'master' into pr-dokku-events
2015-07-01 17:50:09 +01: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
Alessio Treglia
69aba06361
Handle log rotation
...
As requested by @josegonzalez.
2015-06-28 23:25:50 +01:00
Jose Diaz-Gonzalez
e2e36a5045
Add logging to :80 stanza
2015-06-27 12:24:27 -04: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
Jose Diaz-Gonzalez
6bb513f12c
Split nginx ssl logs by $APP
...
Refs #1158
2015-06-26 11:03:29 -04: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
Maciej Łebkowski
259f8507ca
pluginhook to receive branches different than master
2015-06-25 18:00:11 +02: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