diff --git a/docker/Dockerfile b/docker/Dockerfile index 033b5e0..47ba5ab 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -17,9 +17,11 @@ RUN apt-get update && apt-get install -y wget RUN apt-get update && apt-get install -y lsof dnsutils netcat-openbsd net-tools curl jq # used by integration tests # ruby and jazzy for docs generation -RUN apt-get update && apt-get install -y ruby ruby-dev libsqlite3-dev +RUN apt-get update && apt-get install -y ruby ruby-dev libsqlite3-dev build-essential +# switch off gem docs building +RUN echo "gem: --no-document" > ~/.gemrc # jazzy no longer works on xenial as ruby is too old. -RUN if [ "${ubuntu_version}" != "xenial" ] ; then gem install jazzy --no-ri --no-rdoc ; fi +RUN if [ "${ubuntu_version}" != "xenial" ] ; then gem install jazzy; fi # tools RUN mkdir -p $HOME/.tools diff --git a/docker/docker-compose.2004.54.yaml b/docker/docker-compose.2004.54.yaml new file mode 100644 index 0000000..e19d29e --- /dev/null +++ b/docker/docker-compose.2004.54.yaml @@ -0,0 +1,46 @@ +version: "3" + +services: + + runtime-setup: + image: swift-nio-http2:20.04-5.4 + build: + args: + base_image: "swiftlang/swift:nightly-5.4-focal" + ubuntu_version: "focal" + swift_version: "5.4" + h2spec_version: "2.2.1" + + unit-tests: + image: swift-nio-http2:20.04-5.4 + + integration-tests: + image: swift-nio-http2:20.04-5.4 + environment: + - MAX_ALLOCS_ALLOWED_create_client_stream_channel=58000 + - MAX_ALLOCS_ALLOWED_hpack_decoding=5050 + - MAX_ALLOCS_ALLOWED_client_server_request_response=303000 + - MAX_ALLOCS_ALLOWED_client_server_h1_request_response=342000 + - MAX_ALLOCS_ALLOWED_1k_requests_interleaved=53000 + - MAX_ALLOCS_ALLOWED_1k_requests_noninterleaved=52000 + - MAX_ALLOCS_ALLOWED_stream_teardown_100_concurrent=364000 + + performance-test: + image: swift-nio-http2:20.04-5.4 + + h2spec: + image: swift-nio-http2:20.04-5.4 + + test: + image: swift-nio-http2:20.04-5.4 + environment: + - MAX_ALLOCS_ALLOWED_create_client_stream_channel=58000 + - MAX_ALLOCS_ALLOWED_hpack_decoding=5050 + - MAX_ALLOCS_ALLOWED_client_server_request_response=303000 + - MAX_ALLOCS_ALLOWED_client_server_h1_request_response=342000 + - MAX_ALLOCS_ALLOWED_1k_requests_interleaved=53000 + - MAX_ALLOCS_ALLOWED_1k_requests_noninterleaved=52000 + - MAX_ALLOCS_ALLOWED_stream_teardown_100_concurrent=364000 + + shell: + image: swift-nio-http2:20.04-5.4