Skip to content

Commit

Permalink
Add docker-compose file for Swift 5.9 (#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
yim-lee authored Apr 13, 2023
1 parent ec955b6 commit 6d021a4
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/docker-compose.2204.58.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ services:
image: swift-nio-http2:22.04-5.8
build:
args:
base_image: "swiftlang/swift:nightly-5.8-jammy"
ubuntu_version: "jammy"
swift_version: "5.8"
h2spec_version: "2.2.1"

unit-tests:
Expand Down
52 changes: 52 additions & 0 deletions docker/docker-compose.2204.59.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
version: "3"

services:

runtime-setup:
image: swift-nio-http2:22.04-5.9
build:
args:
base_image: "swiftlang/swift:nightly-5.9-jammy"
h2spec_version: "2.2.1"

unit-tests:
image: swift-nio-http2:22.04-5.9

integration-tests:
image: swift-nio-http2:22.04-5.9

performance-test:
image: swift-nio-http2:22.04-5.9

h2spec:
image: swift-nio-http2:22.04-5.9

documentation-check:
image: swift-nio-http2:22.04-5.9

test:
image: swift-nio-http2:22.04-5.9
environment:
- MAX_ALLOCS_ALLOWED_1k_requests_inline_interleaved=35150
- MAX_ALLOCS_ALLOWED_1k_requests_inline_noninterleaved=34100
- MAX_ALLOCS_ALLOWED_1k_requests_interleaved=41150
- MAX_ALLOCS_ALLOWED_1k_requests_noninterleaved=40100
- MAX_ALLOCS_ALLOWED_client_server_h1_request_response=292050
- MAX_ALLOCS_ALLOWED_client_server_h1_request_response_inline=281050
- MAX_ALLOCS_ALLOWED_client_server_request_response=261050
- MAX_ALLOCS_ALLOWED_client_server_request_response_inline=256050
- MAX_ALLOCS_ALLOWED_client_server_request_response_many=1206050
- MAX_ALLOCS_ALLOWED_client_server_request_response_many_inline=901050
- MAX_ALLOCS_ALLOWED_create_client_stream_channel=39050
- MAX_ALLOCS_ALLOWED_create_client_stream_channel_inline=39050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form=200050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form_trimming_whitespace=200050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form_trimming_whitespace_from_long_string=300050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form_trimming_whitespace_from_short_string=200050
- MAX_ALLOCS_ALLOWED_hpack_decoding=5050
- MAX_ALLOCS_ALLOWED_stream_teardown_100_concurrent=292850
- MAX_ALLOCS_ALLOWED_stream_teardown_100_concurrent_inline=292150
- IMPORT_CHECK_ARG=--explicit-target-dependency-import-check error

shell:
image: swift-nio-http2:22.04-5.9

0 comments on commit 6d021a4

Please sign in to comment.