-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
101 lines (94 loc) · 2.27 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
version: '2'
services:
## Common service configuration
buildkite:
build:
context: agents
environment:
BUILDKITE_AGENT_NAME: '%hostname'
BUILDKITE_BUILD_PATH: '/buildkite'
BUILDKITE_NO_PLUGINS: 'true'
BUILDKITE_NO_LOCAL_HOOKS: 'true'
BUILDKITE_GIT_CLONE_FLAGS: '-v --depth 50'
BUILDKITE_TIMEOUT: 14400
env_file:
- agents/secrets.env
volumes:
- /srv/buildkite/cache:/buildkite/cache
## Buildkite pipeline agent
buildkite-pipeline:
extends: buildkite
hostname: pipeline-builder
environment:
BUILDKITE_NO_LOCAL_HOOKS: 'false'
BUILDKITE_HOOKS_PATH: '/buildkite/pipeline/hooks'
BUILDKITE_AGENT_TAGS: |-
pipeline=1
build:
args:
IMAGE: ubuntu:20.04
## Buildkite ARM64 agent
buildkite-arm64:
extends: buildkite
hostname: ubuntu-arm64
environment:
BUILDKITE_AGENT_TAGS: |-
native=1,
ubuntu-aarch64=1,
build:
args:
IMAGE: arm64v8/ubuntu:20.04
TARGET: ubuntu-native-arm64
## Buildkite ARMv7 agent
buildkite-arm32:
extends: buildkite
hostname: ubuntu-arm32
environment:
BUILDKITE_AGENT_TAGS: |-
native=1,
ubuntu-arm=1,
ubuntu-armhf=1,
build:
args:
IMAGE: arm32v7/ubuntu:20.04
TARGET: ubuntu-native-arm32
## Buildkite Alpine agent
buildkite-alpine:
extends: buildkite
hostname: alpine-x86_64
environment:
BUILDKITE_AGENT_TAGS: |-
native=1,
alpine-x86_64=1
build:
args:
IMAGE: alpine:3
TARGET: x86_64-alpine-linux-musl
## Buildkite cross agents
buildkite-cross1:
extends: buildkite
hostname: ubuntu-cross1
environment:
BUILDKITE_AGENT_TAGS: |-
cross=1,
bootstrap=1,
ubuntu-aarch64=1,
ubuntu-arm=1,
ubuntu-armhf=1,
ubuntu-mips=1,
ubuntu-mips64el=1,
ubuntu-mipsel=1,
ubuntu-powerpc64le=1,
ubuntu-systemz=1,
ubuntu-sparc64=1,
ubuntu-x86_64=1
build:
args:
IMAGE: ubuntu:20.04
TARGET: ubuntu-cross-all
buildkite-cross2:
extends: buildkite-cross1
hostname: ubuntu-cross2
buildkite-cross3:
extends: buildkite-cross1
hostname: ubuntu-cross3