Skip to content

Commit 2f71868

Browse files
authored
Merge pull request #57 from AlvinMooreSr/master
Added Tests Service to Snapshots and PRBs
2 parents 38c4d59 + bb62e79 commit 2f71868

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

docker/docker-compose.yaml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ services:
66
build:
77
context: .
88
dockerfile: Dockerfile
9+
networks: [test-net]
910

1011
fdbserver:
1112
image: fdb-standalone:0.0.2
@@ -15,6 +16,7 @@ services:
1516
- FDB_VERSION=6.0.15
1617
environment:
1718
- FDB_PORT=4500
19+
networks: [test-net]
1820

1921
build-setup: &build-setup
2022
<<: *common
@@ -26,14 +28,23 @@ services:
2628
build-release: &build-release
2729
<<: *build-setup
2830
environment:
29-
- MAKEPROCS=1
31+
- MAKEJOBS=1
3032
- RELEASE=1
31-
command: bash -cl 'mkdir -p build && cd build && cmake .. && make -j "$${MAKEJOBS}" && make package'
33+
command: bash -cl 'mkdir -p build && cd build && cmake .. && make -j "$${MAKEJOBS}" package'
3234

3335
build-snapshot: &build-snapshot
3436
<<: *build-setup
3537
environment:
36-
- MAKEPROCS=1
38+
- MAKEJOBS=1
39+
command: bash -cl 'mkdir -p build && cd build && cmake .. && make -j "$${MAKEJOBS}" package'
40+
41+
build-prb:
42+
<<: *build-snapshot
43+
44+
test-snapshot: &test-snapshot
45+
<<: *build-setup
46+
environment:
47+
- MAKEJOBS=1
3748
- FDB_HOST=fdbserver
3849
- FDB_PORT=4500
3950
command: bash -cl 'mkdir -p build && cd build && cmake .. && make -j "$${MAKEJOBS}" && cd .. && bash run-tests.bash'
@@ -42,9 +53,8 @@ services:
4253
depends_on:
4354
- fdbserver
4455

45-
46-
build-prb:
47-
<<: *build-snapshot
56+
test-prb:
57+
<<: *test-snapshot
4858

4959
shell:
5060
<<: *build-setup
@@ -55,3 +65,6 @@ services:
5565
- fdbserver
5666
depends_on:
5767
- fdbserver
68+
69+
networks:
70+
test-net:

0 commit comments

Comments
 (0)