Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a488c74d28 | ||
|
|
fc2e7ef408 | ||
|
|
095eb6f89b | ||
|
|
19a339f943 | ||
|
|
7ded70f338 | ||
|
|
ff7c58599f | ||
|
|
7dddac7059 | ||
|
|
e7f710e40a | ||
|
|
65e083a34e |
9
.github/workflows/tagged-release.yml
vendored
9
.github/workflows/tagged-release.yml
vendored
@@ -5,7 +5,7 @@ name: "tagged-release"
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- "*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tagged-release:
|
tagged-release:
|
||||||
@@ -13,7 +13,8 @@ jobs:
|
|||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: "marvinpinto/action-automatic-releases@v1.2.1"
|
- name: Release
|
||||||
|
uses: softprops/action-gh-release@v2.2.1
|
||||||
with:
|
with:
|
||||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
generate_release_notes: true
|
||||||
prerelease: false
|
make_latest: "true"
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ Official redis plugin for dokku. Currently defaults to installing [redis 7.4.2](
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
# on 0.19.x+
|
# on 0.19.x+
|
||||||
sudo dokku plugin:install https://github.com/dokku/dokku-redis.git redis
|
sudo dokku plugin:install https://github.com/dokku/dokku-redis.git --name redis
|
||||||
```
|
```
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ def installation_section(service, dokku_version):
|
|||||||
"",
|
"",
|
||||||
"```shell",
|
"```shell",
|
||||||
f"# on {dokku_version}",
|
f"# on {dokku_version}",
|
||||||
f"sudo dokku plugin:install https://github.com/dokku/dokku-{service}.git {service}",
|
f"sudo dokku plugin:install https://github.com/dokku/dokku-{service}.git --name {service}",
|
||||||
"```",
|
"```",
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ service_create() {
|
|||||||
touch "$LINKS_FILE"
|
touch "$LINKS_FILE"
|
||||||
|
|
||||||
if [[ -z $REDIS_CONFIG_PATH ]]; then
|
if [[ -z $REDIS_CONFIG_PATH ]]; then
|
||||||
curl -sSL "https://raw.githubusercontent.com/antirez/redis/${PLUGIN_IMAGE_VERSION:0:3}/redis.conf" >"$SERVICE_ROOT/$PLUGIN_CONFIG_SUFFIX/redis.conf" || dokku_log_fail "Unable to download the default redis.conf to the config directory"
|
curl -sSLf "https://raw.githubusercontent.com/redis/redis/${PLUGIN_IMAGE_VERSION:0:3}/redis.conf" >"$SERVICE_ROOT/$PLUGIN_CONFIG_SUFFIX/redis.conf" || dokku_log_fail "Unable to download the default redis.conf to the config directory"
|
||||||
else
|
else
|
||||||
cp "$REDIS_CONFIG_PATH" "$SERVICE_ROOT/$PLUGIN_CONFIG_SUFFIX/redis.conf" || dokku_log_fail "Unable to copy the ${REDIS_CONFIG_PATH} to the config directory"
|
cp "$REDIS_CONFIG_PATH" "$SERVICE_ROOT/$PLUGIN_CONFIG_SUFFIX/redis.conf" || dokku_log_fail "Unable to copy the ${REDIS_CONFIG_PATH} to the config directory"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
[plugin]
|
[plugin]
|
||||||
description = "dokku redis service plugin"
|
description = "dokku redis service plugin"
|
||||||
version = "1.39.1"
|
version = "1.39.3"
|
||||||
[plugin.config]
|
[plugin.config]
|
||||||
|
|||||||
Reference in New Issue
Block a user