Michael Hobbs
dc79152fe0
upgrade to golang 1.9.1
2017-10-10 08:13:59 -07:00
Michael Hobbs
fbf9077075
make test more flexible
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
5e32f9a89d
refactor: go back to the old regex
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
690c32ceb8
fix: use the same method to trigger the client
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
7d73577952
refactor: use grep -E instead of egrep
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
c2ee6e99c6
fix: update unconfigured client test regex
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
acde3d60a7
feat: allow users to bind to all interfaces when a proxy is enabled
...
- use a plugin trigger to see whether we should bind to all interfaces
- create a generic way of setting properties for a plugin
- migrate proxy-enabled to the new network property "bind-all-interfaces"
- add network:set subcommand
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
350efd8d53
chore: remove use of deprecated method
2017-10-02 15:05:13 -07:00
Jose Diaz-Gonzalez
6aa315f815
fix: properly detect empty subcommands
...
Closes #2849
2017-09-01 23:16:10 -04:00
Jose Diaz-Gonzalez
15494d85a9
Merge pull request #2881 from dokku/2807-bad-app-name
...
Verify app name on git push
2017-09-01 11:59:49 -04:00
Michael Hobbs
4db991c891
use circleci 2.0
2017-08-29 13:12:03 -07:00
Jose Diaz-Gonzalez
ab11453fc8
feat: validate app name when running git functions
2017-08-19 19:16:40 -04:00
Cosmin Stroe
0b2bea3fa9
Use upstream port in nginx.conf template
2017-08-04 12:26:35 -05:00
Cosmin Stroe
9156dea8b7
Revert "Fix upstream ports configuration."
...
This reverts commit 1f93169c43 .
2017-08-04 12:20:35 -05:00
Cosmin Stroe
1f93169c43
Fix upstream ports configuration.
2017-08-04 02:21:31 -05:00
Jose Diaz-Gonzalez
7df06fb2f6
fix: ensure tests pass
2017-07-22 15:17:40 -06:00
Domonkos Czinke
0efb690992
Fix URL error and add test
2017-07-22 15:15:54 -06:00
Michael Hobbs
18849c085a
increase CURL_TIMEOUT and CURL_CONNECT_TIMEOUT defaults. fixes #2668
2017-04-10 11:34:09 -07:00
Michael Hobbs
8950571acb
add tests for pre/post deploy tasks
2017-04-03 12:34:41 -07:00
Jose Diaz-Gonzalez
01b30e083f
fix: redirect stderr to /dev/null in tests
2017-03-15 09:29:47 -06:00
Jose Diaz-Gonzalez
0215e3ec91
fix: redirect domains:default stderr to /dev/null in tests
2017-03-15 03:17:31 -06:00
Jose Diaz-Gonzalez
91aa5255ec
fix: ensure we redirect stderr to stdout for test
2017-03-15 02:55:09 -06:00
Jose Diaz-Gonzalez
0d1c8deb57
fix: redirect error output to /dev/null
...
The checks command is deprecated, so the warning was being captured.
2017-03-15 02:44:38 -06:00
Jose Diaz-Gonzalez
6ae948523b
fix: redirect error output to /dev/null
...
The docker-options command is deprecated, so the warning was being captured.
2017-03-15 02:44:38 -06:00
raphaklaus
56b018b4c5
Merge branch 'master' of https://github.com/raphaklaus/dokku
2017-02-24 12:54:40 -03:00
Raphael D. Pinheiro
8bc7cdaaeb
Merge branch 'master' into master
2017-02-24 12:42:42 -03:00
raphaklaus
adf0a9ee74
add domain_ssl tar for testing
2017-02-24 12:41:12 -03:00
Raphael D. Pinheiro
8a6bce3745
add multiple dots tar for testing
2017-02-23 16:33:36 -03:00
Raphael D. Pinheiro
b0777a44cb
add test to certs:add with multiple dots
...
Add test to certs:add command to allow multiple dots in file name
2017-02-23 13:44:28 -03:00
Jose Diaz-Gonzalez
d73c07de68
cleanup: move from apps to apps:list subcommand for tests and docs
2017-02-20 17:24:09 -07:00
Jose Diaz-Gonzalez
0aeee7ea28
Allow specifying the deploy branch via DOKKU_DEPLOY_BRANCH
...
Closes #2494
2017-01-26 00:32:23 -07:00
Jose Diaz-Gonzalez
a564eae9f1
feat: implement application cloning
...
Application cloning can be used to setup review applications based on an existing application. This is useful in CI/CD pipelines where a developer may wish to verify code in a custom environment without overwriting a shared staging environment.
2017-01-22 21:39:30 -07:00
klemens
e09d093239
spelling fixes
2017-01-14 22:38:27 +01:00
Ilya Semenov
6a9b3f6df2
Add domains:set and domains:set-global commands
2016-11-28 22:44:06 +07:00
Kazuhiro NISHIYAMA
ccc44b0c16
Fix bug when VHOST without newline
2016-11-14 22:21:41 +09: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
Ilya Semenov
45f05615c4
Clarify domains help, improve domains unit tests
2016-09-07 20:28:32 +07:00
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