Skip to content

Commit

Permalink
verbiage from cx
Browse files Browse the repository at this point in the history
  • Loading branch information
brahyt-sf committed May 21, 2024
1 parent 3fdae09 commit c6f696f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ allows an application to use an [stunnel](http://stunnel.org) to connect securel
Heroku Redis. It is meant to be used in conjunction with other buildpacks.

> [!WARNING]
> This buildpack is not compatible with `heroku-24`+ and is not needed for Redis 6+, which supports native TLS.
> This buildpack isn’t compatible with [`heroku-24`](article link?) and later. You don’t need this buildpack for Redis 6+, which supports native TLS.
> For more information, see [Securing Heroku Redis](https://devcenter.heroku.com/articles/heroku-redis#security-and-compliance).
## Usage
Expand Down
11 changes: 6 additions & 5 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ BUILD_DIR=$1
BUILDPACK_DIR="$(dirname $(dirname $0))"

if ! command -v stunnel4 > /dev/null; then
echo "! stunnel not detected! stunnel not supported on heroku-24+"
echo "! This buildpack is not required for Redis 6+. Remove this buildpack using:"
echo "! $ heroku buildpacks:remove heroku/redis"
echo "! And then follow the instructions for using Redis' native TLS support:"
echo "! https://devcenter.heroku.com/articles/heroku-redis#security-and-compliance"

echo "! This buildpack uses stunnel, which isn’t supported on heroku-24 and later."
echo "! You don’t need this buildpack for Redis 6+. Remove it with the command:"
echo "! $ heroku buildpacks:remove heroku/redis"
echo "! To use Redis’ native TLS support, see https://devcenter.heroku.com/articles/heroku-redis#security-and-compliance."

exit 1
fi

Expand Down

0 comments on commit c6f696f

Please sign in to comment.