-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
152 lines (138 loc) · 3.2 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
trusty:
image: quay.io/stackstorm/packagingrunner
extends:
file: docker-compose.override.yml
service: suite-compose
environment:
- BUILDNODE=trustybuild
- TESTNODE=trustytest
links:
- trustybuild
- trustytest
- rabbitmq
- mongodb
- postgres
xenial:
image: quay.io/stackstorm/packagingrunner
extends:
file: docker-compose.override.yml
service: suite-compose
environment:
- BUILDNODE=xenialbuild
- TESTNODE=xenialtest
links:
- xenialbuild
- xenialtest
- rabbitmq
- mongodb
- postgres
bionic:
image: quay.io/stackstorm/packagingrunner
extends:
file: docker-compose.override.yml
service: suite-compose
environment:
- BUILDNODE=bionicbuild
- TESTNODE=bionictest
# NOTE: We don't build st2mistral package so we don't mix Python 3
# (StackStorm components) and Python 2 (Mistral)
# Bionic will be first release without a Mistral
- ST2_PACKAGES=st2
links:
- bionicbuild
- bionictest
- rabbitmq
- mongodb
- postgres
el7:
image: quay.io/stackstorm/packagingrunner
extends:
file: docker-compose.override.yml
service: suite-compose
environment:
- BUILDNODE=centos7build
- TESTNODE=centos7test
links:
- centos7build
- centos7test
- rabbitmq
- mongodb
- postgres
el6:
image: quay.io/stackstorm/packagingrunner
extends:
file: docker-compose.override.yml
service: suite-compose
environment:
- ST2_PYTHON=1
- BUILDNODE=centos6build
- TESTNODE=centos6test
links:
- centos6build
- centos6test
- rabbitmq
- mongodb
- postgres
## Package build nodes
#
trustybuild:
image: stackstorm/packagingbuild:trusty
extends:
file: docker-compose.override.yml
service: volumes-compose
xenialbuild:
image: stackstorm/packagingbuild:xenial
extends:
file: docker-compose.override.yml
service: volumes-compose
bionicbuild:
image: stackstorm/packagingbuild:bionic
extends:
file: docker-compose.override.yml
service: volumes-compose
centos6build:
image: stackstorm/packagingbuild:centos6
extends:
file: docker-compose.override.yml
service: volumes-compose
centos7build:
image: stackstorm/packagingbuild:centos7
extends:
file: docker-compose.override.yml
service: volumes-compose
## Package testing nodes
#
trustytest:
image: stackstorm/packagingtest:trusty-upstart
extends:
file: docker-compose.override.yml
service: volumes-compose
xenialtest:
image: stackstorm/packagingtest:xenial-systemd
privileged: true
extends:
file: docker-compose.override.yml
service: volumes-compose
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
bionictest:
image: stackstorm/packagingtest:bionic-systemd
privileged: true
extends:
file: docker-compose.override.yml
service: volumes-compose
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
centos6test:
image: stackstorm/packagingtest:centos6-sshd
extends:
file: docker-compose.override.yml
service: volumes-compose
centos7test:
image: stackstorm/packagingtest:centos7-systemd
privileged: true
extends:
file: docker-compose.override.yml
service: volumes-compose
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup