From 04dcced822677a049ddf595bd1bdad1d92ede2a8 Mon Sep 17 00:00:00 2001 From: Simon Prickett Date: Wed, 30 Mar 2022 09:45:46 +0100 Subject: [PATCH 1/2] Replaced redismod references with redis-stack. --- docs/getting_started.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/getting_started.md b/docs/getting_started.md index 5f43086..715b0a6 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -39,9 +39,9 @@ Windows users can also use Docker. See the next section on running Redis with Do Instead of installing Redis manually or with a package manager, you can run Redis with Docker. -We recommend the [redismod](https://hub.docker.com/r/redislabs/redismod) image because it includes Redis modules that Redis OM can use to give you extra features. Later sections of this guide will provide more detail about these features. +We recommend the [redis-stack](https://hub.docker.com/r/redis/redis-stack) image because it includes Redis modules that Redis OM can use to give you extra features. Later sections of this guide will provide more detail about these features. -You can also use the official Redis Docker image, which is hosted on [Docker Hub](https://hub.docker.com/_/redis). +You can also use the official Redis Docker image, which is hosted on [Docker Hub](https://hub.docker.com/_/redis). However this does not include the Search and JSON modules required to store JSON models and use the `find` query interface. **NOTE**: We'll talk about how to actually start Redis with Docker when we discuss _running_ Redis later in this guide. @@ -51,7 +51,7 @@ Redis OM relies on the [RediSearch][redisearch-url] and [RedisJSON][redis-json-u You don't need these Redis modules to use Redis OM's data modeling, validation, and persistence features, but we recommend them to get the most out of Redis OM. -The easiest way to run these Redis modules during local development is to use the [redismod](https://hub.docker.com/r/redislabs/redismod) Docker image. +The easiest way to run these Redis modules during local development is to use the [redis-stack](https://hub.docker.com/r/redis/redis-stack) Docker image. For other installation methods, follow the "Quick Start" guides on both modules' home pages. From 3030a70b6cb78f9dd3f6ecdb61b6834609153e1b Mon Sep 17 00:00:00 2001 From: Simon Prickett Date: Wed, 30 Mar 2022 09:54:05 +0100 Subject: [PATCH 2/2] Updated to use Redis Stack container. --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c73e723..08b5c73 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,11 +74,11 @@ jobs: matrix: os: [ ubuntu-latest ] pyver: [ 3.6, 3.7, 3.8, 3.9, pypy3 ] - redismod: [ "preview" ] + redisstack: [ "latest" ] fail-fast: false services: redis: - image: redislabs/redismod:${{ matrix.redismod }} + image: redis/redis-stack:${{ matrix.redisstack }} ports: # Maps port 6379 on service container to the host - 6379:6379 @@ -134,7 +134,7 @@ jobs: #---------------------------------------------- - name: Install library run: poetry install --no-interaction - - name: Run unittests (redismod:${{ matrix.redismod }}, ${{ matrix.os }}) + - name: Run unittests (redisstack:${{ matrix.redisstack }}, ${{ matrix.os }}) env: REDIS_OM_URL: "redis://localhost:6379?decode_responses=True" run: |