Michael Hobbs
a9358eaed7
hide stderr when using find
2016-08-26 13:46:05 -07:00
Mirko Geissler
36ee71cb0a
Put hyphen at the end of group expression
2016-08-12 09:43:15 +02:00
Mirko Geissler
6f9662af50
Allow multiple hyphens in domain names
2016-08-11 13:08:20 +02:00
Mirko Geissler
83a8cd2f53
Allow hyphen in last host path part
2016-08-09 10:50:35 +02:00
Jose Diaz-Gonzalez
12360639bb
Merge pull request #2273 from dokku/2218-checks-run-command
...
Add the ability to manually execute checks against an application
2016-07-30 15:13:47 -04:00
Jose Diaz-Gonzalez
1d08888234
Merge pull request #2283 from xadh00m/multiple_global_domains
...
Multiple global domains
2016-07-30 15:12:29 -04:00
Jose Diaz-Gonzalez
cb9c5b6988
Merge pull request #2317 from dokku/jg-cert-remap-http-to-https
...
Properly remap http port 80 mappings to https 443 when adding an ssl certificate
2016-07-30 15:09:53 -04:00
Jose Diaz-Gonzalez
115b939071
Cleanup deploying image name retrieval
...
Rather than try to shim in the logic from the existing get_app_image_name method, simply duplicate it to make the method name more readable
2016-07-29 04:51:36 -04:00
Jose Diaz-Gonzalez
0d4560177a
Properly remap http port 80 mappings to https 443 when adding an ssl certificate
...
Rather than removing all port mappings, we simply remap port 80 mappings to 443. The previous behavior would remove custom port mappings for all applications and reset them on any certificate change, preventing automation from plugins such as letsencrypt. While this behavior doesn't matter for buildpack deploys - which only expose a single port on container port 5000 - Dockerfile deploys would frequently be affected by such a change, requiring a remapping of all custom ports.
This commit also standardizes on the method used to source the proxy functions
2016-07-23 16:04:13 -04:00
Jose Diaz-Gonzalez
002e3b457d
Add the ability to manually execute checks against an application
...
Checks can be run in several ways:
- checks:run APP
- checks:run APP PROCESS_TYPE
- checks:run APP PROCESS_TYPE.CONTAINER_INDEX
This will reuse the existing checks infrastructure as defined by the checks plugin, and therefore if no checks file is defined, it will default to the normal Dokku container check.
Closes #2218
2016-07-17 15:05:16 -07:00
Justin Clark
d743a27de8
Fix is_valid_hostname regex
2016-07-08 13:05:14 -07:00
Mirko Geissler
9b28d80e95
Break when first hostname has been found
2016-07-05 09:49:26 +02:00
Mirko Geissler
fc452e90d4
Fix is_global_vhost_enabled() for multiple vhosts
2016-07-05 09:49:26 +02:00
Mirko Geissler
371949f4ec
Create default app domain for every global domain
2016-07-05 09:45:17 +02:00
Jose Diaz-Gonzalez
3dccf814e8
Add deployed-app-image-repo plugin hook
...
This hook will allow users to modify the repo in use for deployed applications. An example use case would be one where the image being deployed is from a remote docker registry where the `dokku` username is taken and the app will be deployed from a separate username.
2016-07-05 02:34:13 -04:00
Michael Hobbs
ae972cf3cd
only attempt to stop a checks-disabled container if it is actually running. closes #2278
2016-06-28 20:32:04 -07:00
Michael Hobbs
98ef078d33
support domains that start with digits per RFC1123. closes #2257
2016-06-20 15:01:48 -07:00
Michael Hobbs
ce3aa4b93e
remove calls to dokku binary for build/receive/release
2016-06-17 16:40:35 -07:00
Michael Hobbs
fcefd4a29b
use central deploy lock in git plugin
2016-06-17 16:16:20 -07:00
Michael Hobbs
4f8c1b64c9
implement central deploy lock and use in tar plugin
2016-06-17 15:58:31 -07:00
Michael Hobbs
6c1d6225f9
initial pass at implementing DOKKU_PROXY_PORT_MAP. closes #2239 .
2016-06-16 16:04:44 -07:00
Michael Hobbs
5e9df3a92d
Merge pull request #2168 from dokku/2073_mh-zero-downtime
...
allow zero-downtime to be completely disabled.
2016-06-16 12:46:30 -07:00
Michael Hobbs
5c741696fc
Merge pull request #2109 from dokku/modify-deployed-image
...
Allow user to modify the repository and tag when deploying an app
2016-06-16 12:43:11 -07:00
Michael Hobbs
1e5a8b146c
Merge pull request #2237 from dokku/2231_mh-reject-invalid-domains
...
reject invalid domains in domains:add
2016-06-10 13:56:39 -07:00
Michael Hobbs
9a29cc59a8
reject invalid domains in domains:add. closes #2231
2016-06-10 13:10:11 -07:00
Michael Hobbs
6c08b9b343
no need to show output from is_image_herokuish_based(). closes #2235
2016-06-10 12:31:25 -07:00
Michael Hobbs
1e0c585b74
allow zero-downtime to be completely disabled. closes #2073 . closes #2125
2016-06-09 18:37:31 -07:00
Michael Hobbs
2cedc19b2a
cleanup container state files when proc type is removed from app. closes #2230
2016-06-09 17:03:36 -07:00
Michael Hobbs
7aa48d3426
enter default container type if only a single type is running
2016-05-11 16:40:10 -07:00
Michael Hobbs
b8b4f6fedf
show available types and ids on dokku enter error. closes #2174
2016-05-11 13:12:07 -07:00
Michael Hobbs
d7386317fc
support deployment of arbitrary docker images not built by dokku build. closes #2153
2016-05-06 11:30:22 -07:00
Jose Diaz-Gonzalez
8597b692ee
Add the ability to run containers in detached mode
2016-05-02 00:02:37 -04:00
Jose Diaz-Gonzalez
d7566daacc
Allow user to modify the repository and tag when deploying an app
...
Uses two new plugin triggers:
- deployed-app-repository
- deployed-app-image-tag
Useful when the image is a custom tagged image on a remote repository
2016-04-16 08:35:18 -04:00
Michael Hobbs
6caed369d7
set pipefail on pre/post deploy tasks. fix pre/post deploy support for dockerfile apps. closes #2062
2016-04-01 14:06:35 -07:00
Michael Hobbs
7e1516bdf5
strip inline comments from CHECKS and Procfile. closes #2044
2016-03-29 16:22:00 -07:00
Michael Hobbs
f810b5cd06
only remove containers with dokku label. closes #1220
2016-03-09 17:29:26 -05:00
Michael Hobbs
987c5cfb9c
use declare for description variable
2016-03-08 15:30:34 -05:00
Michael Hobbs
3aa8bbd629
move standard commands into subcommands
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
Jose Diaz-Gonzalez
76e27f0333
Add support for --app flag. Refs #1638
...
This change sets a DOKKU_APP_NAME env var, which can be used by plugins as a replacement for the `app` param if specified. Note that each plugin will have to manually shift it's arguments if necessary
2016-03-03 22:11:35 -08:00
Michael Hobbs
d1b87bd7b7
cleanup shellcheck SC2086
2016-02-23 07:50:06 -08:00
Michael Hobbs
676e8782ed
fix get_running_image_tag() with docker 1.10.x
2016-02-22 10:21:20 -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
Paul McLanahan
6a01abb905
Fix #1564 : Use Procfile for process types in Dockerfile apps
...
* Document new Procfile feature
* Add and update tests
* Fix a typo in generate_scale_file (ref #1923 )
2016-02-18 21:22:26 -05:00
Kazuhiro NISHIYAMA
d3a6e39b4e
Fix a typo
2016-01-14 23:30:10 +09:00
Michael Hobbs
17e7869150
label all dokku containers
2016-01-05 11:55:07 -08:00
Jose Diaz-Gonzalez
40047f0f8b
Add support for symlinked directory paths and sort the output
2016-01-02 02:31:06 -05:00
Michael Hobbs
803ef7d9f3
ensure app name begins with lowercase. closes #1774
2015-12-22 12:02:18 -08:00