Jose Diaz-Gonzalez
eada23d3f6
feat: build on systemd
2019-07-17 20:48:57 -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
Jose Diaz-Gonzalez
d4d69e5224
Merge pull request #3610 from jayjun/bats
...
Correct Bats path in single tests
2019-07-14 23:13:01 -07: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
Tan Jay Jun
9a43b41208
fix: correct bats path in single tests
2019-07-09 17:20:48 +08: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
eb8347bcc1
fix: ignore SC2064
...
Late expansion was causing issues with variables not actually making it into the trap call, resulting in poor cleaning up temp files.
2019-05-21 11:02:24 -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
Jose Diaz-Gonzalez
04c9fe974e
feat: add json output to config:export
...
This change adds json output as both key/value as well as a list of objects. The former can be used in quick scripting environments, while the latter allows higher-level languages to have a bit more structure around how environment variables are declared. Specifically, systems such as kubernetes understand the latter method, while the former can be used within Nomad job files.
2019-04-21 18:39:06 -04:00
Jose Diaz-Gonzalez
322dd2246f
fix: ensure the .buildpacks file exists before writing to it
2019-04-17 02:04:06 -04:00
Jose Diaz-Gonzalez
13e3950f4a
Merge pull request #3498 from dokku/global-domains-report
...
Add ability to report domains globally
2019-04-17 01:32:45 -04:00
Jose Diaz-Gonzalez
d03d5bc40c
Merge pull request #3500 from dokku/3428-ps-scale-0
...
Always allow ps:scale proc=0
2019-04-17 01:32:26 -04:00
Jose Diaz-Gonzalez
97fe3f56b7
fix: Always allow ps:scale proc=0
...
With the introduciton of procfile-util, scaling a non-existent process to 0 was disabled. This brings back that functionality, allowing users to scale all processes to 0. This is especially useful when a user has accidentally scaled a non-existent process up, causing deploys to fail without any way to revert outside of manually editing files.
Closes #3428
2019-04-16 23:04:45 -04:00
Jose Diaz-Gonzalez
887c0ebdd6
feat: add ability to report domains globally
...
The `domains` command previously had this functionality, but is deprecated, and thus we should provide an alternative method of presenting the information.
2019-04-16 21:58:56 -04:00
Jose Diaz-Gonzalez
65e82bcea1
fix: allow reporting domains when there are none specified
...
This previously bailed if the response was empty, which in this case is incorrect, as the response isn't based on whether the app is deployed or not.
2019-04-16 21:24:56 -04:00
Jose Diaz-Gonzalez
97649e86dd
fix: update ruby version
2019-04-09 07:27:30 -04:00
Jose Diaz-Gonzalez
ecd88fbeeb
fix: correctly name the testcase
2019-04-09 03:18:28 -04:00
Jose Diaz-Gonzalez
929c98ee90
fix: ensure 'dokku report' always succeeds for any app
2019-04-09 02:41:02 -04:00
Jose Diaz-Gonzalez
b24697443a
fix: correct the name
2019-04-08 15:18:46 -04:00
Jose Diaz-Gonzalez
c41753c747
fix: clearing resources for web doesn't actually clear for everything
2019-04-08 14:17:16 -04:00
Jose Diaz-Gonzalez
4a6d3c25a4
fix: do not crash when clearing properties
2019-04-08 13:56:06 -04:00
Jose Diaz-Gonzalez
243d5ecc43
feat: integrate resource plugin with scheduler-docker-local
2019-04-08 11:31:34 -04:00
Jose Diaz-Gonzalez
7cb0d11b95
chore: drop plugn package building
...
The dokku/plugn project now builds and releases it's own packages on release creation.
Also upgrade to latest plugn version, 0.3.2
2019-03-16 03:16:28 -04:00
Jose Diaz-Gonzalez
7d2f5b84c8
fix: add missing head -n1 call to second build-env test
...
Otherwise `docker inspect` outputs a "condensed" json output that doesn't parse as well...
2019-03-14 13:44:54 -04:00
Jose Diaz-Gonzalez
8dcbfe5542
fix: correct case where there could be multiple build containers post-build
...
This happens when we execute several post-release scripts.
2019-03-14 13:12:07 -04:00
Jose Diaz-Gonzalez
297a26aa20
feat: implement version flags
...
This moves the version command to the dokku binary, and also implements both -v and --version flags on the binary.
2019-03-11 21:50:05 -04:00
Jose Diaz-Gonzalez
d3d426a8d9
tests: add functional tests for buildpacks plugin
2019-03-05 21:41:23 -05:00
Jose Diaz-Gonzalez
d439518f13
fix: Remove https port mappings from new app during clone
...
Closes #3446
2019-02-15 03:15:14 -05:00