-
-
Notifications
You must be signed in to change notification settings - Fork 58
/
docker-compose.circle.yml
145 lines (131 loc) · 3 KB
/
docker-compose.circle.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
version: "3.8"
services:
focal:
image: quay.io/stackstorm/packagingrunner
extends:
file: docker-compose.override.yml
service: suite-compose
environment:
- BUILDNODE=focalbuild
- TESTNODE=focaltest
- ST2_PACKAGES=st2
links:
- focalbuild
- focaltest
- rabbitmq
- mongodb
- redis
jammy:
image: quay.io/stackstorm/packagingrunner
extends:
file: docker-compose.override.yml
service: suite-compose
environment:
- BUILDNODE=jammybuild
- TESTNODE=jammytest
- ST2_PACKAGES=st2
links:
- jammybuild
- jammytest
- rabbitmq
- mongodb
- redis
el8:
image: quay.io/stackstorm/packagingrunner
extends:
file: docker-compose.override.yml
service: suite-compose
environment:
- BUILDNODE=rockylinux8build
- TESTNODE=rockylinux8test
- ST2_PACKAGES=st2
links:
- rockylinux8build
- rockylinux8test
- rabbitmq
- mongodb
- redis
el9:
image: quay.io/stackstorm/packagingrunner
extends:
file: docker-compose.override.yml
service: suite-compose
environment:
- BUILDNODE=rockylinux9build
- TESTNODE=rockylinux9test
- ST2_PACKAGES=st2
links:
- rockylinux9build
- rockylinux9test
- rabbitmq
- mongodb
- redis
## Package build nodes
#
focalbuild:
image: stackstorm/packagingbuild:focal
volumes_from:
- st2-packages-vol
jammybuild:
image: stackstorm/packagingbuild:jammy
volumes_from:
- st2-packages-vol
rockylinux8build:
image: stackstorm/packagingbuild:rockylinux8
extends:
file: docker-compose.override.yml
service: volumes-compose
rockylinux9build:
image: stackstorm/packagingbuild:rockylinux9
extends:
file: docker-compose.override.yml
service: volumes-compose
## Package testing nodes
#
focaltest:
image: stackstorm/packagingtest:focal-systemd
privileged: true
volumes_from:
- st2-packages-vol
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
jammytest:
image: stackstorm/packagingtest:jammy-systemd
privileged: true
volumes_from:
- st2-packages-vol
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
rockylinux8test:
image: stackstorm/packagingtest:rockylinux8-systemd
privileged: true
cap_add:
- SYS_ADMIN
security_opt:
- seccomp:unconfined
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup
rockylinux9test:
image: stackstorm/packagingtest:rockylinux9-systemd
privileged: true
cap_add:
- SYS_ADMIN
security_opt:
- seccomp:unconfined
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup
rabbitmq:
image: rabbitmq:3.12-management
privileged: true
hostname: rabbit
ports:
- "15672:15672" # managment plugin port
- "5672:5672"
mongodb:
image: mongo:4.4
ports:
- "27017:27017"
redis:
image: redis:7.2.4
ports:
- "6379:6379"