forked from yarpc/yarpc-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (48 loc) · 1.28 KB
/
docker-compose.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
version: '3'
services:
yarpc-go-1.21:
build:
context: .
dockerfile: Dockerfile.1.21
environment:
- TEST_TIME_SCALE=5
- THIS_CHUNK=${BUILDKITE_PARALLEL_JOB}
- TOTAL_CHUNKS=${BUILDKITE_PARALLEL_JOB_COUNT}
- CODECOV_TOKEN
- CI=true
- BUILDKITE
- BUILDKITE_AGENT_ID
- BUILDKITE_BRANCH
- BUILDKITE_BUILD_NUMBER
- BUILDKITE_BUILD_URL
- BUILDKITE_COMMIT
- BUILDKITE_JOB_ID
- BUILDKITE_PROJECT_SLUG
- BUILDKITE_REPO
- GO111MODULE=on
- SSH_AUTH_SOCK=/ssh-agent
volumes:
- /ssh-agent:/ssh-agent
# We mount the host's SSH Agent unix socket at /ssh-agent in the container
# and tell the container where to find it so that the container can
# actually push commits.
yarpc-go-1.22:
build:
context: .
dockerfile: Dockerfile.1.22
environment:
- TEST_TIME_SCALE=5
- THIS_CHUNK=${BUILDKITE_PARALLEL_JOB}
- TOTAL_CHUNKS=${BUILDKITE_PARALLEL_JOB_COUNT}
- CODECOV_TOKEN
- CI=true
- BUILDKITE
- BUILDKITE_AGENT_ID
- BUILDKITE_BRANCH
- BUILDKITE_BUILD_NUMBER
- BUILDKITE_BUILD_URL
- BUILDKITE_COMMIT
- BUILDKITE_JOB_ID
- BUILDKITE_PROJECT_SLUG
- BUILDKITE_REPO
- GO111MODULE=on