My .gitlab-ci.yml is this:
image: "python:3.5"
services:
- redis:4.0.2
- mongo:3.4.10
stages:
- checkEverythingRuns
checkEverythingRuns:
stage: checkEverythingRuns
script:
- "python --version"
- "pip --version"
- "redis-server -v"
- "mongod --version"
The redis image downloads correctly:
Using docker image redis:4.0.2 ID=sha256:blablabla
But it throws the next error:
$ redis-server -v
/bin/bash: line 14: redis-server: command not found
ERROR: Job failed: exit code 1