Skip to content

Commit 589a16e

Browse files
weissiLukasa
andauthored
docker setup for main nightlies (#1752)
Co-authored-by: Cory Benfield <lukasa@apple.com>
1 parent 97919c9 commit 589a16e

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
version: "3"
2+
3+
services:
4+
5+
runtime-setup:
6+
image: swift-nio:20.04-main
7+
build:
8+
args:
9+
base_image: "swiftlang/swift:nightly-main-focal"
10+
ubuntu_version: "focal"
11+
12+
unit-tests:
13+
image: swift-nio:20.04-main
14+
15+
integration-tests:
16+
image: swift-nio:20.04-main
17+
18+
test:
19+
image: swift-nio:20.04-main
20+
environment:
21+
- MAX_ALLOCS_ALLOWED_1000_addHandlers=47050
22+
- MAX_ALLOCS_ALLOWED_1000_addHandlers_sync=40050
23+
- MAX_ALLOCS_ALLOWED_1000_addRemoveHandlers_handlercontext=9035
24+
- MAX_ALLOCS_ALLOWED_1000_addRemoveHandlers_handlername=9035
25+
- MAX_ALLOCS_ALLOWED_1000_addRemoveHandlers_handlertype=9035
26+
- MAX_ALLOCS_ALLOWED_1000_autoReadGetAndSet=29050
27+
- MAX_ALLOCS_ALLOWED_1000_autoReadGetAndSet_sync=50
28+
- MAX_ALLOCS_ALLOWED_1000_getHandlers=12050
29+
- MAX_ALLOCS_ALLOWED_1000_getHandlers_sync=50
30+
- MAX_ALLOCS_ALLOWED_1000_reqs_1_conn=30540
31+
- MAX_ALLOCS_ALLOWED_1000_tcpbootstraps=4100
32+
- MAX_ALLOCS_ALLOWED_1000_tcpconnections=181050 # regression from 5.3 which was 179010
33+
- MAX_ALLOCS_ALLOWED_1000_udpbootstraps=2000
34+
- MAX_ALLOCS_ALLOWED_1000_udpconnections=102050 # regression from 5.3 which was 101050
35+
- MAX_ALLOCS_ALLOWED_1000_udp_reqs=16050
36+
- MAX_ALLOCS_ALLOWED_1_reqs_1000_conn=473050 # regression from 5.3 which was 471050
37+
- MAX_ALLOCS_ALLOWED_bytebuffer_lots_of_rw=2100
38+
- MAX_ALLOCS_ALLOWED_creating_10000_headers=100
39+
- MAX_ALLOCS_ALLOWED_decode_1000_ws_frames=2000
40+
- MAX_ALLOCS_ALLOWED_encode_1000_ws_frames_holding_buffer=1000
41+
- MAX_ALLOCS_ALLOWED_encode_1000_ws_frames_holding_buffer_with_space=1000
42+
- MAX_ALLOCS_ALLOWED_encode_1000_ws_frames_new_buffer=3050
43+
- MAX_ALLOCS_ALLOWED_encode_1000_ws_frames_new_buffer_with_space=3050
44+
- MAX_ALLOCS_ALLOWED_future_lots_of_callbacks=75010
45+
- MAX_ALLOCS_ALLOWED_modifying_1000_circular_buffer_elements=50
46+
- MAX_ALLOCS_ALLOWED_modifying_byte_buffer_view=2010
47+
- MAX_ALLOCS_ALLOWED_ping_pong_1000_reqs_1_conn=4440
48+
- MAX_ALLOCS_ALLOWED_read_10000_chunks_from_file=190500
49+
- MAX_ALLOCS_ALLOWED_schedule_10000_tasks=90050
50+
- MAX_ALLOCS_ALLOWED_scheduling_10000_executions=20150
51+
- MAX_ALLOCS_ALLOWED_udp_1000_reqs_1_conn=16250
52+
- MAX_ALLOCS_ALLOWED_udp_1_reqs_1000_conn=204050 # regression from 5.3 which was 202050
53+
# - SANITIZER_ARG=--sanitize=thread # TSan broken still
54+
55+
performance-test:
56+
image: swift-nio:20.04-main
57+
58+
shell:
59+
image: swift-nio:20.04-main
60+
61+
echo:
62+
image: swift-nio:20.04-main
63+
64+
http:
65+
image: swift-nio:20.04-main

0 commit comments

Comments
 (0)