-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yaml
115 lines (107 loc) · 3.33 KB
/
docker-compose.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
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
102
103
104
105
106
107
108
109
110
111
112
113
114
version: '2'
services:
# LAVA server (for testing) instance inheriting from ci-box-lava-master
lava-server:
hostname: lava-server
extends:
file: ./ci-box-lava-master/docker-compose.yml
service: lava-server
build:
args:
version: 2020.05
admin_username: admin
admin_password: password
admin_token: "d0siRzClNHWNtUYJbpmjOPEyPp0QLCKqQtDGTftN"
workers: lava_worker0
networks:
default:
aliases:
- lava.server
ports:
- "8003:80" # expose http to outside
volumes:
- ./overlays/lava-server/etc/lava-server/dispatcher-config/devices:/etc/lava-server/dispatcher-config/devices
- ./overlays/lava-server/etc/lava-server/dispatcher-config/health-checks:/etc/lava-server/dispatcher-config/health-checks
# LAVA worker0 (for testing) instance inheriting from ci-box-lava-worker
lava-worker:
hostname: lava_worker0
extends:
file: ./ci-box-lava-worker/docker-compose.yml
service: lava-worker
build:
args:
version: 2020.05
server: lava-server
extra_packages: nfs-kernel-server rpcbind ser2net tftpd-hpa
environment:
# We don't export /dev/kvm for compatibility reason (LAVA in a VM)
# Force libguestfs to use emulation instead of virtualization
- LIBGUESTFS_BACKEND_SETTINGS=force_tcg
volumes:
- /boot:/boot
- /lib/modules:/lib/modules
# File Server (FTP/HTPP) to store artifacts (images, test templates...)
fileserver:
hostname: fileserver
extends:
file: ./ci-box-fileserver/docker-compose.yml
service: fileserver
build:
args:
http_port: 80
ftp_port: 21
root: "/wwwroot"
ports: # expose http to outside
- "8002:80"
volumes:
- ./overlays/fileserver/wwwroot:/wwwroot
git-server:
hostname: git-server
extends:
file: ./ci-box-git-server/docker-compose.yml
service: git-server
build:
args:
version: "latest"
ports: # expose ssh & http to outside
- "8022:22"
- "8004:80"
volumes:
- ./overlays/gitserver/pubkeys:/git-server/keys
- ./overlays/gitserver/repos:/git-server/repos
# Jenkins (for building) instance inheriting from ci-box-jenkins
jenkins-server:
hostname: jenkins-server
extends:
file: ./ci-box-jenkins/docker-compose.yml
service: jenkins
build:
args:
version: lts
admin_username: admin
admin_password: password
extra_packages: "build-essential gcc-aarch64-linux-gnu bc ftp gettext-base bison flex libssl-dev file cpio rsync"
plugins: "git mailer git-parameter build-timeout publish-over-ftp"
volumes:
- ./overlays/jenkins/var/jenkins_home/jobs:/var/jenkins_home/jobs
ports:
- "8001:8083"
# SQUAD - Software Quality Dashboard
squad:
hostname: squad
extends:
file: ./ci-box-squad/docker-compose.yml
service: squad
build:
args:
admin_username: admin
admin_password: password
admin_token: "2d703e793ea345efdbab52d95fe33ec715bcc2d4"
group: "Linaro"
projects: "buildroot"
# Lava test execution backend
lava_server: lava.server
lava_username: admin
lava_token: "d0siRzClNHWNtUYJbpmjOPEyPp0QLCKqQtDGTftN"
ports: # expose http to outside
- "8000:80"