Vincent Fretin
2e69ff6041
wait 30 seconds and not 30 minutes
2015-05-16 18:20:50 +02:00
Michael Hobbs
c5337cf6a2
include output when overriding nginx template
2015-05-11 12:00:44 -07:00
Michael Hobbs
b836c1f65a
use regex when filtering nonssl vhosts. process custom templates in the same manner as default templates. closes #1169
2015-05-06 16:49:37 -07:00
Jose Diaz-Gonzalez
713a8d4f31
Merge pull request #1146 from progrium/1142_mh-domains-no-redeploy
...
don't re-deploy on domains:add. allow multple domains on command line. closes #1142
2015-04-27 22:11:01 -04:00
Michael Hobbs
dce031d38d
don't re-deploy on domains:add. allow multple domains on command line. closes #1142
2015-04-24 15:41:32 -07:00
Andreas Litt
5968e81b17
exec git-receive-pack with correct path
2015-04-23 15:17:25 +02:00
Andreas Litt
3aa5231f7e
remove leading '/' from APP-Name.
2015-04-23 15:04:42 +02:00
Michael Hobbs
661b6706de
fix verify_app_name to bomb on null app. use it in nginx:build-config
2015-04-21 10:58:11 -07:00
Jose Diaz-Gonzalez
b299f66c28
Validate nginx configuration before reloading nginx. Closes #999
2015-04-21 02:07:27 -04:00
Jose Diaz-Gonzalez
b5495ed0c3
use helper functions instead of echo command
2015-04-21 01:14:10 -04:00
Jose Diaz-Gonzalez
d6aa8d59f1
[ci skip] ensure users run dokku-installer as sudo user
2015-04-19 16:55:08 -04:00
Jose Diaz-Gonzalez
d9d3a16e5c
Prompt users to run the web installer via MOTD. Closes #943
2015-04-18 03:56:19 -04:00
Josh Cohen
e33d17b7dd
updated text from @savant
2015-04-18 05:38:23 +00:00
Josh Cohen
30f9ab740d
Logging info suggesting tuned CHECKS
2015-04-17 23:25:43 +00:00
3onyc
bc8750ebe3
Call pre-build-dockerfile before docker build
2015-04-14 20:46:19 +02:00
Jose Diaz-Gonzalez
1a151ddabe
Merge pull request #1056 from joshco/feature/retries
...
Review: Feature/retries
2015-04-13 17:18:00 -04:00
Josh Cohen
b5eef489fd
linting fixes
2015-04-13 20:22:14 +00:00
Josh Cohen
cc565661e3
fix linting issues
...
rename UNCHECKED -> FAILEDCHECKS
2015-04-11 01:10:14 +00:00
Alexei Mikhailov
b388c2ce1e
Sourcing app-specific ENV during check-deploy, which gone missing in 052e3e88c8.
2015-04-09 18:54:08 +03:00
Michael Hobbs
62774b156d
use config:set-norestart in domains plugin. config:get for dockerfile port. closes #1041
2015-04-07 20:49:34 -07:00
Josh Cohen
132c0b1c81
Merge remote-tracking branch 'origin/master' into feature/retries
2015-04-07 18:27:55 +00:00
Josh Cohen
61270967c1
Change "RETRIES" to (MAX) "ATTEMPTS" as this better reflects behavior.
...
ATTEMPTS=0 means don't run the checks. Useful if you want to skip the checks and can be overridden by DOKKU_CHECKS_ATTEMPTS
ATTEMPTS=1 means run only once
2015-04-07 14:51:49 +00:00
Jose Diaz-Gonzalez
705c04504c
Merge pull request #1088 from progrium/1083_mh-dockerfile-noexpose
...
support dockerfiles without expose command. closes #1083
2015-04-03 15:56:58 -04:00
Jose Diaz-Gonzalez
7df1642e4a
Merge pull request #1060 from progrium/nginx-conf-template
...
Add .template suffix to nginx configuration templates. Refs #1054
2015-04-03 15:18:29 -04:00
Jose Diaz-Gonzalez
29023927f5
Merge pull request #1081 from progrium/1063_mh-test-env-sans-newline
...
force testing .env with no newline and actually fix #1025 and #1026 . closes #1063
2015-04-03 15:18:17 -04:00
Michael Hobbs
c2053d5322
support dockerfiles without expose command. closes #1083
2015-04-03 12:13:39 -07:00
Michael Hobbs
ba33c161f5
make docker-options adhere to DOKKU_NOT_IMPLEMENTED_EXIT pattern
2015-04-03 10:51:23 -07:00
Michael Hobbs
1bad26426e
force testing .env with no newline and actually fix #1025 and #1026 . closes #1063
2015-04-01 13:49:55 -07:00
Michael Hobbs
df8f4fb882
initial pass at including docker-options plugin. closes #1062
2015-04-01 12:57:06 -07:00
Jose Diaz-Gonzalez
50f7b4236b
Add .template suffix to nginx configuration templates. Refs #1054
2015-03-26 14:33:27 -04:00
Josh
48f76bcfef
Indentation
...
Indentation for new outer loop
2015-03-24 23:26:31 -04:00
Josh Cohen
3b252d43c6
Add RETRIES feature to checks.
...
The system will loop through checks RETRIES times until they succeed.
if they do not eventually succeed, it will fail the deployment
2015-03-25 03:17:44 +00:00
Michael Hobbs
77257c484f
show logs on deploy success and failure. closes #1044
2015-03-20 12:32:49 -07:00
Michael Hobbs
f9b0f3ad34
use upstart config from docker docs. closes #1015
2015-03-19 16:12:33 -07:00
Michael Hobbs
c83fbad205
xip.io style vhosts with tests. closes #1005
2015-03-19 11:23:00 -07:00
Alex Vidal
3b1e0ceb51
Support xip.io wildcard DNS as a VHOST
...
http://xip.io
xip.io is a service by Basecamp that provides a wildcard DNS service on the public internet. Any <ip address>.xip.io will return a DNS response for the IP address, same with <subdomain>.<ip address>.xip.io.
The domains plugin in dokku uses a regex to match IP4 and IP6 addresses in the VHOST file, and disables VHOST support if found. This PR changes those patterns to require that the VHOST entry **ends with** the IP address.
This is a gist where my VHOST setting is "127.0.0.1.xip.io" that demonstrates the original output, linked directly to the line from `plugins/domains/commands`: https://gist.github.com/anonymous/c529177f20b36beda80d#file-debug-log-L1373
2015-03-19 11:23:00 -07:00
Michael Hobbs
767b45ae56
use config:set-norestart
2015-03-19 08:09:11 -07:00
Michael Hobbs
1a7586cd03
don't use config:set
2015-03-19 07:54:45 -07:00
Michael Hobbs
2834ce1f1a
extract first port from Dockerfile and set config variable for use in deploy phase. closes #993
2015-03-19 07:54:45 -07:00
Jose Diaz-Gonzalez
fafa33e40d
Merge pull request #1036 from progrium/908_mh-configset-norestart
...
create config set/unset without restart. closes #908
2015-03-19 10:52:31 -04:00
Michael Hobbs
72c829e29b
default container check. closes #1020
2015-03-17 12:17:33 -07:00
Michael Hobbs
6cb770bf1c
create config set/unset without restart. closes #908
2015-03-17 09:49:19 -07:00
Michael Hobbs
ee039fe4f1
lintball. disable SC1001
2015-03-16 12:43:34 -07:00
Assaf Arkin
052e3e88c8
ADDED several enhancements for CHECKS file:
...
- Specify how long to wait before running first check
- Specify timeout for each check
- Check specific hosts, e.g. http://signin.example.com
- Check both HTTP and HTTPS resources
2015-03-14 10:13:36 -07:00
Jose Diaz-Gonzalez
110d8a4863
Merge pull request #1026 from progrium/1025_mh-newlines-and-such
...
ensure we have newlines around our config. closes #1025
2015-03-11 04:24:01 -04:00
Michael Hobbs
88cd81e390
ensure we have newlines around our config. closes #1025
2015-03-09 19:32:05 -07:00
Michael Hobbs
42ee978549
Merge pull request #1013 from lmars/fix-urls
...
Fix URL schemes in `dokku urls` output
2015-03-09 12:05:25 -07:00
Michael Hobbs
b468c2e09e
Merge pull request #1008 from lmars/fix-nginx-multiple-ssl-vhosts
...
Support multiple domains using a wildcard TLS certificate
2015-03-09 12:05:20 -07:00
Lewis Marshall
9202f110ab
Fix wildcard TLS domain detection
...
As per RFC 2818 [0], a CN of *.dokku.me will only match direct
subdomains of dokku.me, not sub-subdomains like www.test.dokku.me, but
Dokku currently enables TLS for subdomains of all levels.
I have changed the regex from .*\.dokku\.me to [^.]*\.dokku\.me so TLS
is only enabled for direct subdomains.
[0] - http://tools.ietf.org/html/rfc2818#section-3.1
Signed-off-by: Lewis Marshall <lewis@lmars.net >
2015-03-08 21:32:31 +00:00
Lewis Marshall
3a7e1bfa16
Fix URL schemes in dokku urls output
...
Previously, the presence of TLS certificates would cause `dokku urls` to
output all https URLs, even for domains which were not configured to use
TLS.
This change introduces a URLS file in the app's directory which contains
the URLs with schemes based on whether they have been configured to use
TLS in the nginx config.
Signed-off-by: Lewis Marshall <lewis@lmars.net >
2015-03-01 01:29:38 +00:00