Jose Diaz-Gonzalez
dbf0de9e65
Merge pull request #2500 from dokku/2479-jg-suppress-output-on-submodule-success
...
Suppress output unless the `git submodule update` call fails
2017-01-14 14:13:48 -07:00
Jose Diaz-Gonzalez
8497bd6d70
chore: remove extra newline
...
[ci skip]
2017-01-14 14:08:22 -07:00
Jose Diaz-Gonzalez
ab93fefd5b
Merge pull request #2508 from OmarShehata/master
...
Add default functions for all commands
2017-01-13 22:37:29 -07:00
Jose Diaz-Gonzalez
e726bb1df8
Merge pull request #2519 from tkalus/tk-2474-dup_nginx_server_name
...
Fix for #2474
2017-01-13 22:34:17 -07:00
Jose Diaz-Gonzalez
a8abd40abe
Merge pull request #2555 from dokku/2463-enhanced-restore
...
Skip failing applications when running ps:restore on boot
2017-01-13 17:30:01 -07:00
Jose Diaz-Gonzalez
06fa58ff47
chore: remove extra space
...
[ci skip]
2017-01-13 17:29:51 -07:00
Jose Diaz-Gonzalez
0de746da4e
fix shellcheck issues
2017-01-13 16:20:13 -07:00
Jose Diaz-Gonzalez
13ef76127d
Suppress output unless the git submodule update call fails
...
This will give a bit more warning to developers as to what might be going on, allowing them to respond appropriately.
Closes #2479
2017-01-08 22:04:14 -07:00
Jose Diaz-Gonzalez
815c612261
feat: add support for using parallel to restore apps
...
By using parallel, we take advantage of the fact that a server may have multiple cores, thus enabling restores to complete faster.
Refs #2463
2017-01-08 20:49:14 -07:00
Jose Diaz-Gonzalez
831fdeb030
fix: allow ps_start to fail during a ps:restore
...
Instead of blocking the start of each app based on whether the previous app started, we simply log and continue.
Closes #2463
2017-01-08 20:17:23 -07:00
Jose Diaz-Gonzalez
bcfa60ae98
feat: save the ssl certificate to the APP_SSL_PATH
...
This allows later retrieval of the csr in cases where the developer forgot to save it locally.
2017-01-08 19:36:17 -07:00
Jose Diaz-Gonzalez
82c11a2b2c
fix: call post-certs-update on the application before updating domains
...
This ensures that we set the proper ssl ports.
Closes #2480
Closes #2528
2017-01-08 19:35:49 -07:00
Jose Diaz-Gonzalez
a967990be7
chore: remove unnecessary cd in certs:add
...
This was used before we started using `plugn` for triggering subshell calls to dokku.
2017-01-08 19:35:04 -07:00
Jose Diaz-Gonzalez
87573b81bb
Release 0.8.0
2017-01-08 17:22:30 -07:00
Jose Diaz-Gonzalez
1f91b33f46
Merge pull request #2518 from dokku/josegonzalez-patch-1
...
Use same check for dockerfile apps during a tar build
2016-12-23 02:25:28 -07:00
Michael Hobbs
c9a1a94cc1
actually fail deploy when app.json script fails
2016-12-09 15:10:07 -08:00
Turtle Kalus
eae3d463df
Fix for dokku/dokku#2474
...
`SSL_SERVER_NAME` should contain items found in the ssl certs
(E.G. CommonName and AltNames), but not already in the `NOSSL_SERVER_NAME`
list. That will avoid the dups in the `nginx.conf` and kill the warning
initially cited in dokku/dokku#2474
2016-12-07 23:43:30 +00:00
Jose Diaz-Gonzalez
da44c240d7
Use same check for dockerfile apps during a tar build
2016-12-04 15:20:09 -07:00
Omar Shehata
58d774a316
Added default for storage plugin to list
2016-12-03 19:38:48 +00:00
Omar Shehata
f2a4f61920
Added ssh-keys plugin default to list
2016-12-03 19:36:11 +00:00
Omar Shehata
1f47803324
Added certs plugin default to info
2016-12-03 19:27:49 +00:00
Omar Shehata
0062227c57
Revert "Added certs default help function"
...
This reverts commit d001fcc896 .
2016-12-03 19:08:25 +00:00
Omar Shehata
010c89e810
Revert "Added ssh-keys default help function"
...
This reverts commit 74db5b9d3b .
2016-12-03 19:08:02 +00:00
Omar Shehata
0fed122a99
Revert "Added storage default help function"
...
This reverts commit 4294793452 .
2016-12-03 19:07:34 +00:00
Jose Diaz-Gonzalez
f7479250c3
Merge pull request #2510 from IlyaSemenov/domains_set
...
Add domains:set and domains:set-global commands
2016-11-28 18:18:51 -07:00
Jose Diaz-Gonzalez
0f448748e8
Merge pull request #2495 from dokku/jg-2469-create-authorized-keys
...
Create the user's `authorized_keys` file if it does not exist
2016-11-28 13:53:49 -07:00
Jose Diaz-Gonzalez
d5a013a973
Merge pull request #2496 from dokku/jg-2435-nginx-http2-detection
...
Detect nginx versions that support HTTP/2 well
2016-11-28 13:12:49 -07:00
Ilya Semenov
6a9b3f6df2
Add domains:set and domains:set-global commands
2016-11-28 22:44:06 +07:00
Omar Shehata
4294793452
Added storage default help function
2016-11-28 03:06:30 +00:00
Omar Shehata
810ba72879
Added nginx default help function
2016-11-28 03:03:30 +00:00
Omar Shehata
74db5b9d3b
Added ssh-keys default help function
2016-11-28 02:59:32 +00:00
Omar Shehata
d001fcc896
Added certs default help function
2016-11-28 02:53:46 +00:00
Jose Diaz-Gonzalez
7cfbdf34ec
Merge pull request #2485 from znz/fix-domains-add-global
...
Fix bug when VHOST without newline
2016-11-21 22:10:10 -07:00
Jose Diaz-Gonzalez
334eabafb5
Merge pull request #2489 from stackforgehq/feature/plugin-uninstall-trigger
...
add plugin uninstall trigger
2016-11-21 22:09:36 -07:00
Jose Diaz-Gonzalez
50b1c9d5c6
Detect nginx versions that support HTTP/2 well
...
Certain versions of nginx have bugs that prevent HTTP/2 from properly responding to all clients, thus causing applications to be unavailable.
Closes #2435
2016-11-21 19:33:50 -07:00
Jose Diaz-Gonzalez
4e25639de4
Create the user's authorized_keys file if it does not exist
...
Closes #2469
2016-11-21 19:08:33 -07:00
Jose Diaz-Gonzalez
970647b4ae
Merge pull request #2378 from knjcode/skip_finish_process_when_checks_disabled
...
Skip container finish processing when zero downtime is disabled
2016-11-20 16:46:14 -07:00
Jose Diaz-Gonzalez
7ac47d2e61
Fix iteration on all apps for dokku proxy command
...
Closes #2481
2016-11-20 15:15:40 -07:00
Josh Manders
d4475e582d
pass plugin to uninstall
2016-11-17 16:06:57 -06:00
Josh Manders
c4c7886037
add plugin uninstall trigger
2016-11-17 12:55:08 -06:00
Kazuhiro NISHIYAMA
ccc44b0c16
Fix bug when VHOST without newline
2016-11-14 22:21:41 +09:00
Jose Diaz-Gonzalez
d7c8e47e78
Merge pull request #2464 from sseemayer/master
...
Remove duplicate SSL hostnames
2016-11-08 10:53:35 -07:00
Edgars Beigarts
14833e22cb
Fix dokku-redeploy systemd script to start only after docker
...
According to https://docs.docker.com/engine/admin/host_integration/#/systemd
it should use After=docker.service and it works at least on CentOS 7.
2016-10-31 09:49:49 +02:00
Jose Diaz-Gonzalez
9c5783215f
Merge pull request #2406 from dokku/2252-trigger-post-create
...
Use apps_create method when renaming an application. Closes #2252
2016-10-29 21:16:55 -06:00
Jose Diaz-Gonzalez
180582df2e
Merge pull request #2407 from dokku/2367-core-post-deploy
...
Move core post-deploy triggers to core-post-deploy
2016-10-29 21:16:45 -06:00
Jose Diaz-Gonzalez
2d70a10a14
Merge pull request #2465 from polettix/2446-add-ssh-keys
...
Patch GH #2446 "Adding a file with two ssh-key..."
2016-10-29 21:16:02 -06:00
Jose Diaz-Gonzalez
58e2391cdb
Merge pull request #2454 from onbjerg/patch-1
...
Return exit 1 in config:get if no ENV file exists (#2447 )
2016-10-29 21:14:33 -06:00
Jose Diaz-Gonzalez
ab51c3b4b4
Merge pull request #2419 from ebeigarts/centos
...
Support for CentOS 7
2016-10-29 21:14:14 -06:00
Flavio Poletti
a2bacd8096
Patch GH #2446 "Adding a file with two ssh-key..."
...
This is a proposed change for addressing GH #2446 "Adding a file with
two ssh-keys can result in an error" (see
https://github.com/dokku/dokku/issues/2446 ).
The following checks are performed:
- validity of key contents when read from a file
- key contents only contains one single line/key
- authorized_keys file is ultimately valid
The last test is an extension over the previous implementation in that
all lines in the file are checked.
The commit also includes extensions to the relevant test file to
excercise the new checks. It also takes care to save and then restore
the authorized_keys file.
2016-10-16 16:32:16 +02:00
Stefan Seemayer
030405b93d
Remove duplicate SSL hostnames
...
Ref dokku/dokku-letsencrypt#76
Certificates provided by Let's Encrypt can have the domain provided in
the Subject Name field listed again in the Subject Alt Name fields,
leading to the same domain getting listed twice by get_ssl_hostnames()
that in turn leads to a duplicate server_name field in the nginx
configuration.
This patch adds a sort -u to ensure that every SSL hostname will only be
listed once.
2016-10-16 15:58:08 +02:00