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
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
Pascal Widdershoven
6548cc4477
Update test to not depend on passing named arguments via Herokuish
...
There may be a bug in Herokuish that messes up with quoted named
arguments, see discussion in
https://github.com/dokku/dokku/pull/2018
2016-03-24 07:34:43 +01:00
Pascal Widdershoven
e64daa18cf
First stab at dokku run Procfile shorthand
2016-03-23 21:36:50 +01:00
Michael Hobbs
1b78f5c882
actually test docker-options are ending up in container config
2016-03-21 09:26:27 -07:00
Jose Diaz-Gonzalez
7704175f0d
Merge pull request #1981 from dokku/1220_mh-cleanup-dokku-label-containers
...
only remove containers with dokku label
2016-03-12 02:56:00 -05:00
Michael Hobbs
f810b5cd06
only remove containers with dokku label. closes #1220
2016-03-09 17:29:26 -05:00
Michael Hobbs
a91165d3e6
set DOKKU_APP_TYPE to IMAGE_SOURCE_TYPE value use in test case
2016-03-09 16:35:48 -05:00
Michael Hobbs
d8e00f4f8a
balance tests
2016-03-04 20:59:27 -08:00
Michael Hobbs
3bffba945a
show timing for each bats file and overall test run
2016-03-04 20:59:17 -08:00
Michael Hobbs
4204d210c1
port --app syntax to dokku_client. closes #1638
2016-03-04 12:38:23 -08:00
Michael Hobbs
62731aa434
support parallel tests on same host
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
Justin Clark
84df69b387
Add core storage plugin to manage docker bind mounts [ci skip]
2016-03-02 16:09:50 -08:00
Paul McLanahan
1b6973665a
(client) Add dokku git remote when specifying app name
...
Previously the client would only add the git remote
for you if it was generating a random name for you.
2016-02-24 12:17:23 -05:00
Michael Hobbs
d1b87bd7b7
cleanup shellcheck SC2086
2016-02-23 07:50:06 -08:00
Michael Hobbs
9b8f002aa8
remove unnecessary nginx test
2016-02-22 11:18:57 -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
Michael Hobbs
fae4d8b8bf
fix dokku run --rm regression. add test. fixes #1906
2016-02-11 07:20:26 -08:00
Michael Hobbs
33c6e56030
support bash 4.2 so we don't have to modify all plugin test envs
2016-01-17 18:29:49 -08:00
Michael Hobbs
be9ab06116
install bash 4.3.x on circleci
2016-01-12 18:58:43 -08:00