Compare commits

..

9 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
a488c74d28 Release 1.39.3
Some checks failed
tagged-release / tagged-release (push) Has been cancelled
2025-04-14 10:42:38 -04:00
Jose Diaz-Gonzalez
fc2e7ef408 Merge pull request #263 from kbuilds/fix-config-file-repo
Download the default redis config file from the official Redis repo
2025-04-14 10:41:28 -04:00
Kurtis Jensen
095eb6f89b Add -f flag to curl command
The `-f` flag will make curl fail if there is an http error. This should prevent this command from silently failing (and adding literal "404 error" string to the config file).
2025-04-09 17:21:26 -04:00
Kurtis Jensen
19a339f943 Download the default redis config file from the official Redis repository 2025-04-07 14:19:55 -04:00
Jose Diaz-Gonzalez
7ded70f338 Merge pull request #258 from dokku/maintained-action
ci: use maintained action for creating automated releases
2025-03-13 18:51:18 -05:00
Jose Diaz-Gonzalez
ff7c58599f ci: use maintained action for creating automated releases 2025-03-13 19:46:51 -04:00
Jose Diaz-Gonzalez
7dddac7059 Release 1.39.2
Some checks failed
tagged-release / tagged-release (push) Has been cancelled
2025-03-09 07:12:11 -04:00
Jose Diaz-Gonzalez
e7f710e40a Merge pull request #257 from dokku/7470-name-argument
docs: ensure --name flag is used in installation docs
2025-03-09 06:05:44 -05:00
Jose Diaz-Gonzalez
65e083a34e docs: ensure --name flag is used in installation docs
Closes dokku/dokku#7470
2025-03-09 07:04:00 -04:00
5 changed files with 9 additions and 8 deletions

View File

@@ -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"

View File

@@ -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

View File

@@ -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}",
"```", "```",
] ]
) )

View File

@@ -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

View File

@@ -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]