Skip to content

Commit 05c24a5

Browse files
committed
tox.ini: get rid of typoed healthcheck stanzas
Since the actual configuration should be `healthcheck_cmd`, there's probably no good reason to keep no-op configuration in tox.ini.
1 parent 7c6a812 commit 05c24a5

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

tox.ini

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ name = master
2121
image = redisfab/redis-py:6.2.6-buster
2222
ports =
2323
6379:6379/tcp
24-
healtcheck_cmd = python -c "import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',6379)) else False"
2524
volumes =
2625
bind:rw:{toxinidir}/docker/redis6.2/master/redis.conf:/redis.conf
2726

@@ -32,7 +31,6 @@ links =
3231
master:master
3332
ports =
3433
6380:6380/tcp
35-
healtcheck_cmd = python -c "import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',6380)) else False"
3634
volumes =
3735
bind:rw:{toxinidir}/docker/redis6.2/replica/redis.conf:/redis.conf
3836

@@ -41,7 +39,6 @@ name = unstable
4139
image = redisfab/redis-py:unstable-bionic
4240
ports =
4341
6378:6378/tcp
44-
healtcheck_cmd = python -c "import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',6378)) else False"
4542
volumes =
4643
bind:rw:{toxinidir}/docker/unstable/redis.conf:/redis.conf
4744

@@ -55,7 +52,6 @@ ports =
5552
6375:6375/tcp
5653
6376:6376/tcp
5754
6377:6377/tcp
58-
healtcheck_cmd = python -c "import socket;print(True) if all([0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',port)) for port in range(6372,6377)]) else False"
5955
volumes =
6056
bind:rw:{toxinidir}/docker/unstable_cluster/redis.conf:/redis.conf
6157

@@ -66,7 +62,6 @@ links =
6662
master:master
6763
ports =
6864
26379:26379/tcp
69-
healtcheck_cmd = python -c "import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',26379)) else False"
7065
volumes =
7166
bind:rw:{toxinidir}/docker/redis6.2/sentinel/sentinel_1.conf:/sentinel.conf
7267

@@ -77,7 +72,6 @@ links =
7772
master:master
7873
ports =
7974
26380:26380/tcp
80-
healtcheck_cmd = python -c "import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',26380)) else False"
8175
volumes =
8276
bind:rw:{toxinidir}/docker/redis6.2/sentinel/sentinel_2.conf:/sentinel.conf
8377

@@ -88,7 +82,6 @@ links =
8882
master:master
8983
ports =
9084
26381:26381/tcp
91-
healtcheck_cmd = python -c "import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',26381)) else False"
9285
volumes =
9386
bind:rw:{toxinidir}/docker/redis6.2/sentinel/sentinel_3.conf:/sentinel.conf
9487

@@ -97,7 +90,6 @@ name = redismod
9790
image = redislabs/redismod:edge
9891
ports =
9992
36379:6379/tcp
100-
healtcheck_cmd = python -c "import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',36379)) else False"
10193

10294
[docker:redis_cluster]
10395
name = redis_cluster
@@ -109,7 +101,6 @@ ports =
109101
16382:16382/tcp
110102
16383:16383/tcp
111103
16384:16384/tcp
112-
healtcheck_cmd = python -c "import socket;print(True) if all([0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',port)) for port in range(16379,16384)]) else False"
113104
volumes =
114105
bind:rw:{toxinidir}/docker/cluster/redis.conf:/redis.conf
115106

@@ -123,14 +114,12 @@ ports =
123114
46382:46382/tcp
124115
46383:46383/tcp
125116
46384:46384/tcp
126-
healtcheck_cmd = python -c "import socket;print(True) if all([0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',port)) for port in range(46379,46384)]) else False"
127117
volumes =
128118
bind:rw:{toxinidir}/docker/redismod_cluster/redis.conf:/redis.conf
129119

130120
[docker:stunnel]
131121
name = stunnel
132122
image = redisfab/stunnel:latest
133-
healtcheck_cmd = python -c "import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',6666)) else False"
134123
links =
135124
master:master
136125
ports =
@@ -144,7 +133,6 @@ name = redis5_master
144133
image = redisfab/redis-py:5.0-buster
145134
ports =
146135
6382:6382/tcp
147-
healtcheck_cmd = python -c "import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',6382)) else False"
148136
volumes =
149137
bind:rw:{toxinidir}/docker/redis5/master/redis.conf:/redis.conf
150138

@@ -155,7 +143,6 @@ links =
155143
redis5_master:redis5_master
156144
ports =
157145
6383:6383/tcp
158-
healtcheck_cmd = python -c "import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',6383)) else False"
159146
volumes =
160147
bind:rw:{toxinidir}/docker/redis5/replica/redis.conf:/redis.conf
161148

@@ -166,7 +153,6 @@ links =
166153
redis5_master:redis5_master
167154
ports =
168155
26382:26382/tcp
169-
healtcheck_cmd = python -c "import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',26382)) else False"
170156
volumes =
171157
bind:rw:{toxinidir}/docker/redis5/sentinel/sentinel_1.conf:/sentinel.conf
172158

@@ -177,7 +163,6 @@ links =
177163
redis5_master:redis5_master
178164
ports =
179165
26383:26383/tcp
180-
healtcheck_cmd = python -c "import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',26383)) else False"
181166
volumes =
182167
bind:rw:{toxinidir}/docker/redis5/sentinel/sentinel_2.conf:/sentinel.conf
183168

@@ -188,7 +173,6 @@ links =
188173
redis5_master:redis5_master
189174
ports =
190175
26384:26384/tcp
191-
healtcheck_cmd = python -c "import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',26384)) else False"
192176
volumes =
193177
bind:rw:{toxinidir}/docker/redis5/sentinel/sentinel_3.conf:/sentinel.conf
194178

@@ -202,7 +186,6 @@ ports =
202186
16388:16388/tcp
203187
16389:16389/tcp
204188
16390:16390/tcp
205-
healtcheck_cmd = python -c "import socket;print(True) if all([0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',port)) for port in range(16385,16390)]) else False"
206189
volumes =
207190
bind:rw:{toxinidir}/docker/cluster/redis.conf:/redis.conf
208191

@@ -211,7 +194,6 @@ name = redis4_master
211194
image = redisfab/redis-py:4.0-buster
212195
ports =
213196
6381:6381/tcp
214-
healtcheck_cmd = python -c "import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',6381)) else False"
215197
volumes =
216198
bind:rw:{toxinidir}/docker/redis4/master/redis.conf:/redis.conf
217199

@@ -222,7 +204,6 @@ links =
222204
redis4_master:redis4_master
223205
ports =
224206
26385:26385/tcp
225-
healtcheck_cmd = python -c "import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',26385)) else False"
226207
volumes =
227208
bind:rw:{toxinidir}/docker/redis4/sentinel/sentinel_1.conf:/sentinel.conf
228209

@@ -233,7 +214,6 @@ links =
233214
redis4_master:redis4_master
234215
ports =
235216
26386:26386/tcp
236-
healtcheck_cmd = python -c "import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',26386)) else False"
237217
volumes =
238218
bind:rw:{toxinidir}/docker/redis4/sentinel/sentinel_2.conf:/sentinel.conf
239219

@@ -244,7 +224,6 @@ links =
244224
redis4_master:redis4_master
245225
ports =
246226
26387:26387/tcp
247-
healtcheck_cmd = python -c "import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',26387)) else False"
248227
volumes =
249228
bind:rw:{toxinidir}/docker/redis4/sentinel/sentinel_3.conf:/sentinel.conf
250229

@@ -258,7 +237,6 @@ ports =
258237
16394:16394/tcp
259238
16395:16395/tcp
260239
16396:16396/tcp
261-
healtcheck_cmd = python -c "import socket;print(True) if all([0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',port)) for port in range(16391,16396)]) else False"
262240
volumes =
263241
bind:rw:{toxinidir}/docker/cluster/redis.conf:/redis.conf
264242

0 commit comments

Comments
 (0)