Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d28412ee32 | ||
|
|
8bb81a3084 | ||
|
|
c897ff488d | ||
|
|
106acfb75b |
@@ -1,4 +1,4 @@
|
|||||||
# dokku postgres (beta) [](https://travis-ci.org/dokku/dokku-postgres) [](https://webchat.freenode.net/?channels=dokku)
|
# dokku postgres [](https://travis-ci.org/dokku/dokku-postgres) [](https://webchat.freenode.net/?channels=dokku)
|
||||||
|
|
||||||
Official postgres plugin for dokku. Currently defaults to installing [postgres 10.2](https://hub.docker.com/_/postgres/).
|
Official postgres plugin for dokku. Currently defaults to installing [postgres 10.2](https://hub.docker.com/_/postgres/).
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
[plugin]
|
[plugin]
|
||||||
description = "dokku postgres service plugin"
|
description = "dokku postgres service plugin"
|
||||||
version = "1.2.5"
|
version = "1.2.7"
|
||||||
[plugin.config]
|
[plugin.config]
|
||||||
|
|||||||
@@ -24,11 +24,11 @@ teardown() {
|
|||||||
@test "($PLUGIN_COMMAND_PREFIX:logs) success when not tailing" {
|
@test "($PLUGIN_COMMAND_PREFIX:logs) success when not tailing" {
|
||||||
export ECHO_DOCKER_COMMAND="true"
|
export ECHO_DOCKER_COMMAND="true"
|
||||||
run dokku "$PLUGIN_COMMAND_PREFIX:logs" l
|
run dokku "$PLUGIN_COMMAND_PREFIX:logs" l
|
||||||
assert_output "docker logs --tail 100 testid"
|
assert_contains "docker logs --tail 100 testid"
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "($PLUGIN_COMMAND_PREFIX:logs) success when tailing" {
|
@test "($PLUGIN_COMMAND_PREFIX:logs) success when tailing" {
|
||||||
export ECHO_DOCKER_COMMAND="true"
|
export ECHO_DOCKER_COMMAND="true"
|
||||||
run dokku "$PLUGIN_COMMAND_PREFIX:logs" l -t
|
run dokku "$PLUGIN_COMMAND_PREFIX:logs" l -t
|
||||||
assert_output "docker logs --follow testid"
|
assert_contains "docker logs --follow testid"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user