forked from capability-boosters-dev/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.new-jenkins.yml
55 lines (50 loc) · 1.25 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
# 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:
ENCRYPTION_KEY: facdd3a131ddd8988b14f6e4e01039c93cfa0160
RAILS_ENV: test
POSTGRES_PASSWORD: $POSTGRES_PASSWORD
RANDOMIZE_SEQUENCES: 1
DISABLE_SPRING: 'true'
RERUNS_RETRY:
MAX_FAIL:
COVERAGE:
FORCE_FAILURE:
CANVAS_RAILS6_0:
# parallel_tests
CI_NODE_TOTAL:
CI_NODE_INDEX:
DOCKER_PROCESSES:
EXCLUDE_TESTS:
TEST_PATTERN:
# 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