-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml
29 lines (27 loc) · 1005 Bytes
/
docker-compose.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
# this file will run a testrunner against the specified image
# run it with:
# docker-compose up --exit-code-from testrunner
sdk_test_server:
image: sdk_test_server
#build: .
environment:
- MBED_CLOUD_SDK_HOST=${MBED_CLOUD_SDK_HOST}
- MBED_CLOUD_SDK_API_KEY=${MBED_CLOUD_SDK_API_KEY}
volumes:
- ./results:/testserver/build_logs/
- ./build/coverage-results:/testserver/build/coverage-results
- ./test_fixtures:/testserver/test_fixtures
testrunner:
#build: tests/mbed-cloud-sdk-testrunner
image: ${TESTRUNNER_DOCKER_IMAGE}
environment:
- TEST_SERVER_URL=http://sdk_test_server:5000
- MBED_CLOUD_SDK_HOST=${MBED_CLOUD_SDK_HOST}
- MBED_CLOUD_SDK_API_KEY=${MBED_CLOUD_SDK_API_KEY}
#folder on test server to get test files from
- TEST_FIXTURES_DIR=/testserver/test_fixtures
links:
- sdk_test_server
volumes:
- ./results:/runner/results
- ./test_fixtures:/runner/test_fixtures