Jose Diaz-Gonzalez
2d9f0f939c
tests: update tests to handle new functionality
...
Also fix a few issues in the tests themselves
2020-02-09 01:22:14 -05:00
Jose Diaz-Gonzalez
231078125a
fix: ensure we cleanup networks in tests
2020-02-08 23:39:36 -05:00
Jose Diaz-Gonzalez
e282c2dd7e
tests: add tests for new networking features
2020-02-08 22:16:03 -05:00
Jose Diaz-Gonzalez
b5f2d82f49
fix: setup tls for hsts test
2020-02-06 12:46:55 -05:00
Jose Diaz-Gonzalez
73e7ff7b18
feat: Enable HSTS by default
...
This enables the HSTS header by default when an SSL certificate is in use. HSTS options can also be managed via the nginx:set command, which also exposes the ability to disable HSTS for your application.
2020-02-06 11:08:13 -05:00
lalyos
bb176e4130
feat: add global fallback for DOKKU_PROXY_PORT and DOKKU_PROXY_SSL_PORT
2020-02-03 13:22:09 -05:00
Jose Diaz-Gonzalez
414ea55ca8
tests: use 'ps auxf'
2020-02-03 12:10:39 -05:00
Tan Jay Jun
26e3232f2c
tests: check orphaned processes are reaped
2020-02-03 05:31:44 -05:00
Jose Diaz-Gonzalez
fc8a8d6138
feat: implement docker-options:clear
...
Closes #3776
2020-02-01 17:06:27 -08:00
Jose Diaz-Gonzalez
566cd25336
Merge pull request #3819 from dokku/3805-bind-address
...
Allow binding nginx to specific IPv4/IPv6 interfaces
2020-01-15 19:01:26 -05:00
Jose Diaz-Gonzalez
8958ea0f2d
feat: add support for host-mode networking
...
In host-mode, there is no 'bridge' network by default, so we return an invalid IP address of 'no value'. Instead, return '127.0.0.1' for those containers.
2020-01-15 18:08:08 -05:00
Jose Diaz-Gonzalez
6b431378a1
feat: add ability to set the ipv4/ipv6 bind address for an app
...
This allows users to handle mulitple interfaces separately or even ensure applications remain accessible only on a local network.
Closes #3805
2019-12-21 18:54:54 -05:00
Michael Hobbs
c4d69b662f
add is_image_herokuish_based tests
2019-11-19 15:09:54 -07:00
Jose Diaz-Gonzalez
360c587086
feat: add scheduler-post-run trigger
...
After a `dokku run` container is created and started, this plugin trigger will allow developers to run auxiliary commands in response to that container.
2019-10-14 04:55:07 -04:00
Jose Diaz-Gonzalez
844b86840a
Merge branch 'upcoming' of github.com:dokku/dokku into upcoming
2019-10-07 18:55:29 -05:00
Jody McIntyre
592b10122d
Add test of DOKKU_SCALE update
2019-10-04 14:36:54 -04:00
Rob Hudson
9ed22eafea
Add dokku cleanup to help output
...
Fixes #3698
2019-09-27 12:50:16 -07:00
Jose Diaz-Gonzalez
798725bb54
feat: allow passing labels to one-off dokku containers
...
This feature is allows users to add extra label metadata to one-off containers. As this can interfere with Dokku internals if they shadow labels used by plugins, care should be taken to avoid the `com.dokku` or `org.label-schema` namespace.
Also proper name run containers so they don't get random names from docker...
2019-09-16 23:10:14 -04:00
fzerorubigd
c4838b4af9
add test for grpc on a port other than 80
...
fix docs a bout supporting only HTTP
remove extra spaces
2019-08-24 10:58:34 +02:00
Forud
3457844687
nginx-vhost: add test for grpcs
2019-08-23 14:30:36 +02:00
fzerorubigd
346e8284c8
nginx-vhost: adding some test for the grpc
2019-08-23 10:00:12 +02:00
Jose Diaz-Gonzalez
5f4f12c27f
fix: add run as prefix to deploy_app
2019-08-01 20:54:56 -04:00
Jose Diaz-Gonzalez
5000c32efe
fix: add test for warning on pushing to wrong branch
...
Closes #3592
2019-08-01 20:54:38 -04:00
Jose Diaz-Gonzalez
6836e56b24
refactor: add global docker build and run args
...
This reduces duplication and allows users to rely on global arguments to generate most labels needed.
The 'commit' command cannot have global arguments because the whitespace within the label change breaks string-based interpolation, and shell arrays cannot be exported.
2019-07-20 05:52:20 -04:00
Jose Diaz-Gonzalez
5a52286309
fix: ensure the dokku-retire timer is properly installed
...
Closes #3615
2019-07-17 20:48:57 -04:00
Jose Diaz-Gonzalez
e8d6e879c8
Merge pull request #3614 from alexquick/fix-3606
...
[config] validate args for config:set and config:unset
2019-07-17 17:19:00 -04:00
Alex Quick
2cab7f24ed
[config] validate args for config:set and config:unset
...
Fixes dokku/dokku#3606
2019-07-14 12:16:56 -04:00
Nicholas Ghobrial
af9a43b4f5
Merge branch 'master' into master
2019-07-13 01:50:19 -04:00
Nicholas Ghobrial
dfda7d63f4
Escape $
2019-07-13 01:25:55 -04:00
Nicholas Ghobrial
05bdda036f
Remove all uses of
...
proxy_set_header Connection "upgrade"
2019-07-13 01:18:29 -04:00
Jose Diaz-Gonzalez
39f3f598a5
feat: add extra newline for good luck
2019-07-05 15:39:35 -04:00
Jose Diaz-Gonzalez
699719b600
fix: handle case where there are empty newlines in the authorized_keys file
...
Previously, an empty line would result in a failing ssh-keys:list call, or a failure to verify the file. Newlines should be ignored.
2019-07-05 10:00:52 -04:00
Jose Diaz-Gonzalez
2fd53a7a01
fix: allow default trace function to work
...
Also add some simple tests for the trace plugin.
2019-06-21 10:24:33 -04:00
Tom Parker-Shemilt
024fd958e8
Add no-newline SSH key test
2019-06-12 22:30:26 +01:00
Jose Diaz-Gonzalez
79d4f4578d
fix: use correct method for executing dokku within tests
2019-05-29 00:46:56 -04:00
Jose Diaz-Gonzalez
785d9b4937
feat: allow setting DOCKER_BIN path for docker execution
...
This change allows operators to specify a DOCKER_BIN environment variable. This will specify a binary to run when executing docker, which is useful in cases where the 'docker' command being run must be modified in a way that would otherwise be invasive to Dokku, but minimalistic if done within a wrapper.
2019-05-29 00:46:19 -04:00
Jose Diaz-Gonzalez
919ba7ed93
fix: correct issue with clearing global domains
...
Also update tests
2019-05-23 06:18:22 -04:00
Jose Diaz-Gonzalez
b921aed073
feat: allow users to specify wildcard domains
...
Closes #3075
2019-05-20 21:03:55 -07:00
Jose Diaz-Gonzalez
980ffab600
fix: properly split strings in sanitized ps:inspect
...
Closes #3551
2019-05-20 12:58:41 -07:00
Jose Diaz-Gonzalez
b2a0b69ed5
Merge branch 'master' into feature-run-env
2019-05-19 23:20:34 -07:00
Jose Diaz-Gonzalez
2315a127ea
Merge pull request #3540 from dokku/3529-better-default-vhost
...
Do not append the global domain for matching subdomains
2019-05-19 23:00:17 -07:00
Jose Diaz-Gonzalez
9e2a129854
Merge pull request #3561 from dokku/3544-ps-can-scale
...
feat: disable scaling if app contains DOKKU_SCALE file
2019-05-19 22:59:08 -07:00
Jose Diaz-Gonzalez
4264380e15
feat: disable scaling if app contains DOKKU_SCALE file
...
A DOKKU_SCALE file will always be used for managing the scale count for an app if it exists in a repository. As such, ps:scale usage should be disabled in those cases. This commit makes that more apparent.
Also document how to build a specific core plugin for testing purposes.
Closes #3544
2019-05-18 15:24:59 -07:00
Jose Diaz-Gonzalez
7dd9007607
fix: cpu limiting isn't available on CircleCI
2019-05-17 12:46:23 -04:00
Jose Diaz-Gonzalez
e71ad53b0e
tests: check the cpu setting
...
Switch to 0.5 as its safer to run tests on a single-core VM
2019-05-17 12:03:35 -04:00
Jose Diaz-Gonzalez
ceac86b58f
fix: correct issue where resource setting was overriding pre-existing values
2019-05-17 11:58:53 -04:00
Jose Diaz-Gonzalez
b429af8ff2
feat: do not append the global domain for matching subdomains
...
If the subdomain is url-like, assume it is a valid url and use it for the default domain name. This allows users to specify the default domain for an app even if that is a subdomain of a global vhost.
Closes #3529
2019-05-13 12:07:52 -04:00
Jose Diaz-Gonzalez
287f383f6c
feat: add ability to clear global domains
2019-05-13 12:00:26 -04:00
Alex Quick
dad5db4e9b
[feature] add --env to dokku run
...
`dokku run [ --env KEY=VALUE | -e KEY=VALUE ] app command`
__note__ this changes the scheduler-run trigger to expect the following arguments:
scheduler_name, app_name, env_count, env_0, ..., env_n, app_arg_0, ..., app_arg_n
resolves : dokku/dokku#3291
2019-04-28 14:42:07 -04:00
Mayeu
252092c73a
feat: support the file:// scheme to install plugin
2019-04-23 15:23:35 +07:00