forked from instructure/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.new-jenkins.yml
61 lines (54 loc) · 1.37 KB
/
docker-compose.new-jenkins.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# it is intended that this be used exclusive of all other docker-compose.*yml files in CI
version: "2.3"
services:
canvas:
image: $PATCHSET_TAG
depends_on:
- postgres
- cassandra
- redis
- dynamodb
environment:
DB_VALIDITY_ENSURED: 1
ENCRYPTION_KEY: facdd3a131ddd8988b14f6e4e01039c93cfa0160
RAILS_ENV: test
POSTGRES_PASSWORD: $POSTGRES_PASSWORD
RANDOMIZE_SEQUENCES: 1
DISABLE_SPRING: 'true'
RERUNS_RETRY:
COVERAGE:
FORCE_FAILURE:
TEST_CACHE_CLASSES:
# parallel_tests
CI_NODE_TOTAL:
CI_NODE_INDEX:
RSPEC_PROCESSES:
EXCLUDE_TESTS:
TEST_PATTERN:
# rspecq
RSPECQ_REDIS_URL:
RSPECQ_FILE_SPLIT_THRESHOLD:
RSPECQ_MAX_REQUEUES:
# rspec-parallel-log build
RSPEC_LOG:
# this will stop passenger from booting so the container isn't running anything at all once up
command: sleep infinity
init: true
redis:
image: starlord.inscloudgate.net/jenkins/redis:alpine
init: true
postgres:
image: $POSTGRES_IMAGE_TAG
environment:
PGDATA: /data
POSTGRES_PASSWORD: $POSTGRES_PASSWORD
init: true
cassandra:
image: $CASSANDRA_IMAGE_TAG
environment:
CASSANDRA_START_RPC: 'true'
init: true
dynamodb:
image: $DYNAMODB_IMAGE_TAG
command: -jar DynamoDBLocal.jar
init: true