Jose Diaz-Gonzalez
5406b4dc07
Add --service-root flag to info command
2016-08-29 05:53:54 -04:00
Jose Diaz-Gonzalez
b104279a51
Add --internal-ip flag to info command
2016-08-28 23:24:37 -04:00
Jose Diaz-Gonzalez
5d08332c69
Fix expose tests
2016-08-28 22:15:28 -04:00
Jose Diaz-Gonzalez
7eb2b47db7
Document exposed ports when an invalid number of arguments are specified
2016-08-28 21:25:10 -04:00
Jose Diaz-Gonzalez
eb0739350f
Update docker binstub
2016-08-28 20:38:14 -04:00
Jose Diaz-Gonzalez
0acf54fd3d
Add --id flag
2016-08-28 17:56:30 -04:00
Jose Diaz-Gonzalez
fb3ff0f5a5
Add support for flags on the service:info command
2016-08-28 05:33:28 -04:00
Jose Diaz-Gonzalez
a58af14c0d
Make install hook quiet when there is nothing to do
2016-08-28 02:04:08 -04:00
Jose Diaz-Gonzalez
f2e8466ae3
Cleanup tests
2016-08-27 23:39:12 -04:00
Jose Diaz-Gonzalez
4427c31e3f
Upgrade docker image
2016-08-27 21:44:20 -04:00
Jose Diaz-Gonzalez
5ff2445998
Downgrade redis
2016-08-27 21:20:45 -04:00
Jose Diaz-Gonzalez
36762e69af
Update docker image
2016-08-27 16:31:20 -04:00
Jose Diaz-Gonzalez
bb7c6f05e6
Fix failing tests on master and test all .0 minor releases
2016-08-27 05:14:42 -04:00
Jose Diaz-Gonzalez
b02135e7f7
Update docker binstub
2016-08-27 03:13:14 -04:00
Jose Diaz-Gonzalez
58c198949f
Fix test setup to create proper directory structure for plugin
2016-05-15 18:58:10 -04:00
Jose Diaz-Gonzalez
d30c101fe3
Merge pull request #49 from dokku/minor-changes
...
Minor changes
2016-05-08 03:49:00 -04:00
Jose Diaz-Gonzalez
ad84ddea31
Add a dummy lsb_release command to test binaries
...
This should allow us to run tests on os x using the current dokku binary
2016-05-08 01:35:11 -04:00
Jose Diaz-Gonzalez
fd112305d9
Download correct version of plugn when running tests under OS X
2016-05-08 01:34:40 -04:00
Marcio Marchini
423bf1a4ef
fix for #50 - remove /0 , be heroku-compatible
2016-05-05 13:08:11 -03:00
Jose Diaz-Gonzalez
5bcaf4fec5
Read REDIS_DATABASE_SCHEME variable from app when setting REDIS_URL
2016-04-19 14:52:09 -04:00
Mike Schroll
8e47169fb8
Updated to 3.0.7
2016-04-12 10:30:43 -04:00
Edgars Beigarts
fdd135f620
Fix exit code for redis:export when SSH_TTY is not present
2016-02-24 09:35:22 +02:00
Jose Diaz-Gonzalez
06ff6c013f
Upgrade plugn
2016-01-17 21:06:45 -05:00
Jose Diaz-Gonzalez
1c364fca3c
Merge pull request #35 from dokku/lg-fix-tests
...
Fix tests setup
2016-01-17 17:09:44 -05:00
Jose Diaz-Gonzalez
1b3daa861e
Upgrade image version to 3.0.6
2016-01-17 01:08:06 -05:00
Loïc Guitaut
5c1c1e69d9
Fix tests setup
2015-11-30 17:23:38 +01:00
Jose Diaz-Gonzalez
2e7a3ce709
Use redis 3.0.5
...
Closes #30
2015-10-26 22:00:25 -04:00
Loïc Guitaut
9f3ae5d078
Display infos from list command in columns
...
Also add a LINKS column to easily view which services are linked to
which apps
2015-10-13 10:47:18 +02:00
Loïc Guitaut
baeea96731
Revamp link/unlink commands
...
Previously we were exporting `REDIS_URL` via the docker-args* hooks.
This seems to confuse our users (since the env var is not displayed
when calling `dokku config`) and in some cases it also seems that the
env var is not correctly set.
Another problem is if several services are linked to the same app and
if they are exporting `REDIS_URL` as well. Then we don’t know what
will be set.
To resolve theses issues, this patch changes the way we manage the env
vars. We use standard dokku commands (`config` and `docker-options`) so
config is set on the linked application and can be reviewed by the user
easily.
We also handle the case where `REDIS_URL` is already set on the
linked application. When it’s the case, we automatically generate
another env var based on the following pattern: DOKKU_<service
name>_<random unused color>_URL. For example, this can give:
DOKKU_REDIS_BLACK_URL.
Since naming is now handled automatically, the `alias` command has been
removed. If the user wants to set a different env var on her app, it’s
just a matter of using `dokku config:set` and pasting the wanted value.
IP in DSN has been removed in favor of host name exported by docker in
the container. This is more robust and simpler since the IP can change
but the name will remain the same if the service container restarts for
instance.
With all those changes, a new command has been introduced: `promote`.
The goal of this command is to easily set a service as the primary one
when several are linked to an app. (see README for an example)
2015-10-05 15:29:36 +02:00
Jose Diaz-Gonzalez
37b84c3aa9
Set REDIS_ROOT environment variable as well
...
Since PLUGIN_DATA_ROOT is not directly overrideable anymore, we need to *also* set this env var here.
2015-09-23 15:03:58 -04:00
Loïc Guitaut
7ea002b2a6
Do not always allocate a tty on connect
2015-09-21 10:33:58 +02:00
Loïc Guitaut
39a3bcf3af
Display image & version in list
2015-09-16 17:49:23 +02:00
Loïc Guitaut
b4564e57a1
Add compatibility for tests with dokku 0.4+
2015-09-15 23:08:57 +02:00
Jose Diaz-Gonzalez
d10e951165
Upgrade to redis 3.0.4
2015-09-15 01:50:54 -07:00
Loïc Guitaut
57e4b08158
Add export, import and clone commands
2015-09-13 23:43:04 +02:00
Loïc Guitaut
71f1d622f9
Generic way for docker logs output (test stub)
2015-09-10 16:28:53 +02:00
Loïc Guitaut
bd2bad8e1a
Add tests for every command
2015-09-09 17:30:14 +02:00
Loïc Guitaut
cc5c7fee25
Ability to echo back invoked command for docker
...
By setting `ECHO_DOCKER_COMMAND` to `true`, the mocked docker binary
will echo back the command used to call it instead of mocking a
response.
2015-09-09 17:30:14 +02:00
Jose Diaz-Gonzalez
4f6f9ad5ca
update docker binstub output
2015-09-07 00:56:53 -04:00
Jose Diaz-Gonzalez
fa37a78385
formatting
2015-09-07 00:35:07 -04:00
Jose Diaz-Gonzalez
1e37391cb9
use PLUGIN_COMMAND_PREFIX instead of SERVICE for command prefix
2015-09-07 00:35:00 -04:00
Jose Diaz-Gonzalez
c37e99f77c
set PLUGIN_DATA_ROOT to fixtures directory
2015-09-07 00:20:39 -04:00
Jose Diaz-Gonzalez
8c0bbb3128
binstub for redis-cli
2015-09-07 00:20:28 -04:00
Jose Diaz-Gonzalez
b777ed6793
fix docker ps output
2015-09-07 00:17:49 -04:00
Jose Diaz-Gonzalez
1cc05817b7
Use docker binstub instead of running install and dependencies
2015-09-07 00:15:59 -04:00
Jose Diaz-Gonzalez
50f9c2f5ef
simplify test structure and add bin stubs
2015-09-06 23:45:57 -04:00
Jose Diaz-Gonzalez
909888ec45
Fix paths
2015-09-06 23:39:04 -04:00
Jose Diaz-Gonzalez
2983d4767e
fix path
2015-09-06 23:32:38 -04:00
Jose Diaz-Gonzalez
72222dddf9
self-contained "testing" infrastructure
2015-09-06 23:25:07 -04:00
Jose Diaz-Gonzalez
e168d5222a
make test
2015-09-06 22:49:07 -04:00