Skip to content

Commit 1250def

Browse files
author
Jeny Sadadia
committed
temp commit
Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>
1 parent 1153064 commit 1250def

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

test-docker-compose.yaml

+12-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ services:
88

99
api:
1010
container_name: 'test-kernelci-api'
11-
image: '${KERNELCI_API_IMAGE:-kernelci/staging-api}:${KERNELCI_API_TAG:-latest}'
11+
# image: '${KERNELCI_API_IMAGE:-kernelci/staging-api}:${KERNELCI_API_TAG:-latest}'
12+
build:
13+
context: 'docker/api'
14+
args:
15+
- REQUIREMENTS=${REQUIREMENTS:-requirements-dev.txt}
16+
- core_rev=${CORE_REV:-main}
1217
ports:
1318
- '${API_HOST_PORT:-8001}:8000'
1419
env_file:
@@ -50,7 +55,12 @@ services:
5055

5156
test:
5257
container_name: 'kernelci-api-tests'
53-
image: '${KERNELCI_API_IMAGE:-kernelci/staging-api}:${KERNELCI_API_TAG:-latest}'
58+
build:
59+
context: 'docker/api'
60+
args:
61+
- REQUIREMENTS=${REQUIREMENTS:-requirements-dev.txt}
62+
- core_rev=${CORE_REV:-main}
63+
# image: '${KERNELCI_API_IMAGE:-kernelci/staging-api}:${KERNELCI_API_TAG:-latest}'
5464
volumes:
5565
- './api:/home/kernelci/api'
5666
- './tests:/home/kernelci/tests'

0 commit comments

Comments
 (0)