Jose Diaz-Gonzalez
e0e9c3f72c
Merge pull request #2360 from xadh00m/fix_domain_validation
...
Allow hyphen in TLD
2016-08-26 14:17:17 -04:00
Michael Hobbs
e23e491967
fail rest of bats file on first test failure
2016-08-25 09:27:06 -07:00
Mirko Geissler
36ee71cb0a
Put hyphen at the end of group expression
2016-08-12 09:43:15 +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
f01afb541d
Merge pull request #2277 from dokku/josegonzalez-patch-1
...
Attempt to support strings with double-quotes
2016-07-30 15:13:39 -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
e61f55671c
Merge pull request #2332 from dokku/jg-2294-apps-rename
...
Properly handle non-deployed applications during apps:rename
2016-07-30 15:11:57 -04:00
Jose Diaz-Gonzalez
53fac6d5dd
Merge pull request #2287 from dokku/u2mejc-ssh-keys
...
Add ssh-keys core plugin
2016-07-30 15:11:01 -04:00
Jose Diaz-Gonzalez
1cbdde748e
Merge pull request #2290 from dokku/1734-restart-policies
...
Implement restart-policy handling
2016-07-30 15:10:37 -04:00
Jose Diaz-Gonzalez
b2fac23d58
Handle cases where directories and files are not-existent
...
New applications will be missing a few different files and directories, which isn't strictly an error case.
2016-07-29 16:32:40 -04:00
Jose Diaz-Gonzalez
be3574136b
Properly handle non-deployed applications during apps:rename
...
An application which has not been deployed will not have an image
available, and therefore attempting to remove an (empty) cache directory
will fail. Rather than checking for the image - which we should
still do, as not having an image for a deployed app is an error state -
we should instead only attempt the docker cache removal if the directory
cannot be removed via rmdir.
Closes #2294
2016-07-29 00:11:53 -04:00
Michael Hobbs
9093827424
fix docker-options tests
2016-07-17 19:26:56 -07:00
Michael Hobbs
9d387fd666
add ps:restart-policy tests
2016-07-17 15:56:55 -07:00
Michael Hobbs
81f444c807
pull node:4 image ahead of time as we use it in many tests
2016-07-17 15:56:37 -07:00
Michael Hobbs
f4f2c1e4db
add checks:run tests
2016-07-17 15:05:16 -07:00
Michael Hobbs
01d65fccdd
fix app.json extraction in dockerfile apps not using /app. closes #2300
2016-07-06 12:03:07 -07:00
Justin Clark
d2854b9e90
Modifying the ssh-keys tests
2016-07-05 17:16:19 -07:00
Justin Clark
283ed52520
Add ssh-keys core plugin
2016-07-05 17:16:19 -07:00
Mirko Geissler
bdc3353a5c
Remove domains:set-global command
2016-07-05 09:49:26 +02:00
Mirko Geissler
43e3c51f3f
Add tests for domain:add-global and domains:remove-global
2016-07-05 09:45:17 +02:00
Michael Hobbs
4bf29f276a
escape double quote via ssh
2016-06-29 11:38:51 -07: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
Jose Diaz-Gonzalez
10e05635a7
Add tests for double quotes
2016-06-28 01:54:10 -04:00
Jose Diaz-Gonzalez
bd7deae883
Add ability to remove a specific port mapping tuple
...
This allows users to specify port 80 after an application has had domain added. Normally, when we first add an extra domain, the following tuple is added:
http:80:5000
A user might then want to remap port 80 to another port, such as port 8080:
dokku proxy:ports-add APP http:80:8080
The application would then have the following proxy map:
http:80:5000 http:80:8080
As nginx vhosts are resolved in FIFO order, the "correct" upstream of 8080 would basically be ignored. The workaround would be to remove the original port mapping, but the following:
dokku proxy:ports-remove APP 80
Would remove *both* entries and then re-add the default of `http:80:5000`. Thus it was not possible to use the porcelain to correct the port mapping and a user would have to fall back to using the following hack to fix their mapping:
dokku config:set APP DOKKU_PROXY_PORT_MAP='http:80:8080'
You can now use the previous syntax *as well as* the following to remove a port mapping:
dokku proxy:ports-remove APP http:80:5000
2016-06-20 23:17:55 -04:00
Michael Hobbs
98ef078d33
support domains that start with digits per RFC1123. closes #2257
2016-06-20 15:01:48 -07:00
Michael Hobbs
aa345fad01
revert automatically binding storage mounts in build phase. closes #2254
2016-06-20 11:39:08 -07:00
Michael Hobbs
39375342e0
add port mapping tests
2016-06-16 16:04:44 -07:00
Michael Hobbs
ab94a9fc67
fix broken tar/urls tests
2016-06-16 16:04:44 -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
8e30722c1e
Merge pull request #2050 from dokku/1570-repo-plugin
...
Implement repo:gc and repo:purge-cache
2016-06-16 12:42:25 -07:00
Michael Hobbs
cd48505922
Merge pull request #2018 from pascalw/feature/dokku-run-from-procfile
...
Support running Procfile commands using `dokku run`
2016-06-16 12:42:01 -07:00
Michael Hobbs
30ae651a59
Merge pull request #2238 from dokku/2207_mh-storage-on-build
...
mount storage mounts on build and filter for dockerfile apps
2016-06-10 15:33:45 -07:00
Michael Hobbs
6bf9ef0aa5
mount storage mounts on build and filter for dockerfile apps. closes #2207
2016-06-10 13:50:53 -07:00
Michael Hobbs
9a29cc59a8
reject invalid domains in domains:add. closes #2231
2016-06-10 13:10:11 -07:00
Michael Hobbs
48965e05bd
add tests for repo commands
2016-06-09 20:05:19 -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
2356dbd594
make buggy docker-options test consistent
2016-05-11 17:53:12 -07:00
Michael Hobbs
25a2801cb1
Merge pull request #2170 from jvanbaarsen/dont-fail-duplicated-domain
...
Dont fail when adding a duplicated domain
2016-05-10 14:06:04 -07:00
Michael Hobbs
7de160b64d
add test for ps:restore with undeployed app. refs #2171
2016-05-10 09:30:55 -07:00
Jeroen van Baarsen
4f621916a7
Dont fail when adding a duplicated domain
...
Currently we exit when trying to add a duplicated domain, even if we give a list
of domain names. This behaviour is not as it suppose to work.
**Expected behaviour**
When adding a domain, and the domain already exists, just skip that domain, and
continue with the world. This is no problem since we are already in the state we
want to be in.
**New behaviour**
When you try to add a domain that is already added, we notify the user of this
by showing a log message: `Skipping: example.com already added to example app`,
and then we continue with the list of domain names.
Fixes #2165
2016-05-10 08:58:15 +02:00
Michael Hobbs
9d584ed145
test detached container is running
2016-05-03 08:22:49 -07:00
Jose Diaz-Gonzalez
1bcd76ffe9
Add detached run tests
2016-05-02 21:11:28 -04:00
Michael Hobbs
be13b0149a
use node base image instead of ubuntu
2016-04-25 18:47:39 -07:00
Michael Hobbs
db94fcb6b4
include non ssl server names in SSL server block. fixes #2086
2016-04-08 13:21:26 -07: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
c739c770f7
remove references to global TLS certs. closes #2057
2016-03-31 07:52:19 -07:00
Michael Hobbs
9ce7470b87
remove deprecated mktemp args and name vars more clearly
2016-03-29 19:46:46 -07:00
Michael Hobbs
7e1516bdf5
strip inline comments from CHECKS and Procfile. closes #2044
2016-03-29 16:22:00 -07:00
Michael Hobbs
8c31c8105e
ensure CHECKS file has trailing newline. closes #2037
2016-03-29 11:10:48 -07:00