forked from e621ng/e621ng
add redis image to docker compose config
This commit is contained in:
parent
1550538dc1
commit
ad3ab4c9a3
@ -44,7 +44,6 @@ jobs:
|
||||
docker-compose -f config/docker/compose.yml exec archives dockerize -wait tcp://$PGHOST:$PGPORT bash -l -c 'cd /app ; bundle exec rake db:create ; bundle exec rake db:migrate'
|
||||
docker-compose -f config/docker/compose.yml exec web dockerize -wait tcp://$PGHOST:$PGPORT bash -l -c 'cd /app ; bin/rake db:create ; bin/rake db:migrate'
|
||||
- run:
|
||||
|
||||
name: Run tests
|
||||
command: |
|
||||
circleci tests glob test/**/*_test.rb | circleci tests split --split-by=timings | xargs -I{} docker-compose -f config/docker/compose.yml exec -T web bash -l -c 'cd /app ; bin/rails test --no-ci-clean {}'
|
||||
|
@ -6,6 +6,10 @@ services:
|
||||
- "5432:5432"
|
||||
environment:
|
||||
- POSTGRES_PASSWORD
|
||||
redis:
|
||||
image: redis:latest
|
||||
ports:
|
||||
- "6379:6379"
|
||||
memcached:
|
||||
image: memcached:alpine
|
||||
ports:
|
||||
|
Loading…
Reference in New Issue
Block a user