-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
55 lines (50 loc) · 1.07 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
51
52
53
54
55
version: '2.3'
services:
test:
build:
context: environments
dockerfile: test/Dockerfile
runtime: nvidia
buildkite:
extends:
service: test
volumes:
- buildkite:/buildkite
environment:
- BUILDKITE
- BUILDKITE_BUILD_CHECKOUT_PATH
- BUILDKITE_PIPELINE_SLUG
- BUILDKITE_AGENT_NAME
- BUILDKITE_BRANCH
- BUILDKITE_BUILD_NUMBER
- BUILDKITE_JOB_ID
- BUILDKITE_BUILD_ID
- BUILDKITE_LABEL
- BUILDKITE_AGENT_ACCESS_TOKEN
- BUILDKITE_PULL_REQUEST
- BUILDKITE_PULL_REQUEST_BASE_BRANCH
- BUILDKITE_PULL_REQUEST_REPO
- CUDA_DEVICE_ORDER
- CUDA_VISIBLE_DEVICES
- NVIDIA_DISABLE_REQUIRE=1
working_dir: ${BUILDKITE_BUILD_CHECKOUT_PATH}
buildkite-cpu:
extends:
service: buildkite
runtime: runc
local:
extends:
service: test
volumes:
- .:/tmol
working_dir: /tmol
local-cpu:
extends:
service: test
volumes:
- .:/tmol
working_dir: /tmol
runtime: runc
volumes:
buildkite:
external: True