CircleCI bug for builds with redis

Hi.
I use redis for specs. But all builds after add redis to config file are failed as a CircleCI Bug.
Here is my circle.yml

machine:
  services:
    - redis
  ruby:
    version: 2.3
  node:
    version: 6.1.0

What is my mistake?

Old thread but I had the same issue and I got this to work by installing Redis in my container instead of using the redis Docker container. I thought I’d share for anybody else that may run into this.

I’m using CircleCI 2.0 with the circleci/ruby:2.3.4-node-browsers image. I added the following step:

  - run:
      name: install redis
      command: |
        pushd /tmp
        wget http://download.redis.io/releases/redis-$REDIS_VERSION.tar.gz
        tar xzf redis-$REDIS_VERSION.tar.gz
        cd redis-$REDIS_VERSION && make
        src/redis-server --daemonize yes
        popd
      environment:
        REDIS_VERSION: 3.2.10

There is probably a way to cache this but I have some work to do.

1 Like