Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
84566e66ff | ||
|
|
649ea35cb9 | ||
|
|
1e6c12d4e2 | ||
|
|
b7c9c101b5 |
@@ -1,4 +1,4 @@
|
|||||||
# dokku redis [](https://github.com/dokku/dokku-redis/actions/workflows/ci.yml?query=branch%3Amaster) [](https://webchat.libera.chat/?channels=dokku)
|
# dokku redis [](https://github.com/dokku/dokku-redis/actions/workflows/ci.yml?query=branch%3Amaster) [](https://webchat.libera.chat/?channels=dokku)
|
||||||
|
|
||||||
Official redis plugin for dokku. Currently defaults to installing [redis 7.0.8](https://hub.docker.com/_/redis/).
|
Official redis plugin for dokku. Currently defaults to installing [redis 7.0.8](https://hub.docker.com/_/redis/).
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ def header(service):
|
|||||||
return " ".join(
|
return " ".join(
|
||||||
[
|
[
|
||||||
f"# dokku {service}",
|
f"# dokku {service}",
|
||||||
f'[](https://github.com/dokku/dokku-{service}/actions/workflows/ci.yml?query=branch%3Amaster)',
|
f'[](https://github.com/dokku/dokku-{service}/actions/workflows/ci.yml?query=branch%3Amaster)',
|
||||||
f'[](https://webchat.libera.chat/?channels=dokku)',
|
f'[](https://webchat.libera.chat/?channels=dokku)',
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
[plugin]
|
[plugin]
|
||||||
description = "dokku redis service plugin"
|
description = "dokku redis service plugin"
|
||||||
version = "1.27.0"
|
version = "1.27.2"
|
||||||
[plugin.config]
|
[plugin.config]
|
||||||
|
|||||||
@@ -38,6 +38,16 @@ service-upgrade-cmd() {
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! service_image_exists "$SERVICE"; then
|
||||||
|
if [[ "$PLUGIN_DISABLE_PULL" == "true" ]]; then
|
||||||
|
dokku_log_warn "${PLUGIN_DISABLE_PULL_VARIABLE} environment variable detected. Not running pull command." 1>&2
|
||||||
|
dokku_log_warn " docker pull ${IMAGE}" 1>&2
|
||||||
|
dokku_log_warn "$PLUGIN_SERVICE service $SERVICE upgrade failed"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
docker pull "$PLUGIN_IMAGE:$PLUGIN_IMAGE_VERSION" || dokku_log_fail "$PLUGIN_SERVICE image $PLUGIN_IMAGE:$PLUGIN_IMAGE_VERSION pull failed"
|
||||||
|
fi
|
||||||
|
|
||||||
service_commit_config "$SERVICE"
|
service_commit_config "$SERVICE"
|
||||||
|
|
||||||
dokku_log_info2 "Upgrading $SERVICE to $NEW_PLUGIN_IMAGE_TAG"
|
dokku_log_info2 "Upgrading $SERVICE to $NEW_PLUGIN_IMAGE_TAG"
|
||||||
|
|||||||
Reference in New Issue
Block a user