replace redundant commands in docker-compose files with generic one (#1010)

Motivation: keep it DRY

Modifications: move redundant commands from 18-04-5.0 and 16.04-5.1 to the generic task definitions
This commit is contained in:
tomer doron authored and GitHub committed 2019-05-21 09:12:05 -07:00
1 parent 925ab655be
commit ed50f8a41e
3 files changed
+2 -6

No files matched your search

-2
View File
@@ -14,14 +14,12 @@ services:
unit-tests:
image: swift-nio:16.04-5.1
command: /bin/bash -cl "swift test -Xswiftc -warnings-as-errors"
integration-tests:
image: swift-nio:16.04-5.1
test:
image: swift-nio:16.04-5.1
command: /bin/bash -cl "swift test -Xswiftc -warnings-as-errors && ./scripts/integration_tests.sh"
environment:
- MAX_ALLOCS_ALLOWED_1000_reqs_1_conn=30600
- MAX_ALLOCS_ALLOWED_1_reqs_1000_conn=583100
-2
View File
@@ -12,14 +12,12 @@ services:
unit-tests:
image: swift-nio:18.04-5.0
command: /bin/bash -cl "swift test -Xswiftc -warnings-as-errors"
integration-tests:
image: swift-nio:18.04-5.0
test:
image: swift-nio:18.04-5.0
command: /bin/bash -cl "swift test -Xswiftc -warnings-as-errors && ./scripts/integration_tests.sh"
environment:
- MAX_ALLOCS_ALLOWED_1000_reqs_1_conn=31200
- MAX_ALLOCS_ALLOWED_1_reqs_1000_conn=1155050 # was: 685050
+2 -2
View File
@@ -25,7 +25,7 @@ services:
unit-tests:
<<: *common
command: /bin/bash -cl "swift test -Xswiftc -DNIO_CI_BUILD"
command: /bin/bash -cl "swift test -Xswiftc -warnings-as-errors"
integration-tests:
<<: *common
@@ -33,7 +33,7 @@ services:
test:
<<: *common
command: /bin/bash -cl "swift test -Xswiftc -DNIO_CI_BUILD && ./scripts/integration_tests.sh"
command: /bin/bash -cl "swift test -Xswiftc -warnings-as-errors && ./scripts/integration_tests.sh"
echo:
<<: *common