forked from OpenCodeFoundation/eSchool
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose-test.yml
45 lines (40 loc) · 1.33 KB
/
docker-compose-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
version: "3.5"
services:
sql.data.test:
image: mcr.microsoft.com/mssql/server:2019-latest
enrolling.api.test:
image: ${REGISTRY:-eschool}/enrolling.api.test:${TAG:-latest}
build:
context: .
dockerfile: src/Services/Enrolling/Enrolling.API/Dockerfile
target: unittest
volumes:
- ${BUILD_ARTIFACTSTAGINGDIRECTORY:-./tests-results/}:/tests
enrolling.api.functional-test:
image: ${REGISTRY:-eschool}/enrolling.api.functional-test:${TAG:-latest}
build:
context: .
dockerfile: src/Services/Enrolling/Enrolling.API/Dockerfile
target: functionaltest
depends_on:
- sql.data.test
volumes:
- ${BUILD_ARTIFACTSTAGINGDIRECTORY:-./tests-results/}:/tests
joining.api.test:
image: ${REGISTRY:-eschool}/joining.api.test:${TAG:-latest}
build:
context: .
dockerfile: src/Services/Joining/Joining.API/Dockerfile
target: unittest
volumes:
- ${BUILD_ARTIFACTSTAGINGDIRECTORY:-./tests-results/}:/tests
joining.api.functional-test:
image: ${REGISTRY:-eschool}/joining.api.functional-test:${TAG:-latest}
build:
context: .
dockerfile: src/Services/Joining/Joining.API/Dockerfile
target: functionaltest
depends_on:
- sql.data.test
volumes:
- ${BUILD_ARTIFACTSTAGINGDIRECTORY:-./tests-results/}:/tests