2019-03-20 23:16:16 +08:00
|
|
|
# it is intended that this be used exclusive of all other docker-compose.*yml files in CI
|
2019-09-11 23:49:35 +08:00
|
|
|
version: "2.3"
|
2019-03-20 23:16:16 +08:00
|
|
|
services:
|
2020-05-02 05:04:18 +08:00
|
|
|
canvas:
|
2020-03-05 03:32:41 +08:00
|
|
|
image: $PATCHSET_TAG
|
2020-06-29 22:32:51 +08:00
|
|
|
depends_on:
|
2019-03-20 23:16:16 +08:00
|
|
|
- postgres
|
2019-08-30 21:47:07 +08:00
|
|
|
- cassandra
|
2020-06-29 22:32:51 +08:00
|
|
|
- redis
|
2019-09-28 04:28:20 +08:00
|
|
|
- dynamodb
|
2019-03-20 23:16:16 +08:00
|
|
|
environment:
|
2019-09-24 23:02:49 +08:00
|
|
|
ENCRYPTION_KEY: facdd3a131ddd8988b14f6e4e01039c93cfa0160
|
2019-03-20 23:16:16 +08:00
|
|
|
RAILS_ENV: test
|
2020-03-16 20:23:58 +08:00
|
|
|
POSTGRES_PASSWORD: $POSTGRES_PASSWORD
|
2019-08-30 21:47:07 +08:00
|
|
|
RANDOMIZE_SEQUENCES: 1
|
2020-04-26 02:53:44 +08:00
|
|
|
DISABLE_SPRING: 'true'
|
2019-10-19 03:36:04 +08:00
|
|
|
RERUNS_RETRY:
|
|
|
|
MAX_FAIL:
|
2020-02-11 02:12:41 +08:00
|
|
|
COVERAGE:
|
2020-04-08 03:41:59 +08:00
|
|
|
FORCE_FAILURE:
|
2019-03-20 23:16:16 +08:00
|
|
|
|
2020-02-24 06:51:47 +08:00
|
|
|
# parallel_tests
|
2019-10-19 03:39:11 +08:00
|
|
|
CI_NODE_TOTAL:
|
|
|
|
CI_NODE_INDEX:
|
2020-02-24 06:51:47 +08:00
|
|
|
DOCKER_PROCESSES:
|
|
|
|
EXCLUDE_TESTS:
|
|
|
|
TEST_PATTERN:
|
2020-07-08 22:02:55 +08:00
|
|
|
# rspec-parallel-log build
|
|
|
|
RSPEC_LOG:
|
2020-04-26 00:56:59 +08:00
|
|
|
# this will stop passenger from booting so the container isn't running anything at all once up
|
2020-06-16 20:52:05 +08:00
|
|
|
command: sleep infinity
|
|
|
|
init: true
|
2019-10-19 03:39:11 +08:00
|
|
|
|
2019-03-20 23:16:16 +08:00
|
|
|
redis:
|
2019-09-27 21:18:54 +08:00
|
|
|
image: starlord.inscloudgate.net/jenkins/redis:alpine
|
2020-06-16 20:52:05 +08:00
|
|
|
init: true
|
2019-03-20 23:16:16 +08:00
|
|
|
|
|
|
|
postgres:
|
2020-06-27 03:37:32 +08:00
|
|
|
image: $POSTGRES_IMAGE_TAG
|
2020-03-05 03:32:41 +08:00
|
|
|
environment:
|
2020-04-16 02:52:10 +08:00
|
|
|
POSTGRES_PASSWORD: $POSTGRES_PASSWORD
|
2020-06-16 20:52:05 +08:00
|
|
|
init: true
|
2020-04-26 00:56:59 +08:00
|
|
|
|
2019-08-30 21:47:07 +08:00
|
|
|
cassandra:
|
2020-06-27 03:37:32 +08:00
|
|
|
image: $CASSANDRA_IMAGE_TAG
|
2019-08-30 21:47:07 +08:00
|
|
|
environment:
|
|
|
|
CASSANDRA_START_RPC: 'true'
|
2020-06-16 20:52:05 +08:00
|
|
|
init: true
|
2019-09-28 04:28:20 +08:00
|
|
|
|
|
|
|
dynamodb:
|
2020-06-27 03:37:32 +08:00
|
|
|
image: $DYNAMODB_IMAGE_TAG
|
2020-06-29 22:32:51 +08:00
|
|
|
command: -jar DynamoDBLocal.jar
|
2020-06-16 20:52:05 +08:00
|
|
|
init: true
|