Skip to content

Commit 8d86d38

Browse files
committed
docker cleanups
1 parent 698082e commit 8d86d38

File tree

4 files changed

+41
-8
lines changed

4 files changed

+41
-8
lines changed

docker/docker-compose.2004.55.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ services:
1111

1212
test:
1313
image: swift-metrics:20.04-5.5
14-
environment: []
14+
environment:
15+
- FORCE_TEST_DISCOVERY=--enable-test-discovery
1516
#- SANITIZER_ARG=--sanitize=thread
1617

1718
shell:

docker/docker-compose.2004.56.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: "3"
2+
3+
services:
4+
5+
runtime-setup:
6+
image: swift-metrics:20.04-5.6
7+
build:
8+
args:
9+
ubuntu_version: "focal"
10+
swift_version: "5.6"
11+
12+
test:
13+
image: swift-metrics:20.04-5.6∂
14+
environment:
15+
- FORCE_TEST_DISCOVERY=--enable-test-discovery
16+
#- SANITIZER_ARG=--sanitize=thread
17+
18+
shell:
19+
image: swift-metrics:20.04-5.6

docker/docker-compose.2004.57.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: "3"
2+
3+
services:
4+
5+
runtime-setup:
6+
image: swift-metrics:20.04-5.7
7+
build:
8+
args:
9+
ubuntu_version: "focal"
10+
swift_version: "5.7"
11+
12+
test:
13+
image: swift-metrics:20.04-5.7
14+
environment:
15+
- FORCE_TEST_DISCOVERY=--enable-test-discovery
16+
#- SANITIZER_ARG=--sanitize=thread
17+
18+
shell:
19+
image: swift-metrics:20.04-5.7

docker/docker-compose.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,9 @@ services:
2626
<<: *common
2727
command: /bin/bash -xcl "./scripts/soundness.sh"
2828

29-
docs:
30-
<<: *common
31-
environment:
32-
- CI
33-
command: /bin/bash -xcl "./scripts/generate_docs.sh"
34-
3529
test:
3630
<<: *common
37-
command: /bin/bash -xcl "swift test -Xswiftc -warnings-as-errors $${SANITIZER_ARG-}"
31+
command: /bin/bash -xcl "swift test -Xswiftc -warnings-as-errors $${FORCE_TEST_DISCOVERY-} $${SANITIZER_ARG-}"
3832

3933
# util
4034

0 commit comments

Comments
 (0)