mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-25 08:21:07 +00:00
23fae633ca
This avoids the need to rebuild the environment when making code changes and running integration tests Change-type: minor
21 lines
434 B
YAML
21 lines
434 B
YAML
version: '2.3'
|
|
|
|
services:
|
|
balena-supervisor-sut:
|
|
build:
|
|
context: ./
|
|
dockerfile: Dockerfile.template
|
|
target: test
|
|
args:
|
|
ARCH: ${ARCH:-amd64}
|
|
environment:
|
|
LIVEPUSH: '1'
|
|
volumes:
|
|
- './src:/usr/src/app/src'
|
|
sut:
|
|
command: sleep infinity
|
|
volumes:
|
|
- './.mochapodrc.yml:/usr/src/app/.mochapodrc.yml'
|
|
- './src:/usr/src/app/src'
|
|
- './test:/usr/src/app/test'
|