43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
# it is intended that this be used exclusive of all other docker-compose.*yml files in CI
|
|
version: "2.3"
|
|
services:
|
|
web:
|
|
image: $PATCHSET_TAG
|
|
links:
|
|
- postgres
|
|
- redis
|
|
- cassandra
|
|
- dynamodb
|
|
environment:
|
|
ENCRYPTION_KEY: facdd3a131ddd8988b14f6e4e01039c93cfa0160
|
|
RAILS_ENV: test
|
|
DATABASE_URL: postgres://postgres:sekret@postgres:5432/canvas_test0
|
|
RANDOMIZE_SEQUENCES: 1
|
|
RERUNS_RETRY:
|
|
MAX_FAIL:
|
|
COVERAGE:
|
|
|
|
# parallel_tests
|
|
CI_NODE_TOTAL:
|
|
CI_NODE_INDEX:
|
|
DOCKER_PROCESSES:
|
|
EXCLUDE_TESTS:
|
|
TEST_PATTERN:
|
|
|
|
redis:
|
|
image: starlord.inscloudgate.net/jenkins/redis:alpine
|
|
|
|
postgres:
|
|
image: starlord.inscloudgate.net/jenkins/postgis:$POSTGRES-2.5
|
|
environment:
|
|
POSTGRES_PASSWORD: sekret
|
|
|
|
cassandra:
|
|
image: starlord.inscloudgate.net/jenkins/cassandra:2.2
|
|
environment:
|
|
CASSANDRA_START_RPC: 'true'
|
|
|
|
dynamodb:
|
|
image: starlord.inscloudgate.net/jenkins/dynamodb-local
|
|
command: -jar DynamoDBLocal.jar #-dbPath /home/dynamodblocal
|