-
Notifications
You must be signed in to change notification settings - Fork 0
/
matrix-media-repo.yaml
31 lines (31 loc) · 1.19 KB
/
matrix-media-repo.yaml
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
steps:
- label: "🔨 Build :go: 1.16"
commands:
- "echo '+++ build'"
- "./build.sh"
plugins:
- docker#v3.0.1:
image: "golang:1.16"
mount-buildkite-agent: false
- label: "🤝 Complement"
commands:
- "echo '--- prepare image'"
- "docker build -t complement-media-repo -f Complement.Dockerfile ."
- "echo '+++ run tests'"
- "chmod +x ci-complement.sh" # To fix the script
- "./ci-complement.sh"
plugins:
- docker#v3.5.0:
# The dockerfile for this image is at https://github.com/matrix-org/complement/blob/master/dockerfiles/ComplementCIBuildkite.Dockerfile.
image: "matrixdotorg/complement:latest"
mount-buildkite-agent: false
# Complement needs to know if it is running under CI
environment:
- "CI=true"
- "COMPLEMENT_BASE_IMAGE=complement-media-repo"
- "COMPLEMENT_VERSION_CHECK_ITERATIONS=400"
publish: [ "8448:8448" ]
# Complement uses Docker so pass through the docker socket. This means Complement shares
# the host's Docker.
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"